HexaBlog

Syntax and Inspiration

Hello youse! 😄

This is the beginning of my blog post series about Hexa so let us start from basics!

First of all, Hexa was greatly inspired by JavaScript. It consists of things people enjoy, want, find useful and choose to be implemented. Also, JavaScript has a most flexible yet sane syntax.

Other guys involved are: TypeScript, Swift and, of course, Haxe.

TypeScript’s popularity shows that dynamic typed scripting fades away. I love types. It solves a JavaScript+Types problem for me.

Swift’s team achieved high level of familiarity while rolled some pretty interesting, somewhat new, sometimes innovative, concepts and features. And yes, there is Apple’s tyranny in language space on their platforms, which makes Swift widely used “by default”. This is my second lowest common denominator for language look and feel.

Haxe is more than 10 years old language. Ahead of its time, years before it already looked like the todays mainstream. Haxe’s main powers are astonishing type system, multiplatfrom support, meta-programming and KISS principle. It also follows JavaScript similarity.

You may expect a mix of features from those languages. Like argument labels at a caller side, nullability control, tagged unions, object extractors, standard library, selective data immutability, etcetera.

As a mostly-systems programmer, I am surely under some influence of C++, Rust, Go, D, Nim, Red, Dafny, Haskell, Ada and maybe others too.

Stay tuned!