3 ms·
> I've seen this idea cargo-culted way too often maybe, but it should still be more widespread
by enriquto 7y ago
> I've seen this idea cargo-culted way too often
maybe, but it should still be more widespread
- beatgammit 7y agoThe basic ideas, sure, but not the specifics. The ideas as I see them are: - keep functions simple and single purpose, which makes them easy to understand quicky - avoid long lines of code since they don't fit uniformly on one screen - make functions as testable as is reasonable Whenever you introduce hard rules, you get weird workarounds for cases that don't fit nicely. Dogma is always bad, concepts are immortal. So yeah, if this helps teach a concept, use it, but don't force everything to adhere to a strict code style.