4 ms·
had the same problem, if you're just prototyping, it's easy to silence that with _ = someVar you get used to it after some time - much better than for example
by cztomsik 4y ago
had the same problem, if you're just prototyping, it's easy to silence that with _ = someVar
you get used to it after some time - much better than for example rust, where you have to figure out all the lifetimes, muts and generic traits before.
- pcwalton 4y ago> you get used to it after some time - much better than for example rust, where you have to figure out all the lifetimes, muts and generic traits before. They aren't comparable. Everything you mentioned in Rust is necessary for typechecking. Unused variable lints aren't necessary for anything.
- cztomsik 4y agoI understand why is that needed. I am saying that prototyping (for me) is much easier in Zig. Some people like to define all the types (and traits) first, if it works for them then it's ok. I like to get feedback on something working as soon as possible because I'm likely a bit wrong and I will need to refine or rethink the whole thing again, rust is putting obstacles in my way, Zig is not.