Please sign in to comment.
Add post: On Dart
- Loading branch information...
|@@ -0,0 +1,37 @@|
|+title: On Dart|
|+At first glance dart is a bit of an ugly duckling; it seems unexciting and the syntax seems old fashioned. But look a little deeper and you will discover the gem that is dart.|
|+- **dart comes with real dependency and build management.** `pub` provides a comprehensive set of commands to build, publish and handle dependencies of your project(s).|
|+- **dart is convenient.** Arguably the most important feature of dart is (optional) typing. It improves maintainability, readability and makes the tooling more powerful. dart comes with scores of other handy features, such as string interpolation, useful syntactic sugar and a nicely rounded standard lib.|
|+After the short dart tutorial and a look at [polymer], I have decided to rewrite [talaria] in dart. So far the process has been great fun, polymer is incredibly powerful and writing polymer components in dart is intuitive and straightforward. dart itself is really fun to write and the IDE makes getting started really simple.|
|+Of course dart still has its fair share of rough edges:|
|+- In many ways the documentation[[^1]] is as inaccessible as the erlang documentation[[^2]].|
|+- On OSX the dart IDE has a number of annoying bugs, most notably autocompletion regularly fails to work as expected [[^3]].|
|+[^1]: With the obvious exception of the excellent introduction offered by the [dart book].|
|+[^2]: While initially inaccessible, erlang's documentation is among the most complete and comprehensive once you get your feet wet.|
|+[^3]: Selecting one of the provided completions fails. The popup and the editor in the background both react to keyboard events. This means that by the time you select a completion, your cursor has moved away from its original position, and hitting `enter` adds a new line at some unexpected location instead of finalizing the completion. Double clicking a completion often does nothing at all.|