Google To Introduce New Programming Language — Dart
An anonymous reader sends this excerpt from El Reg:
"Google has built a brand-new programming language for 'structured web programming,' one that appears to be suited to browser-based apps. Two of the search giant's engineers will discuss Dart, Google's new language, at the Goto international software development conference next month. News of the new language was posted to the Goto website. There aren't yet any technical details on Dart but the bios of the two Googlers presenting at Goto strongly suggest a bent towards programming for the web and browser."
Hey, this could finally be the web language that isn't a kludge or poorly designed. Those other 22 could all go away.
Trouble is, we don't know - this article is a worthless waste of time until it's actually released or detailed.
My God, it's Full of Source!
OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
http://xkcd.com/927/ Nuff said.
SIG 666 - Signature stolen by the devil
Those other 22 could all go away.
https://www.xkcd.com/927/
You think?
Some apps are WYSIWYG. Some others are WYSIWTF.
Pretty much. What's there to say? Until there are details, all we know is that Google has a language called Dart.
The world's burning. Moped Jesus spotted on I50. Details at 11.
Did anyone really start using the last language they used, Go?
The problem with slashdot is that most of its users were bullied and stuffed into lockers as kids!
A new programming language create a huge problem, before start solving anything. And its that you lose all the work done with libraries. Everything. A new language is like a natural disaster that wipe civilization to the caves again.
People is doing a lot of cool stuff with Javascript. JS is starting to becoming a decent enough language to write code for the web!.
http://jquerysbestfriends.com/#slide1
-Woof woof woof!
This is what happens when a tech company gets too big and doesn't know what to focus on. Just like Microsoft used to do, they're releasing pet project after pet project after project, hoping one of them sticks.
I got this link from my twitter feed, based on the assumption that Dart is Dash renamed.
http://markmail.org/message/uro3jtoitlmq6x7t
So there's hope.
As for why one wouldn't be estatic over javascript, there are many good reasons in that email, many others in The Good Parts book.
There's always room for something better, while not denegrating the existing.
It may be older than dart, but I think I'll stick with C. ;-)
Admittedly, most of my programming these days is number crunching rather than web apps.
Because not liking JS makes you look cool?
I take the Stephen Stills' approach to programming language: If you can't be with your dream programming language, just use the one you're with. :)
These comments are my own and do not necessarily reflect the views or opinions of my employer or colleagues...
I'm kind of confused as to where google is going these days.
Is this just a side effect of hiring too many bored CS graduates -- put enough in a room together and they come up with their own languages?
I just can't see this being used outside of google -- Web Programming is largely a solved problem, and there are already a plethora of options. Since MS and Apple won't touch anything that comes out of Google, it'll only ever be relevant on the server side -- which is where there are already too many options.
Unless this does something radical -- and judging by what Go was, I doubt it -- this will probably be a niche thing they use internally.
The problem with adding yet another language to the mix is engineers as a whole need to focus on simplicity and good standards and stay away from reinventing the wheel. Diluting the market with more languages to "make web development easier" or "help with web development performance" or even "fill the gaps of other languages" is ludicrous. The problem is most anything can be done very simply and effectively with the existing tools that are available, but really developers are always looking for the next language that's "easier to learn" or "fills my gap of boredom in my current language". We'd be far better off focusing on truly understanding and deep diving into the languages we have. If there are gaps or short comes (which inevitably there will be!) then we should work to fix those in the language, not reinvent the wheel again.
I thought Google have been doing this the whole time, ie 20% projects. Nothing wrong with releasing the ones that come to fruition. It's not detracting from other parts of their business, and it's bringing cool stuff into the community - some of which might be really useful. Google are one of the companies that actually has a chance of making a replacement to JS "stick", though convincing MS would be a very tall order indeed.
which is totally what she said
10+ years experience needed, of course.
Steve's Computer Service, Hobbs, NM
So it's a PHP derivative then.
The world's burning. Moped Jesus spotted on I50. Details at 11.
oh wait ...
Who logs in to gdm? Not I, said the duck.
Python is not a good example to make this point. Google did not start the Python project, and Python has lots of uses that have nothing to do with Google. If Google were to fold tomorrow, Python (and Guido) would survive just fine.
Not to mention the fact that Google has migrated a lot of their internal code away from Python over the last few years...
I am TheRaven on Soylent News
We already have a language like that, its called 'C'.
If someone is passing you on the right, you are an asshole for driving in the wrong lane.
A few things, off the top of my head:
There are probably other reasons to dislike JavaScript. Putting Self in a browser would have been a lot better than this crappy cut-down Self clone with Java syntax that we ended up with.
I am TheRaven on Soylent News
With the frustration of working with so many different languages and some that only work when you load in a bunch of code (jQuery...awesome, but JS should do all this natively) or a framework, I'm very curious to see if Google is in fact focusing on web development and can provide a platform that allows for simplified coding without lots of browser overhead. Why do we think that languages should stop and never evolve or change or die? I for one don't want to still be coding 20 years from now with JS and PHP the way they are. Would love to have something that works hand in hand between server, db, and browser in a more seamless way. I'll wait to see before passing judgment.
jsut athnoer menagiensls ltitle psrhae for you to dcoede. Why do we wtsae our tmie dnoig tihs?
We already have a language like that, its called 'C'.
Yeah, but C is too C-like for most people's taste.
Yes, but no.
I took a course that discussed personality profiles a little while back, and -- according to this class, at least -- the "creative" types tend to get really excited about a project, work on it for a little while, lose interest and abandon it in favor of the next project that comes to mind. This is a pretty good description of me, as my wife is fond of reminding me. I have a million things that I've started, gotten bored with and abandoned. A friend of mine once commented that techies seem to be borderline ADD; this theory could explain why. Whether you like Google or not, you have to admit they are pretty creative. If they have a culture that is lead by the creative, ADD types, you would kind of expect them to display this type of behaviour. The solution to this problem is to hire analytical/admin types who will drive the projects to completion rather than abandoning them when they get the next creative spark.
MCSE? No, sir...I don't do Windows. Yes, I am an idealist. What's your point?
If the Dart language is intended to replace something like the buggy, slow and badly designed PHP language,
I was rather hoping it was intended to replace the buggy, slow (although progress has been made), and badly designed ECMAScript language, which you may also know as JavaScript.
JavaScript is not actually that bad compared to PHP. I know it can be used to create a complete mess, but in the hands of a competent developer it can be used to produce a decent end result.
PHP on the other hand seems to have hit a wall recently. I have to admit though I am a little jaded at the moment after a recent project exposing an existing PHP web application via web services. PHP has truly awful WSDL support, even if you try using the Zend Framework addons. Since more and more projects seem to involve some level of interworking with other systems that fact that PHP fail so badly in this regard is pretty inexcusable.
Just to explain why I am so jaded and not at all as a cathartic experience I am probably now going to rant about some of the issues :)
Firstly, the SOAP functions built into the latest verion of PHP only support rpc/literal WSDL. Since every other platform (.NET, JAVA, Axis2) wants document/literal this makes PHP only useful for talking to PHP.
Then you think Zend Framework might be better. Unfortunately although this lets you generate and expose WSDL2 files using document/literal, you cannot use them as a basis for your service. This means that you can't actually let anyone talk to the service without some awful compatibility layer that translates what a rpc/literal service would expect into document/literal by doing some crazy unravelling of arrays of parameters.
And then when you finally think you are done you discover there is a bug that means booleans are just broken and always get returned as false. You file a bug report but it looks like the maintainer of this part of the Zend Framework has died as he hasn't been on their bug tracker for months.
So I might have worked round all these issues and delivered a working service but it took far longer than expected and that costs money. For a server side language that is supposed to be an established heavy weight this is not acceptable. It's enough to make you learn .NET :)
I dont read
Is it sad that I don't even have to click that link to know what is behind it?
This is what happens when a tech company gets too big and doesn't know what to focus on.
It seems to me that 3M and Xerox, among other companies, made a decent living releasing pet project after pet project.
If it is, we're sad together.
Space game using normal deck of cards: http://BattleCards.org
Cause I like javascript and I wanna hear why others don't?
Global-by-default-unless-declared for variables is a recipe of disaster.
Scoping rules are fubar. If I declare a "var" inside a pair of curly braces, it should only be visible in those curly braces - not outside of them, and most certainly not before the line it is declared at! Every other curly brace family language which has explicit variable declaration does it that way, but not JS.
Syntax for lambdas is overly verbose - not only there's no expression form, so you have to write "return"; but "function" itself is 5 chars longer than it should have been. This is annoying in any type of code where lambdas are heavily used, such as when using map/filter/... chains, or Node.js style async programming with explicit continuations.
"new Boolean(false)" is considered true in a conditional expression. Yes I know it's just a corner case of a simple general rule, but it shows how silly the rule is in the first place - either make it "just work", or else forbid using object references in conditionals in the first place.
While we're at it, what's up with the whole separation into primitives and objects? For Java it made a little sense because of perf concerns, but for JS it makes none. Python and Ruby have demonstrated how a dynamically typed language can have a true single-root hierarchy for all types, including primitives, without sacrificing perf (tagged pointers FTW). Coincidentally, that's why the previous point is not an issue in Python - there's no Boolean object type separate from the primitive type there because there's no need for it - the primitive is an object type.
JS standard library is very limited. When you can do less that ANSI C standard library out of the box, that's sad.
Global-by-default-unless-declared for variables is a recipe of disaster.
ES5 strict mode already disallows that.
If I declare a "var" inside a pair of curly braces, it should only be visible in those curly braces
The "let" keyword will fix that. It has block scope. Eventually all variables should be declared with "let".
Syntax for lambdas is overly verbose
There is still no agreement in the ECMAScript comitee about which option to take, but there are two very good proposals:
- Arrow function syntax taken from CoffeeScript: (x) -> x * x;
- Block lambdas, which allow you to treat chunks of code as data
Personally, I love arrow functions.
"new Boolean(false)" is considered true in a conditional expression..
I never heard of that particular example and trying "true == new Boolean(false)" always evaluates to false in a console. But yes, the == type coercing operand is the worst part of JavaScript. The === operator solves 99% of cases. For the 1% that it doesn't help with, ECMAScript 6 will have an "is" operator, and before that probably an Object.is() function.
While we're at it, what's up with the whole separation into primitives and objects?
I agree with you, everything should've been an object from the start. That's probably because of the Java legacy.