Hacker News new | ask | show | jobs
by jakub_g 3752 days ago
In his "Programming pearls" book, John Bentley stated that he always first writes non-trivial algorithms in pseudocode, and only then transforms them to the destination language.

The point is, it's much easier to focus on the idea of the algorithm when writing it down in pseudocode, without having to worry about c / c++ details that obfuscate the idea.

1 comments

I think this is less of an issue when you code in Python, where the code is already somewhat pseudocode-ish.