This was raised in another thread, and I didn't want to bury the 
original issue with my comments ;)

However, I must say that there is too much of that 
#if 0
#endif 

type stuff in the SDK for my liking. It would be much better to replace 
all that with /* */. It makes it easier to see that the code in 
question is not being compiled, or executed.

Not that I feel in general compentent to give the good folks at Valve 
programming advice, I just don't think that doing that make it easier 
on maintainers or in this case us poor mod authors. :)

Perhaps there's a reason for doing this that escapes me though.

I know I've missed a couple in longer functions, and wondered why this 
code that looked valid wasn't getting executed... at least now I tend 
to comment out those blocks to make my life easier (green=not 
compiled/executed, duh!).

Ok, I'll stop being anal rententive now.

Cheers,
_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please visit:
http://list.valvesoftware.com/mailman/listinfo/hlcoders

Reply via email to