DEV Community

Discussion on: Using isset() and empty() hurts your code

Collapse
 
artemgoutsoul profile image
Artem Goutsoul

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.