Click here to Skip to main content
15,916,030 members
Home / Discussions / C#
   

C#

 
AnswerRe: Switch versus an array of delegates Pin
Saksida Bojan11-Mar-10 5:43
Saksida Bojan11-Mar-10 5:43 
AnswerRe: Switch versus an array of delegates Pin
Keith Barrow11-Mar-10 5:54
professionalKeith Barrow11-Mar-10 5:54 
GeneralRe: Switch versus an array of delegates Pin
PIEBALDconsult11-Mar-10 6:45
mvePIEBALDconsult11-Mar-10 6:45 
AnswerRe: Switch versus an array of delegates Pin
harold aptroot11-Mar-10 6:00
harold aptroot11-Mar-10 6:00 
GeneralRe: Switch versus an array of delegates Pin
PIEBALDconsult11-Mar-10 6:53
mvePIEBALDconsult11-Mar-10 6:53 
GeneralRe: Switch versus an array of delegates Pin
harold aptroot11-Mar-10 8:23
harold aptroot11-Mar-10 8:23 
GeneralRe: Switch versus an array of delegates Pin
PIEBALDconsult11-Mar-10 10:12
mvePIEBALDconsult11-Mar-10 10:12 
GeneralRe: Switch versus an array of delegates Pin
harold aptroot11-Mar-10 10:44
harold aptroot11-Mar-10 10:44 
AnswerRe: Switch versus an array of delegates Pin
Luc Pattyn11-Mar-10 6:04
sitebuilderLuc Pattyn11-Mar-10 6:04 
GeneralRe: Switch versus an array of delegates Pin
Dave Kreskowiak11-Mar-10 6:38
mveDave Kreskowiak11-Mar-10 6:38 
GeneralRe: Switch versus an array of delegates Pin
Luc Pattyn11-Mar-10 6:58
sitebuilderLuc Pattyn11-Mar-10 6:58 
GeneralRe: Switch versus an array of delegates Pin
DaveyM6911-Mar-10 7:56
professionalDaveyM6911-Mar-10 7:56 
GeneralRe: Switch versus an array of delegates Pin
PIEBALDconsult11-Mar-10 8:03
mvePIEBALDconsult11-Mar-10 8:03 
GeneralRe: Switch versus an array of delegates Pin
Dave Kreskowiak11-Mar-10 9:11
mveDave Kreskowiak11-Mar-10 9:11 
GeneralRe: Switch versus an array of delegates Pin
dybs11-Mar-10 17:28
dybs11-Mar-10 17:28 
GeneralRe: Switch versus an array of delegates Pin
Luc Pattyn11-Mar-10 17:38
sitebuilderLuc Pattyn11-Mar-10 17:38 
There is nothing wrong as long as you are fully aware of the consequences. The first thing you probably loose is good readability and hence easy debugging and maintainability.

When in search of maximum performance, quite often object orientation is bad when the objects are very small and very many (too much overhead). Method calls are bad (they don't compute anything), conditionals are bad (they disturb normal program flow). Combine that and you may end up with large pieces of straight, hardly structured, code; and then there is a whole collection of hacks to choose from.

Whether all this is acceptable is matter of discussion.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]

I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that.

GeneralRe: Switch versus an array of delegates Pin
PIEBALDconsult11-Mar-10 6:41
mvePIEBALDconsult11-Mar-10 6:41 
QuestionCreating system of separation access rights Pin
Xgener11-Mar-10 5:26
Xgener11-Mar-10 5:26 
AnswerRe: Creating system of separation access rights Pin
Saksida Bojan11-Mar-10 5:56
Saksida Bojan11-Mar-10 5:56 
QuestionOutlook - with Hotmail account Pin
chiky_ancutza11-Mar-10 5:21
chiky_ancutza11-Mar-10 5:21 
QuestionGameServer Query A2S_PLAYER Problem Pin
Nokia555611-Mar-10 5:21
Nokia555611-Mar-10 5:21 
QuestionRotate an rectangle while moving the mouse... and watch it rotating Pin
nwl11-Mar-10 3:01
nwl11-Mar-10 3:01 
AnswerRe: Rotate an rectangle while moving the mouse... and watch it rotating Pin
OriginalGriff11-Mar-10 3:52
mveOriginalGriff11-Mar-10 3:52 
AnswerRe: Rotate an rectangle while moving the mouse... and watch it rotating Pin
dan!sh 11-Mar-10 4:28
professional dan!sh 11-Mar-10 4:28 
AnswerRe: Rotate an rectangle while moving the mouse... and watch it rotating Pin
Luc Pattyn11-Mar-10 5:18
sitebuilderLuc Pattyn11-Mar-10 5:18 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.