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
-
Dude, as programmers, we encounter countless problems. Sometimes a simple hardcoded soln works. But those who might get OCD'd, like me, would spend an few minutes to understand how a compiler can understand the code. ☺
-
ridecar23857y@Memeamphetamine You have an explicit, easy to follow solution. I say that you have got it right. Loops may shorten the code but may also make it more confusing.
-
suprano38397yI say, comment that code out then try a loop. If it works delete the commented code. If not revert and find a better algorithm.
Related Rants
-
girljonah6girl friend: What kind of stripper would you want for a Bachelorette party?!? me: no stripper... girl friend...
-
CodaKairos151024 points of soldering !! Wasn't expecting that when I began, but it's quite interesting and the result wil...
-
kindofdev7Reading minified Javascript feels like entering The Matrix.
Decided to write an inverse matrix function and my eyes hurt already
undefined
matrix
4x4