3 ms·
> I wonder if they implemented one of their languages with true wrapping index behaviour. No, that was just me writing carelessly. None of the mystery language
by justinpombrio 8y ago
> I wonder if they implemented one of their languages with true wrapping index behaviour.
No, that was just me writing carelessly. None of the mystery languages use array indexing, and if they did we'd be careful to get it right. I actually know this behavior of Python, but didn't think about it much as I wrote.
> On that note, how the hell would you understand currying or do notation by trial and error?
It's not easy, but many of our mystery languages are harder than this, and our students figure them out! Sometimes they'll get 2/3 of the way to a solid explanation, and then Shriram gives them a canonical explanation in class the next day, while it's fresh in their minds. And sometimes they come to a perfect understanding by themselves.
And currying could make a good mystery language. Thanks for the idea!