Power of the Lead Developer
Labels:
c++,
engineer,
mercy,
programming
I was going through some shared library code here at Sony Media Software, looking for some string functions that I had seen before. As I was looking I came across some code that filled me with a giddy sense of wile. Our top of the engineering chain, the lead of leads, a guy named Curt, has special code sprinkled all throughout our code base. Stuff that protects us from shooting ourselves in the foot, months or years after having pulled the trigger, so to speak. Kinda like child safety mechanisms.
Anyway, the particular code that made me smile was this:
#if defined(CURT_NO_MERCY)No mercy indeed. Oh the power.
// a whole slew of deprecations of standard
// library functions such as strcpy
#endif
No comments:
Post a Comment