As a blog post with the title "Don't be clever" ending up with the author's answer being an even clever-er solution, than talking about the hidden fight against complexity in software, was an odd ending note.
To me the most ironic part was calling CRUDController clever in the first place. There could have been clever solutions to reduce the code repetition, but using inheritance to force a naive abstraction on every future programmer isn't it.
I don't know if it's because I'm reading HN more often these days instead of spacing it out but there's definitely a sizeable quantity of "<hard statement title>" followed by "so short it seems from twitter" article which really provides little insight or is absolutely misguided.
I guess the debate is instructional in itself and it's why the comments+article combo is the real power of HN.
It's not a clever-er solution? As an example, `php artisan make:controller` and potentially some custom derivatives is going to solve like 95% of what he was trying to abstract.
cogman10|2 years ago
dietr1ch|2 years ago
Maybe by looking like a fool he fooled us all?
lopatin|2 years ago
isaacremuant|2 years ago
I guess the debate is instructional in itself and it's why the comments+article combo is the real power of HN.
chomp|2 years ago
HappySweeney|2 years ago
dehrmann|2 years ago