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
-
watzon45877yIt certainly looks better. Look up AdonisJS. The style convention for the framework is to be semicolonless
-
tahnik387587y@Letmecode yeah no way I am going to ditch semicolons in a project where I have to collaborate with other people. Right I am working on a personal not-so-high priority client project. It's a good one to try out new things.
-
Froot75397y@Dacexi for loops still have their place.
For example when you want to copy a slice of array A to a new array B in an arbitrary order and care about the performance -
Reduce is a good tool for array copping arrays. unless your making some sort of game or the like. The performance difference​ is negligible.
-
@froot Reduce in js is used for much more than converting an array to a single value. it can do almost anything a for loop can.
Related Rants
Fuck it, I am not going to use any semicolon in my next javascript project.
undefined
edgy
js