2 ms·
Easier 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 cleanlin
by Twirrim 8y ago
Easier 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)))