Haxe Code Cookbook
Haxe programming cookbookPrinciples

Principles

Overview of Haxe principles snippets and tutorials.

  • Jan 03, 2017 Principles /

    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).

  • Jan 03, 2017 Principles /

     class

    Classes inherit from other classes using the extends keyword:

  • Jan 03, 2017 Principles /

    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: