Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
uvtc opened this issue Feb 19, 2021 · 0 comments
Open

Comments

@uvtc
Copy link
Contributor

uvtc commented Feb 19, 2021

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant