ECMAScript 6 Is Officially a JavaScript Standard
rjmarvin writes: The ECMAScript 6 specification is now a standard. ES6 is the first major revision to the programming language since 1999 and its hallmark features include a revamped syntax featuring classes and modules. The Ecma General Assembly officially approved the specification at its June meeting in France, ECMAScript project editor Allen Wirfs-Brock announced.
This really marks the triumph of the newish and competent committee over the prior boneheads who wasted years trying to shove XHTML down our throats while adding features that were so poorly designed as to be nearly worthless. (ES5 marked the transition, the first cleanup after the prior mess, and ES7 will finally get us to where the language should have been 10+ years ago if not for all the time wasted by wankers with no clue about actual software development.)
I hate how legacy browsers act as stones around our necks.
Seems it will roll out peicmeal like other HTML JavaScript enhancements in the past
A quick google turned up this useful link.
Browser Compatibility
With many browsers you can use many features now (but not all).
Letter To Iran
Good overview here: http://es6-features.org
The big one is real classes. No more prototype boilerplate.
Pretty quickly. The Browser Wars are over; Chrome won.
(posted from iceweasel)
Since actually having a link to the spec in the announcement of the spec would be helpful...
http://www.ecma-international....
Surprised they got modules so quickly. Someday modules will eventually make it into C++ ...
* 2006 http://www.open-std.org/jtc1/s...
* 2014 http://www.open-std.org/jtc1/s...
* 2015 http://www.open-std.org/JTC1/S...
* 2015 (April) https://isocpp.org/files/paper...
* http://www.infoq.com/news/2015...
* http://stackoverflow.com/quest...
I see the "use strict" HACK is still optional ("An ECMAScript Script syntactic unit may be processed using either unrestricted or strict mode syntax and semantics. ") but at least in the case of a class is mandatory ("A ClassBody is always strict code.") Someday Javascript will stop being a shitty language. Sadly it won't be this year ... :-/
revamped syntax featuring classes
So they just gave up on the whole prototype system and duct taped class-based OO on top of it? That's actually kind of sad -- It was a special aspect of Javascript that set it apart from other languages, and homogenization is boring. I guess maybe today's "Javascript developers" just couldn't wrap their heads around it.
Here's a rundown of the new features if anyone else hasn't been following ES6 and is curious. A few of note are
scoped and const declaration via let and const,
lazy iterators and generators,
format/heredoc strings,
and varargs ala Lua.
Overall this looks like a good step in bringing Javascript closer to being on par with more modern languages.
"What do you despise? By this are you truly known." --Princess Irulan, Manual of Muad'Dib
/)
Whereas if it was approved in the US it would be covered in bacon grease and shoot up a church! Lazy stereotypes are fun!
I've used a lot of languages in the last 30 years, the only one I actively learned to hate was Javascript. Biggest problem being "everything is a global", followed by "Scope? We don't need no stinkin mouthwash", and finally having the behaviour be different on different machines because reasons.
After 6 months of schedule slipping and very poor quality we finally convinced management to let us use perl. Perl ain't perfect, but it's predictable.
While not "Officially" Codified as a Capital Crime, it is often sanctioned and applied by the state.
Apostasy in the Islamic Republic of Iran
From Wikipedia on Apostasy "Iran – illegal (death penalty)"
The catch here is it is often applied under the broad umbrella "blasphemy."
What else makes my journal entry a rant? Who is being more intellectually dishonest here?
Do you stand corrected that the death penalty is often given in Iran for apostasy, or do you have some evidence to the contrary proving that the hundreds of links from sources like wikipedia.org, et al are Western propaganda?
Rant implies it is not a well justified set of accusations and denouncements. As stated in the letter I have no truck with followers of Islam who allow those around them to believe and live as they want.
Letter To Iran