A critique of problematic C-style code written in C++, featuring unsafe array bounds checking through pointer arithmetic, meaningless sentinel values, and confusing inverted conditionals with malloc assignments. The code technically works but relies on execution patterns rather than defensive programming, making it frustrating
•3m read time• From thedailywtf.com
Sort: