2

ES6 is like a new different language ... Although it seems cool, but I always find ES6 converts the readable code into puzzles you need to solve!

Comments
  • 2
    ..what?
  • 0
  • 2
    ES6 shouldn't convert unless you use babel or if you minify it?
  • 0
    @stijnie2210 I mean when you write your code using ES6+ instead of ES5
  • 0
    I can see why if you've never used any of the concepts ES6 provides elsewhere.

    That said, keep at it and you'll learn to read the shorter, more functional ES6 syntax just as easily (if not more so) as the old equivalent.
  • 0
    @abdulmoniem Nah, your post still doesn't make any sense
  • 1
    Just give it time. Arrow functions become a second nature and it's a lot more readable than a random function () {} inside another function call.

    It helps if you write ES6 yourself.

    I though that the ternary was just pure evil that somebody at MIT decided to come up with to screw everybody... Now I miss that on Python and other primitive languages that lack that incredibly powerful operator!
Add Comment