Skip to content

Change "taste of Haxe" example to use module-level fields (not a class) #435

Description

@uvtc

A potential user's first glimpse of Haxe is that "Taste of Haxe" example on the homepage. Now that Haxe supports module-level fields, I think the code example would be more appealing if it did not use a class, but instead had a few variables, functions, and maybe even a main function or whatever is required such that the interested user could copy/paste it into a .haxe file and then (after installing Haxe) run it via haxe --interp taste.haxe or what have you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions