|
|
|
|
|
by Longhanks
1401 days ago
|
|
> I hope I never see this in a production codebase, though! Why? Looks completely readable, easy to understand to me. Do you also hope to never see the STL in production? Because internally, that thing is high level unreadable C++. |
|
I've written my fair share of code like this, and while you and I might grok it (and probably have a fun time figuring out how it works in the process), most people will hit a brick wall the moment they have to debug the 1000 line error that Clang or GCC will give you when there's a type error.
This is the kind of thing that belongs in language-feature land (so you get tooling support, reasonable compiler errors, etc), not library-land.