4 ms·
The 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 quic
by beatgammit 7y ago
The 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.