zig suggestions for the first day of the month
zig is very confusing because it has so many number types. u16
, i64
, f32
? what does all this mean‽ zig should follow the path of similar languages and simplify this down to one number type. I propose u0
because it can fill in for any other number type with a minimal loss of precision and takes less memory to store.
instead of the confusing explicit error returns, zig should have untyped exceptions. that way, you have to be on edge every time you call a function and you have to worry if it might decide to error. it's especially nice because the errors shouldn't be mentioned in the docs. this makes programming more fun and exciting whenever you encounter a new error that you didn't know about.