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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

The Sad State of Web Development

63 点作者 chrisdotcode超过 9 年前

5 条评论

atonparker超过 9 年前
This article mostly seems to be saying &quot;my problems don&#x27;t require your solutions&quot;. So don&#x27;t use them. We all know jQuery still works.<p>A more charitable reading would be &quot;don&#x27;t use complex tools to solve simple problems&quot;. That&#x27;s a fine piece of advice when your problems are simple. Simple problems rarely stay that way. Most of these articles lamenting the state of front end development make a similar concession:<p><i>If I see a section on my app that is really hard to with Pjax&#x2F;Turbolinks and jQuery, I’ll bring in a library&#x2F;framework like Vue.js, React, Angular. All good choices for doing really complex forms(although I find Angular to be the best at this), with a ton of conditional validation. You know what though, these are the outliers in my experience, not the norm.</i><p>Sure, adding a form to your front page can be done with a couple lines of vanilla javascript. But you suffer the cost of a framework or library at the start of a project because it pays dividends at the end of a project. When you have to filter a list of ten thousand items as the user types, you&#x27;ll probably wish you could use virtual DOM diffing. When you have to step through a series of ten asynchronous requests before updating a view, you&#x27;ll probably wish you could use async&#x2F;await. When your site takes five seconds to load over 3G because of your single monolithic codebase, you&#x27;ll probably wish you could tree-shake your dependencies. The tools mocked by the author have real uses, he just refuses to see them.
评论 #10885740 未加载
dimgl超过 9 年前
While I&#x27;m not a huge fan of the tone, I do agree with a few points. The ES6&#x2F;ES7 syntax is freaking awful... I still write almost all of my JavaScript code in ES5 because I don&#x27;t really want to have to deal with all of the magical stuff Babel&#x2F;Traceur&#x2F;TypeScript&#x2F;whatever is doing behind the scenes.<p>That being said, it&#x27;s not all bad. System.js&#x2F;JSPM has improved my front-end workflow quite a bit and the SPAs I&#x27;ve made with the new workflow have been both stable, compatible and fast (very few end user complaints, lots of praise, quick development). So while some things have become convoluted, not everything is dire.
ctstover超过 9 年前
This makes me so glad I don&#x27;t work on anything near web development. You know there about two dozen other major areas in software if you ever want to something different. Just saying. On the other hand, the labor shortage in the other areas is so much more pronounced thanks to the popularity of the web (and mobile) that I really should be more thankful for it.
评论 #10885623 未加载
smrtinsert超过 9 年前
Outside of Reagent for clojurescript, I&#x27;m not that interested in using React. It does seem like a step back in readability and 9 times out of 10 you don&#x27;t need to use virtual dom because you know exactly what is changing and where.<p>With clojurescript it was a no brainer since the effort to make it reactive was functionally 0 compared to default hiccup data structures.
api超过 9 年前
Most of the things he whines about apply to all dynamic languages, since you can&#x27;t catch API drift bugs except at runtime.
评论 #10891744 未加载