News for hackers. Stuff that matters.
Re:ECMAScript 2017 Language Specification by pi-rat on Tuesday July 11, 2017 @11:14AM (#14744846)
Really hate the naming for JS standards.. ES2017, ES8, ECMA-262. Way to confuse people :/
Re:ECMAScript 2017 Language Specification by ScottBurson on Tuesday July 11, 2017 @01:27PM (#14746064)
"The versions of Unix are numbered in a logical sequence: 5, 6, 6PWB, 7, 4.1, III, 4.3, V, and V.3." -- quoted from memory from The Unix-Haters Handbook

So you see, they're following long-standing industry practice :-)

Re:ECMAScript 2017 Language Specification by komali2 on Tuesday July 11, 2017 @02:55PM (#14746934)
Angular 1, angular 2, angular 2.1... Angular (note, Angular 2 is now Angular! And so is every version after this! Angular 1 still exists though).

Surface Pro. Surface Pro 2 (note: Surface Pro is now surface pro 1!), Surface Pro 3, Surface Pro 4, Surface Pro. By the way we also have Surfaces (1, 2, and 3?) as well as Surface Books, and Surface Laptops! :D

Android: here's a bunch of fucking candy

OS: here's a bunch of fucking animals. By the way, sometimes people call your macbooks 10,1 or some shit.

Re:ECMAScript 2017 Language Specification by smilekzs on Tuesday July 11, 2017 @04:09PM (#14747581)
> Android: here's a bunch of fucking candy

whose initials follow alphabetical order

Re:ECMAScript 2017 Language Specification by azernik on Tuesday July 11, 2017 @07:05PM (#14748823)
You're behind the times. OSX has moved on from animals to nature preserves. Much more logical.
Re:ECMAScript 2017 Language Specification by lvillani on Tuesday July 11, 2017 @03:38PM (#14747307)
Nitpick: "MacBookPro11,1" "Macmini7,1", etc refers to the hardware model: the first number being the machine's generation and the second one being its revision.
Re:ECMAScript 2017 Language Specification by ClassyJacket on Tuesday July 11, 2017 @04:34PM (#14747812)
iPad, iPad 2, The New iPad, iPad, iPad Air, iPad Air 2, iPad Pro, iPad
Re:ECMAScript 2017 Language Specification by bartread on Tuesday July 11, 2017 @02:13PM (#14746535)
The .NET and .NET Core version numbers are another minefield, and I still can't remember (and don't really care) what's what. Your choices are either to laugh or be filled with rage. I'm coming round to the first one having mostly opted for the second in recent months.
Re:ECMAScript 2017 Language Specification by int_19h on Tuesday July 11, 2017 @03:40PM (#14747322)
What's particularly weird about .NET version numbers? They're monotonically increasing, with the exception of .NET Core getting a reset to 1.0 (which kinda makes sense, since it's a different and incompatible product).
Re:ECMAScript 2017 Language Specification by ltowel on Tuesday July 11, 2017 @05:01PM (#14748025)
.Net Framework, .Net Core and .Net Standard all have different version numbers, which correspond to different things. In addition, since Core and Standard are both in the 1.Xs currently, it can be confusing. Finally, the .Net Core SDK is versioned differently from the run time, both somewhere in the low 1.Xs right now.

``` >dotnet Microsoft .NET Core Shared Framework Host Version : 1.1.0 Build : 928f77c4bc3f49d892459992fb6e1d5542cb5e86 ```

``` >dotnet --version 1.0.0-preview2-1-003177 ```

The version numbers aren't necessarily weird, but the versioning sure is.

Disclaimer: MS Employee who uses Dotnet, but doesn't work on it.

Re:ECMAScript 2017 Language Specification by skeletonjelly on Tuesday July 11, 2017 @07:24PM (#14748929)
Might be worth posting this

https://docs.microsoft.com/en-us/dotnet/standard/net-standar...

I should probably print it out

I was in version hell yesterday, targeting a standard (1.5) because I thought it would help me run as .NET Core 1 whilst supporting a 4.6.2 .NET Framework dll but that broke something else. It was a juggling game of trade offs

Re:ECMAScript 2017 Language Specification by int_19h on Wednesday July 12, 2017 @01:39AM (#14750342)
Ah, I keep forgetting about the Standard. This makes sense (as in, it does make less sense now that it makes sense).
Re:ECMAScript 2017 Language Specification by tmzt on Tuesday July 11, 2017 @03:56PM (#14747457)
Framework 1.4 > 4.7 > 4.6.1?
Re:ECMAScript 2017 Language Specification by reitanqild on Tuesday July 11, 2017 @04:14PM (#14747635)
Just copying another idea from Java I'd guess:

Java 1.4 -> Java 5.

(Yes, I'm a Java programmer)

Re:ECMAScript 2017 Language Specification by int_19h on Wednesday July 12, 2017 @01:40AM (#14750349)
1.4 is not really "greater than" 4.7, they're just two different parallel tracks.
Re:ECMAScript 2017 Language Specification by teraflop on Tuesday July 11, 2017 @07:50PM (#14749069)
Don't forget openSUSE: 13.1, 13.2, 42.1, 42.2, 42.3, 15.0
Re:ECMAScript 2017 Language Specification by SilasX on Tuesday July 11, 2017 @05:22PM (#14748204)
Xbox, Xbox 360, Xbox One.
Re:ECMAScript 2017 Language Specification by mraison on Tuesday July 11, 2017 @05:38PM (#14748316)
Windows 1, 2, 3, 95, 98, 2000, ME, XP, Vista, 7, 8, 10
Re:ECMAScript 2017 Language Specification by wwwigham on Tuesday July 11, 2017 @11:19AM (#14744894)
ES2017 is the conventional name now that there's annual publications of the spec. ES8 is someone reading the edition number on the document and trying to be terse. ECMA-262 is the formal name of the spec document, not the language the spec defines. All slightly different things, only one of which names the language itself, officially.
Re:ECMAScript 2017 Language Specification by jl6 on Tuesday July 11, 2017 @12:30PM (#14745523)
Which one is it that names the language officially?
Re:ECMAScript 2017 Language Specification by JeremyBanks on Tuesday July 11, 2017 @12:42PM (#14745650)
ECMAScript 2017, that's the name given by the speciation document, which is itself known officially as ECMA-262 edition 8.
Re:ECMAScript 2017 Language Specification by PrunJuice on Tuesday July 11, 2017 @12:32PM (#14745548)
So which name is the correct one?
Re:ECMAScript 2017 Language Specification by komali2 on Tuesday July 11, 2017 @04:42PM (#14747858)
Ecmascript 2017.
Re:ECMAScript 2017 Language Specification by gregmac on Tuesday July 11, 2017 @11:33AM (#14745018)
Is calling it "Javascript" even still correct, or should it be called "ECMAScript"? If someone says they write "Javascript using ES2017" are they talking utter nonsense?

I can find some references to "Javascript" being an implementation of ECMAScript, but doesn't appear to true [1]. Mozilla's implementation is SpiderMonkey, Google's is V8, and Microsoft has Chakra and JScript.

[1] https://en.wikipedia.org/wiki/ECMAScript#Implementations

Re:ECMAScript 2017 Language Specification by gsnedders on Tuesday July 11, 2017 @12:07PM (#14745298)
History time!

Netscape created a language which they called LiveScript when it first shipped in a beta build, largely influenced by Java. By the time of Netscape Navigator 2.0 beta 3, they had negotiated a license for the Java name from Sun and renamed the language JavaScript (and, as wamatt pointed out, Sun owned the JavaScript trademark, now owned by Oracle following the Sun acquisition).

IE3 shipped a reverse-engineered copy of JavaScript, which they called JScript because they didn't have a license to the JavaScript trademark.

Later in the same year that Netscape Navigator 2.0 and IE3 shipped, Netscape submitted a specification of their JavaScript language to Ecma. What followed, as far as I'm aware, was a bit of a debate about naming: JavaScript was basically out of the question due to it being a Sun trademark, JScript was a MS term that Netscape didn't want to legitimise, and hence the compromise was ECMAScript (why this uses the pre-1994 capitalisation of Ecma is a good question!).

So, essentially, JavaScript, JScript, and ECMAScript are three names for the same language.

This then gets a bit complicated as Netscape and then Mozilla referred to ECMAScript revisions as JavaScript versions, and then started adding non-standard extensions as new JavaScript versions, though they've basically killed that now.

Re:ECMAScript 2017 Language Specification by darylfritz on Tuesday July 11, 2017 @01:33PM (#14746103)
> So, essentially, JavaScript, JScript, and ECMAScript are three names for the same language.

This is a little wrong/misleading.

ECMAScript is the specification; JavaScript, JScript, and ActionScript, are various implementations of the specification. Each implementation provides additional features not described in ECMA specs, such as access to ActiveX and the local computer in JScript.

Re:ECMAScript 2017 Language Specification by gsnedders on Tuesday July 11, 2017 @02:01PM (#14746405)
Mozilla's view is that JavaScript is a language, of which they provide two implementations: SpiderMonkey and Rhino.[1]

As far as I'm aware, MS has used JScript to use to both their original implementation and the language it implements, as well as JScript.Net being both the implementation and the language it implements. I can't find any citation for this, however.

Adobe considers ActionScript a language, with implementations including AVM.[2]

[Edit:] I just realised you could also potentially mean "implementation" insofar as they define a host environment for ECMAScript, except JavaScript especially does not: just look at the difference between SpiderMonkey-in-a-browser and SpiderMonkey-on-the-CLI.

[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Abou... [2]: http://wwwimages.adobe.com/content/dam/Adobe/en/devnet/actio...

Re:ECMAScript 2017 Language Specification by TazeTSchnitzel on Tuesday July 11, 2017 @08:19PM (#14749199)
JavaScript is the de facto name of the language, at least the version used in web pages.
Re:ECMAScript 2017 Language Specification by bryanlarsen on Tuesday July 11, 2017 @01:03PM (#14745844)
"largely influenced by Java"

I believe that's backwards. Javascript was based on Scheme & Self, the Java resemblance is only superficial; added later for marketing purposes when they picked up the JavaScript name.

Re:ECMAScript 2017 Language Specification by gsnedders on Tuesday July 11, 2017 @02:03PM (#14746425)
The syntax was largely influenced by Java, although Scheme & Self influenced more of the semantics than Java did. From memory of what Brendan has written before, the language was meant to be, per managerial plans, "Java but a scripting language".
Re:ECMAScript 2017 Language Specification by goatlover on Tuesday July 11, 2017 @01:25PM (#14746048)
The syntax sure is much closer to Java than Scheme or Self. So was the obscuring of prototypal inheritance with the new keyword along with the Math object.
Re:ECMAScript 2017 Language Specification by komali2 on Tuesday July 11, 2017 @04:46PM (#14747895)
Unfortunately because of marketing and the (general) lack of technical expertise by recruiters, you gotta just put the whole kit and kaboodle on your resume. Mine looks like:

Javascript, JS, ES2015, ES2016, ES2017, ES5, ES6, ES7, ES8, Ecmascript 2015, Ecmascript 2016, Ecmascript 2017, HTML, HTML5, CSS, CSS3.... etc.

I worked as a recruiter so I know it's necessary because 1: recruiters ctrl+f like a mofo, and also your resume won't pop up on linkedin/ other sites if you don't hit their tags, and 2: recruiters will scan the "technologies" section to make sure you "have" the language that was given to them on their spec sheet.

Spec sheet will look like:

Web Developer 3+ years experience Knowledge of Javascript, HTML, CSS3

If you have CSS but not CSS3 the recruiter may not realize the difference (or may not realize that pretty much the most important thing on that spec is "Web Developer") and probably won't call.

So in short is calling it Javascript correct? shrug Nothing is correct in this mad world!

Re:ECMAScript 2017 Language Specification by droidist2 on Tuesday July 11, 2017 @05:11PM (#14748126)
I guess if we're supposed to keep our resumes to 1 page we have to use 4 point font?
Re:ECMAScript 2017 Language Specification by komali2 on Tuesday July 11, 2017 @05:21PM (#14748196)
I use 10, but yea. I mean the bit I just commented about can be smashed onto one to three lines at the top, not a big deal.
Re:ECMAScript 2017 Language Specification by nailer on Tuesday July 11, 2017 @12:39PM (#14745615)
Really short and accurate answer from People Who Know about why you don't see 'JavaScript' used as often:

- Oracle own the trademark on JavaScript (though buying what was left of Sun, through the Sun Netscape Alliance)

- Nobody trusts Oracle

A good idea proposed is just to call the language itself 'JS' and have it not stand for anything.

Re:ECMAScript 2017 Language Specification by wamatt on Tuesday July 11, 2017 @11:54AM (#14745191)
Sort of related: JS is officially written as "JavaScript" (yeah, ikr) and surprisingly the trademark is owned by Oracle.
Re:ECMAScript 2017 Language Specification by cerved on Tuesday July 11, 2017 @12:03PM (#14745268)
This goes back to the Netscape / SUN partnership. SUN allowed Netscape to use their trademarked name Java when they created JavaScript. Microsoft created JScript. When they decided to standardize the language into a spec, they did so with ECMA. The involved parties couldn't agree on a name so they settled on the highly original name ECMAScript as a compromise.

"Eich commented that "ECMAScript was always an unwanted trade name that sounds like a skin disease.""

Re:ECMAScript 2017 Language Specification by msla on Tuesday July 11, 2017 @12:54PM (#14745762)
And, just to round this out, SUN is all-caps (rarely) because it was originally an acronym for Stanford University Network.
Re:ECMAScript 2017 Language Specification by cerved on Friday July 14, 2017 @05:02PM (#14773159)
TIL and can now go to sleep
Re:ECMAScript 2017 Language Specification by BurningFrog on Tuesday July 11, 2017 @12:02PM (#14745260)
Think of it as JS 8 came out in 2017 and is defined in a document with an irrelevant ID.
Re:ECMAScript 2017 Language Specification by amelius on Tuesday July 11, 2017 @04:32PM (#14747794)
> Way to confuse people :/

JavaScript, that's a scriptable version of Java, right?

/sarcasm