haxe.org
haxe.org copied to clipboard
More details for language intro page
I think the language introduction could use more language details, maybe a bullet list, to quickly give the reader a better idea of what kind of language Haxe is.
Currently it says that it's
- modern,
- very high-level,
- strictly typed, and
- easy to learn.
What else can we add to expand that? How about:
- general-purpose
- compiled (to multiple language targets/platforms, including VM bytecode)
- strictly typed, with type-inferencing
- lexically-scoped
- most (all?) statements are expressions {is that correct?}
- familiar syntax (similar to Java, C++, AS3, etc.)
- Exceptions for error handling
- standard library includes target-platform -specific modules, in addition to modules common to all targets
- Haxe the language is purposely kept fairly simple, elegant, and practical to accommodate compilation to the large number of different target platforms
Do those sound accurate?
Maybe something about supporting OO? Functional programming?
Thanks this is helpful info
Hi Mark. You're welcome, but maybe I wasn't clear: I'd like to create a PR, but wanted to first confirm that the points I wrote above are correct, and also ask if anyone had any additional ones to add or clarifications to make. I don't yet know Haxe very well at all, certainly not well enough to write the bullet list myself without input. :)
I think the language intro is the right place to give prospective new users a 10-thousand-meter overview of what the Haxe language is all about, providing a context for moving forward.
Took a shot at it with PR #345 .