Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Why preprocessor is good

Name: Anonymous 2012-05-02 13:13

It saves memory. This is fucking retarded:

static const unsigned int SHIT_TIER 0x02

Superior:
#define GOD_TIER 0x02

Four bytes here and there start piling up; pretty soon you might as well have used Ruby.

Name: Anonymous 2012-05-05 2:47

>>1
As recently as a decade ago I would have been inclined to agree in principle even if that's not how I do things. But now this is just silly talk in all but the most outlying of outlier cases. Plus I'm pretty certain >>8 is correct. If you are programming for an environment where something as small as even 4 MB makes a real difference then obviously you need to be aware of what you're doing and program accordingly. OP is probably a troll, but it kinda saddens/concerns me that in 2012 there are people who seriously still behave as if resources are as limited as they were in 1982.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List