Haxe Code Cookbook


Overview of Haxe code snippets, examples and tutorials tagged with modules.

  • Apr 29, 2016 Beginner /

     static-extension modules

    The concept of static extensions is a very powerful concept that gives the possibility of keeping types and objects lightweight, and extending them with functionality only when actually needed. Here we will have a look at how some commonly used methods for basic types are implemented as extension methods, and how you can write your own.‥