Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror

Comment Re:Getting a bit . . . skeptical about huge boosts (Score 1) 120

Out of curiosity, why? It would seem to me that this (C#):

(x, y) => x + y

is much preferable to this (JS):

function(x, y) { return x + y; }

and is syntactically sugarlicious in JS 1.8 (MDC link) :

function(x, y) x + y

In the SSJS space, some frameworks support more recent JS specifications which include some more interesting language capabilities than lambda syntax. One of my favorites is destructuring assignment which is used often with the require() function in a way similar to Java's import statement.

New in JavaScript 1.7

New in JavaScript 1.8

Slashdot Top Deals

Everything should be made as simple as possible, but not simpler. -- Albert Einstein

Working...