top | item 26239143

An incomplete list of complaints about real code

21 points| hacksilver | 5 years ago |rachelbythebay.com | reply

6 comments

order
[+] xyzzy123|5 years ago|reply
The author was intentionally careful not to "name names" but apart from occasional line noise it seems like Rust or modern C++ (in a pinch) are the sweet spots for minimising these complaints.

It makes total sense through a systems management lens.

But the things you care about when running software are different from those you have when writing the software. Good GC would be high on my list of "nice to have if we can afford some latency". And the concerns you have running code "at huge scale" are not the same as those you have at small scale...

[+] colejohnson66|5 years ago|reply
“Modern C++” is very powerful, but also incredibly frustrating. Take std::variant/std::visit (sum types) for example.[0] Getting the value out is way more complicated than Rust. And if you mess up, expect an indecipherable multi-dozen line error message!

[0]: https://bitbashing.io/std-visit.html