Google Dart: The Web Developer’s Dream?
Google seems to be dominating our posts lately, because of all the new and innovative things they are doing with social media, search and now web development.
Some may recall Google’s attempted “java killer”, Go, from not that long ago which seemed to lose momentum after it’s debut. Go is more closely aligned with C & C++ languages than Java, because it is a classic compiled language which outputs binaries as processor-native machine code.
Declaring data types in Dart is completely optional; however, if you define data types, Dart generates compile-time warnings (not errors) alerting you of potential problems. You can also run Dart in debug mode which generates errors and halts execution at runtime if type conflicts arise. In this way you can speed up production while adding your type declarations later.
Dart also is written in object oriented style. This allows programmers from various backgrounds to more easily interpret and create Dart code. In true OOP style, each instance of each script has full control over it’s own state.