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
-
ES6 is nice but I don't like everything. I honestly still prefer function statements over arrow functions
-
@liammartens I agree, but the function keyword is still usable and preferable in places. Arrow functions are really slick in callbacks, though, you have to admit.
-
@jlave215 yea they can be useful in situations but like at my college they force you to use arrow functions everywhere (even eventhandlers). Like functions are so much easier there since you have access to this and all that. I just think it becomes messy with only arrow functions
-
Is there any browser which supports it already or are we still bound to transpiling? :/
-
saarloos287y@liammartens arrow functions ARE NOT A REPLACEMENT for normal Js functions, for example, the this scope won't be overridden by the function
Related Rants
-
LrdShaper6Came home late last night and told my wife I'm skipping dinner to take a 1hr nap as it's going to be a long n...
-
cosecamper11This week was my Boss's wedding, So had most of the week off. Took the free time to solidify my understanding...
-
dontPanic9Just replaced a 300 line switch case with a simple if statement inside a foreach loop. Feels sooo good man
Writing ES6 JavaScript
undefined
feels good
oh yes