#this_is_not_a_comment = 6;
What's New in JavaScript for 2019
11–20 of 85 posts
Re: What's New in JavaScript for 2019
#12And the funny thing is they are teaching all these at bootcamps and the students have a hard time trying to understand the concepts with so many variations in them.
There is however light at the end of the tunnel which I think where TypeScript is.
Re: What's New in JavaScript for 2019
#13#this_is_not_a_comment = 6;
Re: What's New in JavaScript for 2019
#14> There are a number of proposed changes to Classes, including field declarations, private methods and fields, and static methods and fields. So make it look full on like traditional OOP with classes, I guess? I suppose the prototype folks lost this debate.
Re: What's New in JavaScript for 2019
#15Re: What's New in JavaScript for 2019
#16The prime example of javascript unnecessary bloat is fetch api which is mere wrapper for ajax calls, was developed a while ago but still cannot be used because of lack of support in older runtimes.
Re: What's New in JavaScript for 2019
#17> There are a number of proposed changes to Classes, including field declarations, private methods and fields, and static methods and fields. So make it look full on like traditional OOP with classes, I guess? I suppose the prototype folks lost this debate.
Re: What's New in JavaScript for 2019
#18#this_is_not_a_comment = 6;
Yeah... it's ugly as heck but they're clearly trying to avoid new keywords. I hope the TypeScript folks can convince ECMA to adopt normal keywords like they use: https://www.typescriptlang.org/docs/handbook/classes.html
Re: What's New in JavaScript for 2019
#19I'm alerted that javascript tends to bloat the stdlib. Most of the features mentioned can be implmented as a external library. This is benefitial for users as they can switch the implenmentation and upgrade versions without waiting for all of their users to upgrade the runtime first. The prime example of javascript unnecessary bloat is fetch api which is mere wrapper for ajax calls, was developed a while ago but stil…
Re: What's New in JavaScript for 2019
#20The only thing that still blows my mind are the private fields and methods. I understand there has been plenty of debate about it, but have not followed the conversation. I really hope that syntax does not get finalized.