Slashdot Mirror


Gnome Goes JavaScript

mikejuk writes "Much to most programmers' shock and dismay Gnome has made JavaScript its main language for apps. It will still support other languages and it still supports C for libraries, but for apps it is JavaScript that rules. JavaScript seems to be a good choice for Gnome 3, as the shell UI is written in the language. It is also consistent with the use of JavaScript in WinRT, Chrome Apps, and FirefoxOS apps, and generally the rise of web apps. As you might expect, the initial reactions are of horror at the idea that JavaScript has been selected rather than the favorite language of the commenter. There is a great deal of ignorance about (and prejudice against) JavaScript, which is often regarded as an incomplete toy language rather than the elegant and sparse language that it actually is."

5 of 387 comments (clear)

  1. Re:Enough rope by SQLGuru · · Score: 5, Insightful

    TypeScript (http://www.typescriptlang.org/) adds some rigor on top of JavaScript that helps keep you from shooting your foot as often. It "compiles" down to JavaScript, so it shouldn't limit what you can do, but it makes it feel a little more like a real language.

    But I'm fine with JavaScript. I think that it's a decent first language since the bare minimum tools you need are on all of the devices you can buy today (you just need a text editor and a browser to get started).

  2. Elegant? by Tridus · · Score: 4, Insightful

    Javascript is about as elegant as an oil tanker. Considerable effort has gone into tools and libraries to make working in it suck less, but it's hard to wipe away the problems inherent in the design.

    --
    -- "So they told me that using the download page to download something was not something they anticipated." - Bill Gates
  3. Re:Enough rope by gstoddart · · Score: 5, Insightful

    C gives you all the rope you could ever want, wraps it wround your neck and encourages you to run very fast across a long, wobbly plank.

    I always like to think of it as being more that C leaves ropes, cliffs, pointy objects, and a few angry bears wandering around -- and it's up to the user to to look out for themselves.

    If you know how to navigate it, and keep your wits about you, you'll mostly be fine. But if you're running around with your eyes closed or don't have adult supervision, you could really get hurt.

    It doesn't actively come after you, but there's no safety nets either.

    --
    Lost at C:>. Found at C.
  4. Re:Enough rope by Anonymous Coward · · Score: 4, Insightful

    C gives you all the rope you could ever want, wraps it wround your neck and encourages you to run very fast across a long, wobbly plank.

    I'd rather take the OP's version.

    You could argue C gives you all the rope you need as well.

    with the qualifier that far too many people do not know how to handle that much rope, so in the process they get it knotted and accidentally wrapped around various things, neck included. But otherwise C does not actively wrap rope around necks, it just doesn't have anti-neck-wrapping safeties for ropes.

  5. Re:They should have gone with Python by squiggleslash · · Score: 4, Insightful

    If only they'd picked ${my favorite language} instead of ${language I don't like} - all of Slashdot.

    --
    You are not alone. This is not normal. None of this is normal.