← Back to context

Comment by ekr____

2 days ago

Author here. You're quite right that this isn't the thing you would normally do. I'm just trying to help people work through the logic of the system with as few dependencies as possible, hence this (admittedly yucky) piece of pseudocode which isn't really C or Rust or Python or anything...

At least update "length" for the for loop since it would go into an infinite loop the way it is now in any of those languages.