logoalt Hacker News

anotheryouyesterday at 9:31 PM1 replyview on HN

but doesn't "the code is documentation" work better for machines?

and don't we have doc-blocks?


Replies

zdragnaryesterday at 9:38 PM

Code doesn't express intent, only the implementation. Docblocks are fine for specifying local behavior, but are terrible for big picture things.

show 2 replies