Hacker News new | ask | show | jobs
by Ono-Sendai 4074 days ago
The problem is not so much if the compiler will catch it, but how to lay out the new code/types in an editor, hopefully all in one place or accessible from one place.

C++ will catch a missing combination at compile time as well.

1 comments

Note that the given example has only one place where all combinations are defined. Not sure if this could be done in C++.