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
-
this will help dev that require to write certain quantity of lines aha
else {
// many more line of code that never get executed.
} -
Some people use this to make it "easy" to stop some code from being executed. Think this was 0 while developing the stuff above this condition.
-
meshbag288y@chickenbrain I have come across a statement like:
if(my string!='hello' || my string!='goodbye') {
} else {
// 2000 lines of code that will never execute here
}
They were consultants!
Related Rants
Found this on our project. I think that it is the best condition ever.
undefined
code
useless