r/programming • u/balazsbotond • Aug 30 '15
JavaScript “maze generator” in a tweet
https://twitter.com/botond_balazs/status/637960240055615488
847
Upvotes
r/programming • u/balazsbotond • Aug 30 '15
View all comments
Show parent comment
1
u/RagingOrangutan Aug 31 '15
That's not really true. Dijkstra's algorithm or PageRank both have relatively simple steps but are quite clever. "Randomly pick / or \ and print it" is really not clever. The cleverness is in the fact that the display ends up looking a little bit like a maze. So it's marketing cleverness (he has turned something we all probably programmed when we were learning into something people think is interesting), not algorithmic cleverness.