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
-
@SphinxGraph can you catch me up, my car is ready for the technican 😖I have to bring it in at evening time and need a transport back to the center of our life 😉
-
@VenomCLC in some languages you can remove them, if you are just making one call in that if/while/for/foreach method.
So
if(1 + 1 == 2)
System.exit(0);
is correct and would work.
if(1 + 1 == 100)
System.out.println("hey");
System.exit(0);
would only execute the exit function -
@Scrumplex
- There are 2 types of people...
- If you can...it doesn't mean you have to
- Readability should be preferred over fewer lines of code, you gave a good example for my statement :)
Related Rants
And here Ladies and Gentlemen, we see some Code I hatte to discover.
(Actually the same method get's called)
undefined
csharp
samesamesamebutdifferent
obsolete
kickass
overload