News for hackers. Stuff that matters.
Re:Ask HN: What is the most beautiful piece of code you've e... by wincy on Monday October 28, 2019 @09:26AM (#21376739)
So this would be more of a labyrinth than a maze?
Re:Ask HN: What is the most beautiful piece of code you've e... by cyphar on Monday October 28, 2019 @10:01AM (#21377056)
No, a labarynth is a single twisting route without branches. A maze has branches and thus can have dead-ends. Both must have an entry and exit point (technically mazes may have more than one exit and entry, but most don't).
Re:Ask HN: What is the most beautiful piece of code you've e... by Someone on Monday October 28, 2019 @01:31PM (#21379287)
That’s open for debate. https://en.wikipedia.org/wiki/Labyrinth:

”Although early Cretan coins occasionally exhibit branching (multicursal) patterns

[…]

both logic and literary descriptions make it clear that the Minotaur was trapped in a complex branching maze

[…]

In English, the term labyrinth is generally synonymous with maze. As a result of the long history of unicursal representation of the mythological Labyrinth, however, many contemporary scholars and enthusiasts observe a distinction between the two.”

Re:Ask HN: What is the most beautiful piece of code you've e... by jedberg on Monday October 28, 2019 @10:42AM (#21377418)
> a labarynth is a single twisting route without branches. A maze has branches and thus can have dead-ends.

I was today years old when I learned this.