News for hackers. Stuff that matters.
Re:Show HN: A new programming language inspired by Go, no LLVM by xigoi on Sunday June 01, 2025 @06:48AM (#44149953)
Considering that it’s supposed to be a “better Go”, there are some things it does worse than Go, such as type-before-name or using less-than and greater-than signs for type parameters.
Re:Show HN: A new programming language inspired by Go, no LLVM by hualaka on Sunday June 01, 2025 @07:19AM (#44150080)
I really enjoy thinking about such issues. I actually spend a lot of time considering whether to use type prefixes or suffixes, [] or <>, and ultimately settled on “<>”.

In my opinion, the change from `<>` to `[]` is a minor adjustment. `<>` is already widely adopted, and I don't want to break with convention for such a small benefit.

The position of the type is similarly considered. Postfixing the type has some advantages over prefixing it, but those advantages aren't sufficient for me to break with convention.