Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
mrstebo9308yYeah...Resharper gets rid of them during "code cleanup" 😅.
Even if I have a one line loop, I'd rather have the curleys. But if you are using C# you can just use LINQ. Beautiful! 😍 -
slar3008yToo easy to make a mistake if they're missing. I will add them if I'm working on code that doesn't have them.
-
Me too. We all have our neuroses. Being developers, I'd say we have more than our fair share.
-
Have heard of famous Apple's "goto fail" bug? Please read this and you will always use brackets for one line ifs:
http://dwheeler.com/essays/...
BTW, I don't think using identation to create code blocks is the most attractive thing in Python. Maybe even a downside.
I hate conditions and loops without curly brackets
undefined