Hillel Wayne personal blog
Clever vs. Insightful Code
“Don’t write clever code.” Why not? “Because it’s hard to understand.” People who say this think of clever code such as Duff’s Device: Duff's Device send(to, from, count) registershort*to, *from; registercount; { registern =(count +7) /8; switch(count %8) { case0: do{ *to =*from++; case7: *to =*from++; case6: *to…
- Points
- 156
- HN comments
- 111
- Submissions
- 1
- Cited by
- 0 commenters
Software EngineeringLife, Learning & Writing2021
On Hacker News
| Submitted | Title on HN | Points | Comments |
|---|---|---|---|
| Jun 7, 2021 | Clever vs. Insightful Code by goranmoomin | 156 | 111 |