Re:The Wa Programming Language
by bentheklutz on Friday November 11, 2022 @12:54PM
(#33564153)
There is a six character difference discounting the fact that one calls the type i32 vs Golang's int32; four are punctuation that may or may not be required for ability to parse correctly and 2 are from "fn" -> "func." Each of the common tokens is arranged in the same order relative to one another. If one affords themselves the use of "type i32 int32" in Golang, then it is
vs
Compare with a syntax like C, C#, or Java where you have tokens in the declaration in almost the reverse order
The two (Golang and Wa) are certainly distinct, but I would say they are closer than simply both being C-style for this particular case at least.
[ Parent
| on HN ]