DEV Community

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

Collapse
 
aleksikauppila profile image
Aleksi Kauppila

Thanks Niko!

I enjoy using your approach as well! It forces the client to react in case i cannot deliver what i'm asked to. It does a really good job of exposing problems immediately when they happen. I do know that this approach doesn't warrant the admiration of every peer, not sure why though :D Well, hopefully someone will educate me on this one day.