DHH tweets about Dart
@thomcarver All I care about is the beauty of the code the programmer sees and writes. Implementations can go to town as they please.
2011-10-11 23:21:53Clinging on to explicit, static typing for a new programming language reminds me of Southern reenactment battles.
2011-10-11 23:20:20@dhh fair enough, but type-inference (like C#), and interface-inference (like Go) ease much of the warts. its not static's fault, its dart.
2011-10-11 23:19:27@dhh fair enough, but type-inference (like C#), and interface-inference (like Go) ease much of the warts. its not static's fault, its dart.
2011-10-11 23:19:27@dhh Someone (Rob Pike?) recently described that as "Java's stuttering problem".
2011-10-11 23:18:02Comparing CoffeeScript and Dart from a syntactical perspective, it feels like the former is vintage 2011 and the latter is vintage 1995.
2011-10-11 23:17:12@scottbessler Even having to repeat "var" is nasty. Better, but still nasty.
2011-10-11 23:15:14@dhh c#-style type inference would fix both of those and remain static typed. var prefix = "Hello"; var greeter = new Greeter();
2011-10-11 23:14:19@dhh c#-style type inference would fix both of those and remain static typed. var prefix = "Hello"; var greeter = new Greeter();
2011-10-11 23:14:19String prefix = 'Hello,'; Greeter greeter = new Greeter(); -- Static typing is one of the worst visual warts of programming.
2011-10-11 23:12:48Even the tag line makes me gag: "STRUCTURED WEB PROGRAMMING". More ivory tower. The filthy proles and their UNSTRUCTURED code!!
2011-10-11 23:11:10@dhh Agreed. I think optional typing has minor value for making public APIs clearer, but not for the reason you quoted.
2011-10-11 23:10:43@glv That's even worse, imo. If you have an opinion, take a fucking stand. This try bait is disingenuous.
2011-10-11 23:09:27Also, of all the shit Java degraded programmers to worry about, Interfaces must have been among the worst. Dart has 'em http://t.co/pvgp2lVs
2011-10-11 23:08:24@dhh (I'm with you in not liking it, but I don't think either Gilad or Lars are big fans of static typing.)
2011-10-11 23:08:14@dhh Knowing the people involved, I suspect it's more "Don't give the people who think they need types a reason to never try Dart."
2011-10-11 23:07:28This is CS ivory tower thinking at it's best: Let the proles have their filthy dynamic typing while they play in the mud.
2011-10-11 23:06:19Who the fuck writes simple prototyping code and then goes back to rewrite everything for with types for "larger and more stable"?
2011-10-11 23:05:34"the programmer can write untyped code for simple prototyping. As the application becomes larger and more stable, types can be added", yuck!
2011-10-11 23:03:13If Dart ends up offering any long term advantages over JavaScript, I sure hope someone comes up with CoffeeDart. Or maybe that's BeerDart?
2011-10-11 23:00:40While on the subject of Google, they just don't value aesthetics, do they? Dart might be a wonder of comp.sci, but fuck it's ugly.
2011-10-11 22:58:17