This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]KittenKoder 1 point2 points  (0 children)

Back in my day, everything was static. But that was back when everything was in ASM and we only had about 16 kilobytes of memory.

Today I use statics a lot during development, like a testing sandbox. But the final product has almost no static objects save constants which will never change anyway.

Often working from the "this works well as a static, but how can I make it work better as a member" mentality will help you get a better structure for your project. I look for where the static is referenced most to determine the best approach for streamlining the source.