New Dart Editor Build in November 2012: Stakes and Opportunities for the Developers.
As announced recently, henceforth since November 27, 2012, developers can run and test many changes. These changes include modifications to the core library as well as the html, SVG and also io libraries.
In fact changes include
as follow:
New Clean-Up to rename Element.elements to
Element.children.
New Clean-Up to remove return type and name in
function literal.
New "Convert Getter to Method" refactoring
and Quick Assist action.
New Clean-Up to rename File.readAsText to
File.readAsString.
New "Surround With..." Quick Assist.
UX changes and improvements in the Manage Launches
dialog.
- As a Breaking Change List, we noted:
dart:core changes: Exception constructor is no longer const, and usage is
discouraged.
NullPointerException has been removed. Throwing null
now throws NullThrownError. Accessing non-existing members on null throws
NoSuchMethodError (Null just inherits noSuchMethod from Object).
dart:html changes:Element.elements has been deprecated
in favor of Element.children.
dart:svg changes :Most SVG types will have their
prefixes removed. So SVGFontElement will become FontElement.
This does
introduce some overlap with dart:html names, it’s recommend using "import
'dart:svg' as svg;" if you're mixing dart:html and SVG. All dart:svg names
will be 'Dartified' to have proper camel-casing. SVGFEDropShadowElement is now FEDropShadowElement.
dart:iochanges :
dart:io File.readAsText renamed to File.readAsString
and File.readAsTextSync renamed to File.readAsStringSync.
However, SVGDocument, SVGElement and SVGSVGElement
unfortunately will not immediately have their prefixes renamed as they require
a much more significant refactoring to do so. They have been camel-cased though
(to SvgElement, SvgSvgElement, etc).
You can start with the Editor see our tutorial
Comments