Overview of Haxe principles snippets and tutorials.
01-11-2016 Principles / Everything is an expression
Many programming languages split code into two kinds of elements: statements and expressions. Statements perform some action (e.g. if/else) and expressions return values (e.g. a + b).
01-11-2016 Principles / Inheritance
Classes inherit from other classes using the extends keyword:
01-11-2016 Principles / Null safety
Haxe doesn't provide built-in null-safety, however it's possible to write null-safe code without run-time overhead using abstract similar to the following: