News for hackers. Stuff that matters.
Re:JavaScript - It’s a Real Language by OmarIsmail on Friday October 01, 2010 @11:39AM (#1747356)
It's my personal opinion that Javascript is the language of the future. One could argue it's actually the language of today with everything becoming a rich Web App. I'm not a hardcore CompSci language expert by any means - have just used dozens of languages over the years - and Javascript has become my favourite language by a large margin. The simplicity and flexibility of it is just so appealing. It's the GTD done of programming languages. I should also add that I don't have too much experience with functional languages just a little dabbling in Scheme and Lisp.
Re:JavaScript - It’s a Real Language by powrtoch on Friday October 01, 2010 @01:38PM (#1747828)
Re:JavaScript - It’s a Real Language by contextfree on Friday October 01, 2010 @02:16PM (#1747976)
As I think some commenters noted, he's badly misunderstood what the W3C folks meant by "least power". JavaScript doesn't remotely qualify.
Re:JavaScript - It’s a Real Language by Cushman on Friday October 01, 2010 @11:42AM (#1747369)
You should try CoffeeScript.
Re:JavaScript - It’s a Real Language by OmarIsmail on Friday October 01, 2010 @12:32PM (#1747565)
One of the things that I absolutely love about Javascript is that it doesn't need to be compiled. Most of people's time is actually spent debugging and not core coding. Therefore I highly highly value the "code-deploy-test" loop being as tight and friction free as possible. And with Javascript that loop doesn't get much tighter.
Re:JavaScript - It’s a Real Language by Cushman on Friday October 01, 2010 @01:33PM (#1747812)
You too should try coffeescript— the compiler has a watcher built in that makes the compilation completely transparent. For me at least, the time saved vastly outweighs adding that one step to project setup.

I always commit both files (.coffee and .js) together, so I know for sure that the compiled version is up to date.

(With the disclaimer that the CoffeeScript syntax is still unstable, so it probably shouldn't be used for anything mission critical.)