RPGDXThe center of Indie-RPG gaming
Not logged in. [log in] [register]
 
 
Post new topic Reply to topic Goto page Previous  1, 2 
View previous topic - View next topic  
Author Message
DrunkenCoder
Demon Hunter


Joined: 29 May 2002
Posts: 559

PostPosted: Tue Nov 18, 2003 10:28 pm    Post subject: [quote]

Stack access is no slower tha heap access quite often the otherway around is true because local variables often have much better locality (no pun intended).

Also the globals singeltons debacle is quite insane.
globals and degenerated singletons have the same effect greater coupling between engine/code components and harder to maintain code. The argument that they are easier to code is a moot point, industry research shows that more than 80% of development time is spent maintaining code not writing new code and heavily coupled code is harder to maintain.

Often the slightly over engineered solution is using singleton and interfaces.
_________________
If there's life after death there is no death, if there's no death we never live. | ENTP
Back to top  
Post new topic Reply to topic Page 2 of 2 All times are GMT
Goto page Previous  1, 2 



Display posts from previous:   
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum