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

SubmittedTitle on HNPointsComments
Jun 7, 2021Clever vs. Insightful Code by goranmoomin156111

More from Hillel Wayne

All 49 posts →

Related posts from the same era