r/webdev • • Mar 31 '17

ES2018 First Look - it changes everything

https://www.youtube.com/watch?v=s-G_RZ4RJLU
162 Upvotes

31 comments sorted by

56

u/Fingebimus Mar 31 '17

It took me until the dot syntax to catch on

20

u/Tioo Mar 31 '17

I did not realize until the end... These tweets made it feel quite real

23

u/Meuss Mar 31 '17

Even there I was like "wtf... WTF!?" Well I got fooled quickly this year, it's not even 1 AM :-S

7

u/plughead666 Apr 01 '17

Yup. I was all ready to write a protracted rant about the stupidity of global variables and how scoped names had been a thing since forever.

3

u/Lord_Maverick_ Apr 01 '17

Yup I got fooled too!

3

u/rich97 Apr 01 '17

Oh my God thank you, when he was talking about how readable the new dot syntax I was in full-on trigger mode. You saves me from looking really stupid.

24

u/[deleted] Mar 31 '17

God dammit it's a fucking april fools joke

10

u/Tioo Mar 31 '17

I can't tell if you're mad or surprised

5

u/[deleted] Apr 01 '17

I'm mad. I really like all these features.

9

u/18A92 Apr 01 '17

I.m mad. I really like all these f.

4

u/z500 Apr 01 '17

W t f d y j f s a m. y l b. I h y k I g t o m c i t N S. a I b i i n s r o A. a I h o 3 c k. I a t i g w a I t t s i t e U a f. Y a n t m b j a t. I w w y t f o w p t l o w h n b s b o t E. m m f w. Y t y c g a w s t s t m o t I. T a. f. A w s I a c m s n o s a t U a y I i b t r n s y b p f t s. m. T s t w o t p l t y c y l. Y f d. k. I c b a. a. a I c k y i o s h w. a t j w m b h. N o a I e t i u c. b I h a t t e a o t U S M C a I w u i t i f e t w y m a o t f o t c. y l s. I o y c h k w u r y l “” c w a t b d u y. m y w h h y f t. B y c. y d. a n y p t p. y g i. I w s f a o y a y w d i i. Y f d. k.

1

u/18A92 Apr 01 '17

syntax error, missing . on line 1

1

u/[deleted] Apr 07 '17

Please tell me this was done with a script

1

u/keyboard_2387 Apr 01 '17

Yeah, I honestly think the dot notation should be extended to replace not just =()[]{}; but also all keywords. Would certainly save a lot of useless typing and shorten the code.

22

u/bonafido Apr 01 '17

oh my god by the end i had pretty much decided to quit web development and go learn C or something, right up until he said "april fools"... those tweets from people like Dan Abramov and Kyle Simpson really helped sell it too. well played, i totally fell for it, and i was pissed lol

20

u/[deleted] Apr 01 '17

Javascript is such a shit show that I was able to believe that these language "improvements" were real until the dot syntax reveal.

4

u/[deleted] Apr 01 '17

Lol got me

3

u/phpdevster full-stack Apr 01 '17

I can't wait for this. Smaller programs without the need to minify? Sign me up!

4

u/sundryTHIS Apr 01 '17 edited Apr 01 '17

ban april 1st i take it back! this is one of the first april fools i actually thought was pretty funny. maybe because it was soOoOo ridiculous that i never really took it seriously, but still, bravo.

1

u/FountainsOfFluids Apr 01 '17

Too funny. Laughed a lot.

But did people really not suspect it was a joke from the start, or is it just tradition to only post that you didn't catch on?

1

u/rich97 Apr 01 '17

For me it was all the tweets combined with the slow build up. By the end of the video I was so angry I had forgotten what date it was.

1

u/ButteryBall Apr 01 '17

Some of us are just gullible, but to be fair it was about 5pm cst when this video was uploaded, and I had no idea it was already the last day of March. Was wondering the whole time why they added support for a bunch of anti-patterns, but hey, jsx is a thing after years of the common practice being to seperate js and html.

1

u/hewholaughs Apr 01 '17

I'm nauseous

1

u/bmy78 Apr 02 '17

I really hope this is April Fools.

0

u/[deleted] Apr 01 '17

[deleted]

2

u/rich97 Apr 01 '17

Oh, hello Satan.

36

u/[deleted] Mar 31 '17 edited Mar 31 '17

[removed] — view removed comment

27

u/phpdevster full-stack Apr 01 '17

Syntax error. Unexpected '.' on line 2.

2

u/notfromkentohio Apr 01 '17

Now that's a helpful error

0

u/[deleted] Mar 31 '17

[deleted]

1

u/Tioo Mar 31 '17

By ES3018, we'll be writing code in binary