3 ms·
We've built modern computing on top of encapsulated cleverness. I don't mind clever code, as long as it's a polished gem set into a nice abstraction hiding awa
by jiggawatts 2y ago
We've built modern computing on top of encapsulated cleverness.
I don't mind clever code, as long as it's a polished gem set into a nice abstraction hiding away the details.
Databases have clever code in them. Network stacks have clever code. Heap allocators have clever code.
We've built our simple code on top of these.
If you need some clever code, write it in the same style: a self-contained library with clean abstractions and thorough documentation.
Whatever you do, never "weave" clever code through simple business logic!
- rightbyte 2y ago> Whatever you do, never "weave" clever code through simple business logic! Oh I love that blog series.