Hacker News new | ask | show | jobs
by ehaliewicz2 1063 days ago
I find simple loops over simple data more understandable than inheritance chains and pointer chasing.
1 comments

If the stuff you're doing allows a design where you can just loop over POD, sure, that's the ideal.

But lots of stuff isn't that simple, and you end up messily reinventing inheritance with a lot of switches and if statements.

Most of the time you can solve this by knowing shit and thinking harder.