News for hackers. Stuff that matters.
Re:Show HN: 15-question programming quiz with answers by bdcravens on Tuesday May 23, 2017 @01:27PM (#14403152)
popleft is shift in many other languages.

Not all languages manipulate arrays in the same way re ref/value.

Not all languages have the concept of range() - you could have used a simple array to be more language agnostic.

(I'm sure I could have found more, but I'm Python isn't a language I spend much time in)

Re:Show HN: 15-question programming quiz with answers by echevil on Tuesday May 23, 2017 @01:40PM (#14403293)
Just to be fair, i think the comments in the source code has explained it well
Re:Show HN: 15-question programming quiz with answers by bdcravens on Tuesday May 23, 2017 @03:48PM (#14404609)
Yes, but finding answers required to understand what was set by ref, and what was set by value, which wasn't in any comments.