TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Regex Golf Part 2: Infinite Problems

107 pointsby z0aover 11 years ago

8 comments

yen223over 11 years ago
Whether it's a testament to Python's clean syntax or Norvig's immense coding experience, I always find his code to be good examples of readable code. He even managed to make code about regexes look nice!
zaptheimpalerover 11 years ago
This is what happens when Randall Munroe nerd-snipes Norvig. Its a beautiful thing, very interesting!
holyjawover 11 years ago
Holy shit. That article was an intense read. Well worth it, in the end, though.
warrenmarover 11 years ago
Norvig teaches a Design of Computer Programs course on Udacity, which helps you think about solving problems.<p><a href="https://www.udacity.com/course/cs212" rel="nofollow">https:&#x2F;&#x2F;www.udacity.com&#x2F;course&#x2F;cs212</a>
TazeTSchnitzelover 11 years ago
Those un-wrapped lines of text are really annoying to read.
评论 #7288917 未加载
anaphorover 11 years ago
It&#x27;s quite amazing that he manages to do this sort of thing in his spare time, for fun. I guess he has decades of experience that most people don&#x27;t though :)
mrcactu5over 11 years ago
Peter Norvig of spell-checker fame explains us regexes.<p>I always get confused when I have to do NLP stuff and use the re library.
TophWellsover 11 years ago
I wish I&#x27;d known about Branch And Bound when I was a student - it would have probably come in handy a few times.