JavaScript Creator Expands Predictions for 2.0


Mozilla CTO talks details, discusses plans for Web language


Email    print   
August 8, 2007 —  (Page 1 of 2)
JavaScript 2.0 won't be part of the religious wars that plague programming languages.

That's the message from Brendan Eich, CTO of Mozilla and the creator of JavaScript, who said that version 2.0 of the language won't take sides in the age-old battles between strongly typed and weakly typed languages, and between static and dynamic languages. To Eich, all of these practices and functionalities have their benefits, and he therefore plans to make sure JavaScript 2.0 has the best of all worlds.

Eich detailed the changes and plans on the docket for the next JavaScript version, now officially known as ECMAScript 2.0, after the Ecma International standards body in which it is being developed. Eich explained that this new version of the language will also be developed in the open, with periodic beta code drops being made available at www.ecmascript-lang.org.

Major changes include the addition of support for byte arrays, tuples and vectors; the proposed changes also extend to the evolution of the language's type system. Eich said his goal is to improve JavaScript's object orientation, and that adding arrays and vectors will help to push the language in this direction.

“I'm an old kernel hacker,” said Eich, “so I use C, still. I'm not a dynamic-only or static-only person. I think there are trade-offs. The Web is too big for only one language.”

On the subject of type safety, Eich said that there is no clear winner between weakly and strongly typed languages. When it comes to type systems, said Eich, “there's so many weak static ones which slap you when you do something silly. We believe untyped objects will be around forever.” Eich attempted to comfort his audience of Web programmers by noting that he was not intending to make JavaScript behave like Java, in this regard.

“People who've used Java and don't like it let me know, loud and clear, they don't want anything like classes. We're not saying ‘no’ to classes, [instead] we're doing them in a way where they're buttoned-down. These things already exist. The DOM [Document Object Model] is full of nominal types. We're formalizing that in the language,” said Eich.




Pages 1 2 


Share this link: http://sdt.bz/31012
 
Most Read Latest News Blog Resources

Add comment


Name*
Email*  
Country     


  • Comment
Loading




close
NEXT ARTICLE
Node.js pushes JavaScript to the server-side
The next step for this language, though, is toward Windows Read More...
 
 
 
 
News on Monday
more>>
SharePoint Tech Report
more>>


   

 
 

Download Current Issue
FEBRUARY 2012 PDF ISSUE

Need Back Issues?
DOWNLOAD HERE

Want to subscribe?


 
blogs tab
Are you at risk for burnout?
Burnout is a severe problem and it can strike at any time. Here's how to tell if you are nearing the edge.
02/09/2012 02:16 PM EST

Agility, mom, and apple pie
If we're to evaluate the state-of-the-art in software development, we should start with the values espoused in the Agile Manifesto.
02/07/2012 11:57 AM EST

RIM woos developers with free tablet
How do you get more apps ported to the BlackBerry PlayBook? By giving every developer a free tablet, of course!
02/04/2012 01:57 PM EST

GitHire: Use Headhunters to Find Your Perfect Programmer
Are you a hiring manager tired of scouring the job boards? Check out this new service that will find 5 people interested in your jobs.
02/03/2012 12:17 PM EST

Facebook claims hacker cred
Facebook's SEC S-1 filing form includes a short essay on the Hacker Way by Mark Zuckerberg himself.
02/02/2012 08:26 AM EST

Ryan Dahl steps down
Ryan Dahl, creator of Node.js, steps back from his position as gatekeeper for the project.
02/01/2012 04:58 PM EST

 
Events calendar tab
2/13/2012 to 2/16/2012
Santa Clara
TechWeb

2/26/2012 to 2/29/2012
San Francisco
BZ Media

2/27/2012 to 3/2/2012
San Francisco
RSA

3/4/2012 to 3/7/2012
Las Vegas
IBM Tivoli

3/5/2012 to 3/9/2012
San Francisco
TechWeb