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.

Commenting Code Properly

8 pointsby sailfrogover 12 years ago

5 comments

sneakover 12 years ago
The comments are stupid, the headline is wrong, and you're parsing HTML with regular expressions.<p>It would be hard to craft a submission worse than this.
评论 #4913097 未加载
eccpover 12 years ago
Don't use regexes to parse HTML, use BeautifulSoup instead. Also, don't use "brogrammer" style comments, they are not funny enough.
评论 #4913051 未加载
donutdan4114over 12 years ago
I thought it was funny. I'd rather see funny comments, than no comments at all.
talleyrandover 12 years ago
Love it! Code comments need more adjectives and Culture Club lyrics.
wjgeorgeover 12 years ago
err, no.