2 ms·
As the article says: - you can write 10LOC to have a lambda visitor. Idk why the standard doesn’t do this for you but it’s not a big deal - sum types are sup
by sesuximo 6y ago
As the article says:
- you can write 10LOC to have a lambda visitor. Idk why the standard doesn’t do this for you but it’s not a big deal
- sum types are super useful and your language will want some sort of niceties/extra characters to deal with them (and all options will be better than unions which are an unsafe mess)
So ... what’s the big issue? C++ is complicated? It’s a language designed to give the programmer full control when they want it. You don’t have to constantly use every bit of it.