3 ms·
If you're interested in correctness, cleaner and safer, Rust is a better choice. Go's lack of generics really hurts it when it comes to simplicity and cleanlin
by Twirrim 8y ago
If you're interested in correctness, cleaner and safer, Rust is a better choice. Go's lack of generics really hurts it when it comes to simplicity and cleanliness, and so far as correctness goes, the Go compiler isn't anywhere near as strict as Rusts one (nor is it as strict as gcc or most other compilers, for that matter, as a conscious choice of favouring speed over correctness)
- hu3 8y ago> easier to read
- Twirrim 8y agoEasier to read is not something I'd particularly accuse Go of. If you want that, stick with python. Lack of generics can end up really hurting Go for cleanliness. Something I ran in to the other day when I was trying to produce a reverse sorted list of strings: sort.Sort(sort.Reverse(sort.StringSlice(dir_contents)))