--
most people aren't going to consider using Dart at all until there is a really good interop story.
"I like the fact that the development of Dart was opened up quite early. It was an education for me. We can't have everything (open development and a product that is released ready to use)."Agreed, its not surprising it wasn't ready to use a year ago. I am though surprised its still not really ready for use.
If I were to guess, I'd think the sentiment among the Dart team would be closer to "good luck to them".Seriously, it's not a secret cabal meeting in dark robes over flickering candles, discussing world domination in a hissing mutter. (Except for every other Thursday, and even then, the world domination stuff is just for show.)
If Dart is awesome enough, people will use it. And that's all that the Dart team is focussing on.
--
Mmm, I'm not really ready to comment on it, as I'm just about to read the spec, but from a cursory glance, this looks like a joke. TypeScript right now looks like a small extension to JavaScript which could make a lot of people happy (even myself, should there be no Dart), but how is it going to look a year later? Given that there is _soo much_ trouble getting ES6 out, TypeScript will probably have to move on its own, and I already take for granted that anything Anders touches turns into a weird mishmash sooner or later (see Object Pascal/Delphi Language and C#). I just think that Dart is better positioned for the future, being a standalone language and not just another syntax layer for the horrible JavaScript semantics.
LT
http://www.typescriptlang.org/
TypeScript is a language for application-scale JavaScript development.
TypeScript is a typed superset of JavaScript that compiles to plain JavaScript.
Any browser. Any host. Any OS. Open Source.
Mmm, I'm not really ready to comment on it, as I'm just about to read the spec, but from a cursory glance, this looks like a joke. TypeScript right now looks like a small extension to JavaScript which could make a lot of people happy (even myself, should there be no Dart), but how is it going to look a year later? Given that there is _soo much_ trouble getting ES6 out, TypeScript will probably have to move on its own, and I already take for granted that anything Anders touches turns into a weird mishmash sooner or later (see Object Pascal/Delphi Language and C#). I just think that Dart is better positioned for the future, being a standalone language and not just another syntax layer for the horrible JavaScript semantics.
LT
--
from a cursory glance, this looks like a joke
--
- It really fixes all the insanity of JavaScript.
- It really fixes all the insanity of JavaScript.Sold.
--
Then MS have a language that spans web/desktop/touch (tablets and phones). Dart seems web focused. Android is still java/dalvik.
Am I the only one who is not impressed with Visual Studio at all? I see it at best as a mediocre IDE that only works in Windows.
On Mon, Oct 1, 2012 at 12:54 PM, Kevin Moore <kev...@j832.com> wrote:It looks like Dart is a more ambitious project. But many of the cool
> http://www.typescriptlang.org/
>
> TypeScript is a language for application-scale JavaScript development.
> TypeScript is a typed superset of JavaScript that compiles to plain
> JavaScript.
> Any browser. Any host. Any OS. Open Source.
things are not really there yet. For example: mirrors, three shaking.
Typescript offers some interesting things from day zero:
- Full interoperability with the JavaScript world. This is from both
ways: from JS to TS and viceversa. There is a huge ecosystem of code
available for JS.
- I think that TypeScript got some syntax bits much better than Dart.
For example, type annotations are much more flexible, and they look
nicer.
Interfaces are better too, they cover all the cases and there
is no need for ugly constructs like "typedef".
- They offer support for private things, both in classes and modules.
class Base {private foo;}class Derived extends Base {private foo;}
- The Visual Studio and Playground demo showed an amazing type
inference engine. I have not seen that with Dart.
- The web playground is really cool. It's a shame that
try.dartlang.org is down. (but it wasn't very cool when it was up
anyway)
- The module system looks better, it's possible to explicitly import
only the things you need from a module. I like that.
- Generics. I don't really see the point of generics for a dynamic
language. The only advantage I see is to get code completion for
collection items, but TypeScript interfaces allows types to be
specified for collections without needing generics, I think I like
that approach more.
It depends on your background. When developing C/C++ there's nothing better than Visual Studio + Visual Assist. I've done C/C++ development using Eclipse, it was for an embedded device, and it was a big step down. I'm sure if you've been doing Java dev for awhile you're using something else.
> Instead of general purpose generics, TypeScript just added one special generic type: arrays.
They plan to add generics later -- at least they mention it in the spec.
LT
>>The ability to bootstrap w/ npm install -g typescript is awesome.
No matter how you gonna put it, java is slow and as long as the ide will be created in java, it will never match the performance/memory footprint of vs which is coded in c++/c.
On Tuesday, October 2, 2012 10:28:10 PM UTC+3, jorat134617 wrote:No matter how you gonna put it, java is slow and as long as the ide will be created in java, it will never match the performance/memory footprint of vs which is coded in c++/c.
Subject has changed a lot, but here it goes.To me developing a modern IDE in c/c++ is just madness. The speed advantage C++ in an IDE is a delusion and memory is now abundant if you care about resources. I guess only parts of VS is developed in C++ nowadays only for legacy reasons. All glorious Re-sharper is developed in C#.
I generally agree with Bob N.'s list of Dart qualities worth mentioning, though I do not (currently) fully agree with his "A cleaner DOM API" statement due to the fact that the Dart-based DOM abstraction is causing me multiple problems that I do/did not experience with JS: that is, the Dart "wrapping" of the DOM has hidden access to setting namespaces on elements (which is *required* for certain SVG needs, as reported in various issues I have submitted: #2977, #5395, #5526) and has introduced varying behavior between HTML-wrapped SVG vs standalone-SVG files (something I do not experience when writing native JS code -- the ElementImplementation structures in Dart are screwing things up in this regard). I also find the DOM API within Dart to be a bit "over-engineered" with regards to making some things that *should* be able to complete quite fast and synchronously instead become an asynchronous mess of convolution and complication, like: Future<ElementRect> for documentElement/viewportElement.rect. Seriously, who thought this up? It makes the execution-flow through applications really difficult to manage. So, a "cleaner API" is one thing, but if I encounter regressions and/or complications that JS's view of the DOM didn't throw into the mix, then "cleaner" doesn't mean that much to me.
I generally agree with Bob N.'s list of Dart qualities worth mentioning, though I do not (currently) fully agree with his "A cleaner DOM API" statement due to the fact that the Dart-based DOM abstraction is causing me multiple problems that I do/did not experience with JS: that is, the Dart "wrapping" of the DOM has hidden access to setting namespaces on elements (which is *required* for certain SVG needs, as reported in various issues I have submitted: #2977, #5395, #5526) and has introduced varying behavior between HTML-wrapped SVG vs standalone-SVG files (something I do not experience when writing native JS code -- the ElementImplementation structures in Dart are screwing things up in this regard). I also find the DOM API within Dart to be a bit "over-engineered" with regards to making some things that *should* be able to complete quite fast and synchronously instead become an asynchronous mess of convolution and complication, like: Future<ElementRect> for documentElement/viewportElement.rect. Seriously, who thought this up? It makes the execution-flow through applications really difficult to manage. So, a "cleaner API" is one thing, but if I encounter regressions and/or complications that JS's view of the DOM didn't throw into the mix, then "cleaner" doesn't mean that much to me.Well said. DOM API is a bit over-engineered, especially the use of Future. To allow synchronous execution flow, a few methods starting with $ were introduced. It solved the issue but it makes API looks odd.
For one it means they're actively targetting the growing Javascript community.Dart - well, you go install a forked browser ( cause dart2js code won't work in Firefox - at least not my simple tests awhile back ), and go install a java based IDE...
The fact that TypedScript also came on day one with Sublime Text 2, Emacs, an VI modes along with the VS integration is also indicative that they're targeting the JS community.On 2/10/2012, at 12:15 PM, Darren Neimke <darren...@gmail.com> wrote:>>The ability to bootstrap w/ npm install -g typescript is awesome.Can someone explain exactly why this is so awesome please. Is it because, from day 1, there is native interop between Node and TypeScript?