HaxeFoundation / HaxeFoundation/haxe.org

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

Open
#435 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
86
Forks
96
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.