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!
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
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 add the brackets anyway.
itβs a best practice that will help you and the developes after you to better understand the logic.
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!