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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

JavaScript has beguiled the current generation of software developers

44 点作者 wodahs02大约 9 年前

25 条评论

colemannerd大约 9 年前
When I see the term "no self-respecting" developer, I know the article is going to be highly opinionated and complaint oriented with very little new information to discuss. I continue to be proved correct with this article.
评论 #11573540 未加载
评论 #11573253 未加载
评论 #11573387 未加载
grandalf大约 9 年前
I had to check to see if the article was dated April 1.<p>JS is both a compiler target and a language itself. WebAssembly enhances the runtime as a compiler target.<p>JS is also moving very fast, as evidenced by Babel. There are some big, bold ideas being explored in React, Angular, Om, elm, clojurescript, etc. I hesitate to take seriously anyone who thinks this is a bad thing, just as I hesitate to take seriously anyone who is a strong supporter of a major political party.<p>We simply don&#x27;t need a single point of authority telling us the best way to do things, even if they are soon obsoleted, competition and sharing of ideas is good. I&#x27;ve learned a lot by exploring all of the frameworks he mentioned. Recently the Ember and React teams have been collaborating extensively, and I can&#x27;t wait to see all that comes out of it (notably with respect to styling components).<p>The most embarrassing assertion the author makes is that CS curricula teach &quot;programming languages&quot;. It teaches a way of thinking, and it really doesn&#x27;t matter much which language is used as long as the basic principles are covered. JS might make a good language to look at when studying language design tradeoffs, since in some ways it falls short but has also become the dominant language when measured in terms of the number of runtimes in use in the world at any given moment.<p>So while the author does seem to wish to be constructive (he links to a vague proposal) the article is just clickbait and really shouldn&#x27;t be taken seriously. If you are a new programmer reading the article and feeling discouraged, don&#x27;t lose heart. Build stuff and you&#x27;ll learn. Eventually try some other languages if all you&#x27;ve tried is JS, but don&#x27;t listen to the nonsense in the article.
评论 #11576148 未加载
评论 #11577661 未加载
overcast大约 9 年前
JavaScript, for better or for worse, like it or not, is here to stay. There is a ton of resources, by a huge community, and large corporations being thrown at improving it. This author needs to get off his high horse.
评论 #11573418 未加载
gorpomon大约 9 年前
The author makes two decent points:<p>1. Javascript popularity is tied to web popularity<p>2. Web popularity is shrinking<p>But he makes it in such a histrionic way that it&#x27;s hard to focus on that over his bombast.<p>You can sound the alarms over almost any language if you want too, it&#x27;s fun but hardly informative.<p>Java - only for companies that don&#x27;t want to be agile<p>Python - Great for hacking on the weekends, but no killer use case<p>Ruby - Only has Rails, and the web is shrinking<p>Haskell&#x2F;Scala&#x2F;Whatever - Never gonna break out of a university<p>These are well worn arguments that don&#x27;t really capture that jobs and companies tech stacks are much more nuanced than these simple statements. If you care about code, you&#x27;ll find work, no matter what language beguiled you first. If anything, Javascript hasn&#x27;t beguiled a generation of developers, the web has. And if we move on from the web, we&#x27;ll move on from JS, and as long as we care about what&#x27;s next, we&#x27;ll thrive.
评论 #11573754 未加载
pcwalton大约 9 年前
For all the text the author wrote about how bad JavaScript is, I had to click through two links to find any actual substantive complaints about JS, which were (1) JS doesn&#x27;t have an array type; (2) JS doesn&#x27;t have an integer type. (1) seems false to me (extra false if you count Typed Arrays), and (2) is being worked on in the committee.<p>(I think JS has a lot of flaws, but it&#x27;s not as bad as its reputation suggests.)
评论 #11573480 未加载
askyourmother大约 9 年前
I think in time, we will look back at the mess of &quot;modern js&quot; development, including the true shit-show of npm, in the same way we look back at the horrors of J2EE, XML hell, bean hell, FactoryOfFactoryOfFactoryofEclipsePleaseAutoCompleteThisBeforeRSIsetsIn, and the rest.<p>The only interesting bit is whether it will be webassembly or something else that actually drags us into a paradigm shift for the web.
评论 #11573386 未加载
评论 #11573455 未加载
评论 #11573579 未加载
sgift大约 9 年前
&gt; JavaScript is intrinsically a dysfunctional language. It has many more flaws than any other programming language in wide use. JavaScript is wholly unsuitable for serious software engineering, esp. at scale. When your application grows to tens of thousands of lines of code, it becomes much more difficult to maintain, much more difficult to ensure a specific level of quality.<p>Replace Javascript with PHP and you get the usual complaint people have about PHP (but there&#x27;s still Facebook). Replace a few words and Javascript with Java and you get another common complaint, still, all these languages are in active use at various companies, so maybe they have their uses?
评论 #11573234 未加载
评论 #11573462 未加载
chrisabrams大约 9 年前
NASA, PayPal, Uber, Facebook, Yahoo, Fitbit, Intuit are all using Node.js...guess they&#x27;re all just niche too?
评论 #11573305 未加载
评论 #11575818 未加载
jahewson大约 9 年前
This is a poorly written opinion piece from someone who isn&#x27;t a JavaScript developer. Most arguments he makes have no facts to back them up. Many of his claims are made from a position of obvious ignorance: many Fortune 500 companies do in fact use JavaScript, and an incredible number of startups do. To claim otherwise is just ridiculous. He claims that games could never use JS and yet WebGL has already given us this.<p>So what industry-favourite, startup-embraced, wildly popular language does this author advocate?<p>Smalltalk.<p>Seriously?
评论 #11576030 未加载
评论 #11574000 未加载
andor大约 9 年前
<i>&quot;On the server side, we’ve seen Node.js gain traction for “back end” applications. But Node has been pretty much relegated to a web niche. ERP solutions like SAP aren’t using Node. While a company may use JS for their website, don’t expect any serious shop to be washing their critical Business Intelligence data through JS code. The truth is, most Fortune 500 shops aren’t basing their businesses on JavaScript and never will.&quot;</i><p>Next time you make such a bold claim, maybe Google it for a few seconds ;-) Legacy SAP stuff predates Javascript. Modern SAP stuff is different, &quot;HANA Extended Application Services&quot; is actually a server-side Javascript runtime. What is HANA made for? Exactly, &quot;critical Business Intelligence data&quot; ;-)<p><a href="http:&#x2F;&#x2F;scn.sap.com&#x2F;community&#x2F;developer-center&#x2F;hana&#x2F;blog&#x2F;2015&#x2F;10&#x2F;25&#x2F;sap-endorses-nodejs" rel="nofollow">http:&#x2F;&#x2F;scn.sap.com&#x2F;community&#x2F;developer-center&#x2F;hana&#x2F;blog&#x2F;2015...</a><p><a href="http:&#x2F;&#x2F;help.sap.com&#x2F;hana&#x2F;SAP_HANA_Developer_Guide_for_SAP_HANA_Studio_en.pdf" rel="nofollow">http:&#x2F;&#x2F;help.sap.com&#x2F;hana&#x2F;SAP_HANA_Developer_Guide_for_SAP_HA...</a>
评论 #11576261 未加载
lost_name大约 9 年前
If you&#x27;re wondering whether or not to take this with a grain of salt, please note the author has a section of his blog devoted to explaining why javascript is apparently bad.<p><a href="https:&#x2F;&#x2F;medium.com&#x2F;javascript-non-grata" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;javascript-non-grata</a>
评论 #11573464 未加载
gmisra大约 9 年前
Headline is intentionally awful. tl;dr: the &quot;lie&quot; is that javascript is a bad language, and developers should not learn it.<p>Proceed if you enjoy programming language screeds, this one makes few technical points and focused on the argument that learning JS is not a practical professional decision.
评论 #11573432 未加载
emodendroket大约 9 年前
&gt; Even Redmonk’s language ranking is deceptive. JavaScript is on top because of the massive number of lines of code committed to Github. What are we to make of this? Well, JS is the native language of the web browser; if you want to write a browser application, you have no choice (for now). Redmonk is effectively saying that the web is popular, not that JavaScript is popular. Duh!<p>I&#x27;d probably also add that a lot of that is probably copies of popular libraries just getting checked into people&#x27;s projects implemented primarily in other languages.<p>I&#x27;m more excited about SPAs and other stuff happening in the browser than this guy is but I don&#x27;t really get the JS outside of the browser hype.
awjr大约 9 年前
I find this hard to swallow as somebody that works with JavaScript on a daily basis both as a backend and front-end technology.<p>For one thing, it&#x27;s an intellectually interesting space to be in and for another, there is so much of the open source community working in this space, it just simply allows me to stand on the shoulders of giants and deliver.<p>Checkout <a href="http:&#x2F;&#x2F;githut.info&#x2F;" rel="nofollow">http:&#x2F;&#x2F;githut.info&#x2F;</a> and, yes npm.<p>I recognise there are failings in JavaScript and that is why I&#x27;ve switched to TypeScript and now transpile to JavaScript.<p>Do I think there are problems with JavaScript? Of course there are, but does it make it a bad language? No.
acbabis大约 9 年前
&gt; The truth is, most Fortune 500 shops aren’t basing their businesses on JavaScript and never will<p>I&#x27;m not sure what the author means by &quot;basing their businesses on JavaScript&quot; but lots of Fortune 500 companies are using the SPA frameworks he decried. Facebook (Fortune 500) - not only uses - but <i>invented</i> React, Google <i>invented</i> Angular, and the Fortune 500 company I work for has Angular applications in production.<p>Maybe the author meant &quot;No Fortune 500 company is putting all their eggs in one basket,&quot; but that&#x27;s just tech in general.
评论 #11575697 未加载
评论 #11573843 未加载
tyingq大约 9 年前
Basically a big rant about javascript.<p>I do agree, at a high level, that the litany of frameworks, and which ones to use together...is a barrier right now.<p>It&#x27;s somewhat amusing to compare the effort required to make a relatively simple &quot;SPA&quot;, versus doing the same thing in a &quot;fat client&quot; via C#, Java&#x2F;Swing, or similar.<p>But, it&#x27;s a relatively new ecosystem. I&#x27;m sure the dust will settle sooner or later, and a reasonable end-to-end solution will emerge.
nailer大约 9 年前
&gt; a wild wild West of free-for-alls with most of these frameworks having the life span of a fruit fly. Think Angular, React, Ember, Meteor, Backbone, Knockout, Express, Mithril, Aurelia, etc., etc., etc.<p>Ember is nearly 5 years old. I don&#x27;t use it, but it&#x27;s very much a mature project.
评论 #11575640 未加载
评论 #11573624 未加载
hsileng大约 9 年前
As I am reading this, my reaction is &quot;Don&#x27;t let perfect be the enemy of good&quot;
评论 #11573390 未加载
georgebonnr大约 9 年前
Check out his facebook feed... a theme definitely emerges. <a href="https:&#x2F;&#x2F;www.facebook.com&#x2F;richard.eng1" rel="nofollow">https:&#x2F;&#x2F;www.facebook.com&#x2F;richard.eng1</a>
groby_b大约 9 年前
Well, the previous generation of developers (or maybe that&#x27;s more than one ago) came here via BASIC. As it turns out, availability trumps theoretical beauty when it comes to learning.
cm127大约 9 年前
This article is over five years late. Get over it: JavaScript is a usable language.
_fizz_buzz_大约 9 年前
I love javascript, and if love is wrong I don&#x27;t want to be right!
sassyalex大约 9 年前
Une debliteration de conneries non fondées, comme d&#x27;habitude.<p>Stupid article.
Polarity大约 9 年前
it works
brador大约 9 年前
Maybe developers value it&#x27;s simplicity over it&#x27;s ability to tick functionality boxes? I know I do.<p>Same with PHP and JAVA. Dysfunctional languages, yes. But fun and easy to use.
评论 #11573527 未加载