Back to front pageView on Hacker News (opens in a new tab)Ask HN: What is the most beautiful piece of code you've ever read?476 pointsby seisvelas (on Hacker News)7 years agoPreferably an elegant snippet rather than an entire (well engineered) codebase.Comments (380) 116 threadsShow all commentsShowing thread 72 of 116neuroscihacker7 years ago#https://github.com/seung-lab/dijkstra3d/blob/master/dijkstra... // Dijkstra, Edgar. "Go To Statement Considered Harmful". // Communications of the ACM. Vol. 11. No. 3 March 1968. pp. 147-148 if (neighboridx == target) { goto OUTSIDE; }
Ask HN: What is the most beautiful piece of code you've ever read?476 pointsby seisvelas (on Hacker News)7 years ago
neuroscihacker7 years ago#https://github.com/seung-lab/dijkstra3d/blob/master/dijkstra... // Dijkstra, Edgar. "Go To Statement Considered Harmful". // Communications of the ACM. Vol. 11. No. 3 March 1968. pp. 147-148 if (neighboridx == target) { goto OUTSIDE; }
Comments (380) 116 threads
Show all comments
Showing thread 72 of 116