DaemonForums  

Go Back   DaemonForums > DaemonForums.org > News

News News regarding BSD and related.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 10th October 2011
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default Google begins to detail Dart, a Javascript alternative

From http://h-online.com/-1358012

Quote:
Rumours that Google was working on a second language – to join Go – to take on JavaScript within the browser have now been confirmed as the company begins to give details of the Dart language, which it says is designed for "structured web programming". The details are available on a new web site, dartlang.org. The language designers say they had three goals: create a structured yet flexible language for web programming, make it familiar and natural to programmers, and offer high performance on modern devices.
__________________
You don't need to be a genius to debug a pf.conf firewall ruleset, you just need the guts to run tcpdump
Reply With Quote
  #2   (View Single Post)  
Old 10th October 2011
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

While Go got my interest, I must admit, Dart registered so little a blip that I've almost entirely ignored it's existence :-/
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
  #3   (View Single Post)  
Old 10th October 2011
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Real Name: Martin
Tcpdump Spy
 
Join Date: Apr 2008
Location: Netherlands
Posts: 2,243
Default

They kept the DOM API, which is arguably the worst of the entire Javascript experience.

Other than that, it doesn't seem a whole lot different to Javascript, other than that it actually *does* resemble Java (Javascript *does not*, it's the worst name in the history of computing and then some). This is not a good thing IMHO.

I don't feel that there's a lot wrong with Javascript as such, although many problems do surround it, many are not specific to Javascript. There's a bunch of stuff you'd better not use and some other "quirks", but nothing that can't be fixed (The ECMAScript 5 standard fixes quite a bit of that already).

One of the bigger pains is the DOM API, and Dart doesn't fix that. It also keeps the window global, and, as far as I can see, no separation of privileges surrounding it (Meaning stuff like ads and facebook apps can access it).

So ... I wonder what problems does this actually solve? It removes the best part of javascript (functional programming, really neat inheritance) and replaced those with the ugly Java-alternatives. Nice for the Java people, but does this make it a better programming environment?
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #4   (View Single Post)  
Old 11th October 2011
TerryP's Avatar
TerryP TerryP is offline
Arp Constable
 
Join Date: May 2008
Location: USofA
Posts: 1,547
Default

Probably for Google, it may be a better environment. Java is a big thing there AFAIK and obviously there is Android for what that is worth. I could also see Java EE people and students being interested.


Ironically CS, a couple months back I had to deal with someone who was checking his "Java runtime" version over a JS-typo we had, that pissed off IE. First of those I've met...
__________________
My Journal

Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Google open sources JavaScript testing tools J65nko News 0 3rd October 2011 09:13 AM
Yahoo updates YUI JavaScript framework J65nko News 0 17th January 2011 06:16 PM
qooxdoo 1.3 JavaScript framework released J65nko News 0 10th December 2010 11:47 PM
PHP and Javascript in action c0mrade Programming 0 23rd September 2008 12:40 AM
Opera Widget Javascript Troubles thejosephgrace General software and network 6 3rd August 2008 01:34 PM


All times are GMT. The time now is 07:10 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick