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

TOP OF THREAD FULL DISCUSSION
re: Hi Aleksi, Good article, thank you. For me it turned something that was more than a "vague feeling" into reasonable position. There is one thing ...
 

instanceof should be used only when we expected find method might return several various instances.

This actually seems to be case with Laravel, which is what i had in mind when writing this. Bad interfaces and accidental complexity makes you do weird workarounds. :)

code of conduct - report abuse