Skip to content
loading...

re: Best Practice - Check if property exist and assign VIEW POST

TOP OF THREAD FULL DISCUSSION
re: i always use brackets because it is easyer to read and extend. for example, if you want to add another action inside the if statement, you need to...

I did indeed run into the case that I added another statement and missed the brackets :)
But overall I agree, was thinking there is a specific technical reason.

Thanks!

code of conduct - report abuse