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
-
@rigobertomolina actually, it's perfectly valid: if you don't put an opening curly bracket it puts the next line of code into the code block.
-
@rigobertomolina it's fine. It's bad practice and I only learned it because of a jackass professor
-
@rigobertomolina If your "if" statement is a one-liner, that is accepted as compilable.
-
carlos4178y@rigobertomolina just try to avoid it if possible. It confuses people who are new to the language.
-
When you see a screenshot with Twilight enabled and think "Woohoo I am not the only one"
Related Rants
DevRant, is your sorting algo sentient?
undefined
meta
algo
coincidence