(no title)
Sphax | 1 year ago
I appreciated some things, like the fact that the syntax is close to Go, the easy interop with C, the fast compilation, somewhat complete stdlib.
Other things I didn't like much: pointers have changed to '^', I'm sure there's a reasonable but I just don't like it, I'm used to '*'. Error handling is a PITA as far as I can remember. Meta programming felt clunky.
This is all subjective based on my limited experience, but I felt that Zig worked better for me.
masfoobar|1 year ago
I know -- it is a personal preference due to my experience with C. On the other end, I understand the change because it is more inspired by Pascal.
Also, the ^ can be used on the left side of the variable (meaning pointer to var) or ^ can be on the right side (dereference pointer to var)
It is using the Pascal usage of ^ -