Hacker News new | ask | show | jobs
by david_allison 1326 days ago
I'm aware (plus the fact that the algorithm is correct in Python). It's very unlikely that this is an argument I can win.

I'm taking a pragmatic perspective: like it or not, people are going to skim the article and copy & paste the pseudocode.

Given that the pseudocode is buggy in the vast majority of programming languages and the user isn't informed about this in the pseudocode, it's going to lead to unnecessary bugs.

1 comments

> people are going to skim the article and copy & paste the pseudocode.

Heh. But then again, these kind of people will create way worse problems than last-bit overflows.