3 ms·
> value in Zig is its simplicity IMO, there are things Zig just don’t care about, which in the surface makes it simple but its annoying and burdensome later on
by metaltyphoon 1y ago
> value in Zig is its simplicity
IMO, there are things Zig just don’t care about, which in the surface makes it simple but its annoying and burdensome later on.
* Manual interface implementation
* Internals of a struct is public
* No string types
* anytype requires reading code
* Error can’t carry information
* The iteration abstraction in the std is all over the place
* Unused declarations is compilation error
- vascocosta 1y agoI resonate with you about interfaces and a String type. At least these two are so prevalent even on the simplest of programs to warrant some proper language and std lib support.