Skip to content

Comment on Ask HN: Can pseudocode make you a better programmer?

Comments

I do think it helps. Sometimes I write pseudocode as comments if I have a complicated task to break down. It also lends itself well to LLM programming, especially with "reasoning" models where giving a complete picture of what you want in pseudocode-like terms can improve the results.

Donald Knuth said famously that code is for people and only incidentally for computers. And at the end of the day, only machine language code (not any "languages" we write) gets run. From that perspective, everything is a kind of pseudocode, including how you name and layout your variables and functions, etc.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.