Haxe Code Cookbook

modules

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

  • Apr 09, 2017 Beginner /

     static-extension modules

    The concept of static extensions is a very poweful 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.‥