TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Company Failed from Poor Code?

2 点作者 lfmunoz46 个月前
Have you been at a company that failed from poor code quality?<p>We all know the importance of code quality but it is very difficult to quantify. Many companies have average code quality and seem to do fine. To understand this better please share your experience when working with poor code quality and what was the breaking point.<p>Also share what language and technologies were used and if managers were forcing language choices or making bad decisions. Also if from experience give your opinion if certain technology leads to poor quality.<p>For example I think JavaScript leads to bad code quality. Mangers will want to use JavaScript because they think it is faster to write and can find more qualified candidates. They don&#x27;t realize that good programmers should be able to write code in any language and that code writing efficiency is significantly less important than code reading efficiency.

2 条评论

gibbitz6 个月前
I agree with the previous post here. In general garbage code hasn&#x27;t broken a company I&#x27;ve worked for either.<p>A couple of cents I&#x27;d throw in, though:<p>Security holes are a marker of poor quality code and depending on the business sector that can break a business (healthcare, net security, VPN etc.). I don&#x27;t have a clear case in mind, but it seems plausible.<p>JavaScript is fine as a language, the problem is the proficiency and understanding developers writing it have. I&#x27;ve seen terrible .NET and Java code that is just as bad as any JavaScript code I&#x27;ve encountered and the common denominator has always been outsourcing. Having worked for a consultancy in the past, I know they pass iOS developers as React Developers to get contracts and vice-versa. You can bet the code they write isn&#x27;t the best.<p>If it helps, this doesn&#x27;t end at software. It happens in all sectors due to the pull of profits. Remember the Yugo?
评论 #42023303 未加载
solardev6 个月前
Every company I&#x27;ve ever worked with (as a web dev) has had shitty code somewhere, usually huge gobs of it, but as far as I can tell it&#x27;s never been a business make-or-breaker. It all gets refactored or completely rewritten every few years anyway, or with every new team lead or whatever. I&#x27;d say poor code quality is the overwhelming reality in small-med businesses, especially those that aren&#x27;t directly in tech (i.e. not a SaaS) but still need web code for whatever reason.<p>It&#x27;s especially bad in web. Not just Javascript, but React and its 30 state management libraries and routing frameworks, most abandoned years ago, that get coupled with npm libs from last decade and terrible patterns invented by twenty different outsourced bootcamp devs.<p>Javascript isn&#x27;t easier to write (IMHO), but it DOES have a shit ton of employable candidates. People choose React not because it&#x27;s the best, but because React is the new Wordpress and it&#x27;s super easy to hire for compared to any other library, framework, or even language.<p>Programming (at least web dev) isn&#x27;t the art it used to be. It&#x27;s just another trade skill now, and companies hire commodity coders at bargain-basement prices... it&#x27;s only going to get worse as more and more of it gets combined with AI generated half-working code.<p>Is anyone going to care? I really doubt it, as long as it lowers overall costs (and it will). Almost every company is going to choose shitty, mostly-working code if it&#x27;s 2x or 3x cheaper than perfect code.