re: Using isset() and empty() hurts your code VIEW POST

FULL DISCUSSION
 

Good article! Not totally applicable for legacy code though. Until you have strict typing for properties, parameters and return values, not using isset() or empty() will make the code more verbose and actually less readable and less maintainable.

code of conduct - report abuse