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.

Ask HN: What is the ugliest code you've let slip?

6 pointsby mc42over 8 years ago
I&#x27;ve seen some horrible code run perfectly, and some inexplicable snippet that shouldn&#x27;t run work well enough.<p>What have <i>you</i> let make it to production that never should have been there, and likely was only intended as a temporary fix?<p>Did you ever get around to fixing it?

2 comments

dublinclontarfover 8 years ago
I have been told that the code I write is ugly, multiple times by different people.<p>The only time this has ever bothered me is when it&#x27;s in the interview process and costs me the job.<p>I usually stop working on code when it&#x27;s &quot;good enough&quot;, which is to say, when it works.<p>Maybe I have low standards.
评论 #13249283 未加载
评论 #13251650 未加载
bbcbasicover 8 years ago
I read the gang of four, got a hard on and banged out some code with lots of classes with really long names. Felt damn proud of it at the time. Wanted to be the next Martin Fowler, but probably just some confused poor sod now maintaining that pile.