45

#define TRUE false

Comments
  • 5
    Quick! Tag it wk47!
  • 1
    welcome to devRant!
  • 9
    That's not bad practice, that's just pure evil.
  • 1
    @Mvzes i can imagine some devs doing that just because they do not know how to invert booleans
  • 0
    Please no
  • 1
    @Mvzes Another pure evil:
    #define struct union

    P. S. : Tried on my on own code outta curiosity. Had it in a header. Forgot about it and didn't remove it. When revisited the code days later, I spent about 45 minutes debugging the code which I recall working fine earlier but is now showing 'bout 100 errors. Finally remembered about it and removed it.
Add Comment