|
|
|
View previous topic - View next topic |
Author |
Message |
DrunkenCoder Demon Hunter
Joined: 29 May 2002 Posts: 559
|
Posted: 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 |
|
|
|
Page 2 of 2 |
All times are GMT Goto page Previous 1, 2
|
|
|
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
|
|
|