
-----------------------------------
ProgrammingFun
Fri Feb 17, 2012 9:13 pm

What are your thoughts on DART?
-----------------------------------
http://www.engadget.com/2012/02/17/googles-dart-lands-in-chromium-tech-preview/
Title says it all. Didn't make this into a poll because I think people will have distinct opinions.

-----------------------------------
Sur_real
Fri Feb 17, 2012 10:43 pm

RE:What are your thoughts on DART?
-----------------------------------
hey PF whats your opinion on this?

from what I'm reading, DART is vbs for google right?

Also, google hints that DART is supposed to solve fundamental problems that occur with js but can someone elaborate on that?

I don't know but the thing with having a lot of programming languages is that many utilize different methods of "execution" like JVM (java) or CLI (C#) or directly to machine (C++) and now DART (Dart virtual machine)

-----------------------------------
Zren
Fri Feb 17, 2012 10:52 pm

RE:What are your thoughts on DART?
-----------------------------------
Dart has baked in classes unlike JavaScript with it's annoying prototype model.

http://www.dartlang.org/docs/getting-started/class.html

[code]
class Greeter {
  String _prefix = 'Hello,';          // Hidden instance variable.

  String get prefix() => _prefix;     // Getter for prefix.

  void set prefix(String value) {     // Setter for prefix.
    if (value == null) value = "";
    if (value.length > 20) throw 'Prefix too long!';
    _prefix = value;
  }

  greet(name) {
    print('$prefix $name');
  }
}

main() {
  var greeter = new Greeter();
  greeter.prefix = 'Howdy,';         // Set prefix.
  greeter.greet('setter!');
}
[/code]

-----------------------------------
ProgrammingFun
Sat Feb 18, 2012 7:15 am

Re: RE:What are your thoughts on DART?
-----------------------------------
hey PF whats your opinion on this?
I'm actually looking forward to seeing how this turns out. DART seems like a nice initiative on the part of Google and considering it has backwards compatibility while being advertised as solving JavaScript's problems, it can quite possibly become the language of choice for web developers (over JS and jQ). However, I think that the real success of DART will only be determined by the competing browsers on the market, namely IE. If IE adopts it, it will become very successful, if not, people may still be reluctant to use it (Mozilla's not really a problem since Google sponsors them). I think that with HTML5-type marketing for it, such a thing could happen. Also, DART looks much more like Java than JavaScript, which to me is nice because it looks more familiar. I'm gonna wait and see how this turns out.

from what I'm reading, DART is vbs for google right?
Dart is intended to solve JavaScript's problems (which, according to a leaked memo, cannot be solved by evolving the language) while offering better performance, the ability "to be more easily tooled for large-scale projects" and better security features.

I don't know but the thing with having a lot of programming languages is that many utilize different methods of "execution" like JVM (java) or CLI (C#) or directly to machine (C++) and now DART (Dart virtual machine)I don't really see any big problem with that. Is there one? You would know better than me.

-----------------------------------
mirhagk
Sat Feb 18, 2012 11:17 am

RE:What are your thoughts on DART?
-----------------------------------
Lol so DART should be supported by IE when chromium doesn't even support it for windows yet?

IE will need to pick it up for it to be successful however, otherwise web developers will be very wary of using it when only chrome supports it, and the most technologically impaired use IE.

Many advancements in the web platform failed simply because IE did not support them, and many advancements (the DOM namely) came about simply because IE created them so they became the standard.

The problem with web technologies is that they need to become standard to become useful for web developers, and in order to become standard, they need to be supported by the most commonly used browsers, as well as the browsers used by technologically impaired (which don't know how to switch browsers)

-----------------------------------
ProgrammingFun
Sat Feb 18, 2012 12:32 pm

RE:What are your thoughts on DART?
-----------------------------------
I said IE because it's still the most populart and web developers still have to cater to it. The future of DART for now does not seem very bright right now:

As of January 2012, Microsoft Internet Explorer, Mozilla Firefox, Opera Software Opera browser and Apple Safari do not have plans to implement support for Dart.
Microsoft's JavaScript team has stated in Nov. 2011 that, "Some examples, like Dart, portend that JavaScript has fundamental flaws and to support these scenarios requires a 'clean break' from JavaScript in both syntax and runtime. We disagree with this point of view."

-----------------------------------
mirhagk
Sat Feb 18, 2012 5:00 pm

RE:What are your thoughts on DART?
-----------------------------------
Well IE and Safari would support it if Firefox and Chrome both did, and if websites started to use it.

Google could be a complete dick and rewrite their webpages to use DART, which might increase downloads of chrome, and definetly persuade other browsers to support it, but it also could severely hurt their control on the web, as google isn't really that much better than it's alternatives, and it's success mostly stems from the google name.

-----------------------------------
ProgrammingFun
Sat Feb 18, 2012 6:11 pm

RE:What are your thoughts on DART?
-----------------------------------
The dick strategy would only hurt them, especially since Google claims that these extra projects are only there to improve the internet, not to make any personal profit.

-----------------------------------
mirhagk
Sat Feb 18, 2012 6:29 pm

RE:What are your thoughts on DART?
-----------------------------------
Lol a commercial company that spends most of their team on something that they don't hope will make them money? The intention is to create these projects to improve the internet, and therefore their rep, and therefore their money.

But yeah, it'd require some web developers to commit temporary suicide in order to get this going (especially since it's not THAT much better than javascript, sure it's better but not worth committing website suicide for)
