Removing uninitialized_var()
Removing uninitialized_var()
Posted Dec 20, 2012 14:18 UTC (Thu) by clugstj (subscriber, #4020)In reply to: Removing uninitialized_var() by nevets
Parent article: Removing uninitialized_var()
NULL is better than "anything else". The reason to set a variable to a consistent invalid value is that then the code fails consistently. Consistent bugs are much easier to track down.
