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: Will JavaScript take over the world of programming?

17 pointsby nawazdhandalaabout 8 years ago
I&#x27;m Nawaz and I work with CloudBoost.io We have SDK&#x27;s for JS, Android, iOS and more. We see more than 82% of our API consumption is with the JS SDK, 11% on Android and 6.8% on iOS and less than 0.2% on REST.<p>JS can now be used on the server (with Node), on mobile (with ReactNative &#x2F; Ionic &#x2F; etc), on the embedded (with CylonJS). Do you think there will be one language in the future which will make lives of dev&#x27;s a lot easier?

12 comments

seanmcdirmidabout 8 years ago
Even with improvements, there are often much better options than JavaScript. If you aren&#x27;t going web or had a limited talent pool&#x2F;codebase to economize in a mobile app or server (React Native&#x2F;Node), why would you choose JS? Why not C# (windows, games) or a nice functional language (Wall Street) or Python (ML)? In fact, from all I&#x27;ve experienced so far (as a researcher at MSR and now at HARC), it seems like JavaScript is either the only option, or not an option at all. The choice is pretty clear, especially as you move away from web and web-like mobile applications where JavaScript otherwise dominates or at least is viable.<p>There will never be one language, and honestly, learning languages is never really the bottleneck anyways (rather learning the domain and applicable libraries are). A single language to rule them all might boost industry productivity by .1 or .2%, maybe, but I doubt it.
tasubotadasabout 8 years ago
Short intro about me: I&#x27;ve been developing systems mainly in Javascript, PHP (I am ZCE and I dropped PHP 6 years ago), Java (OCMJD), and Python for the last 13 years, and for a few projects I have used TypeScript, Dart, C, and C++. A bit of Ruby.<p>That&#x27;s an absolute fantasy that JavaScript will be the one language that will be used as a single option in the future.<p>Not even taking into account that often languages and frameworks are chosen on the basis of the problem you are solving (and you just happen to work in the field where JS is more popular&#x2F;viable choice) - it is extremely poorly designed language (and probably only PHP is worse at this) and I always question the sanity of the people that choose to use it on server-side (but there are good reasons to use it there - they are just rare).<p>JavaScript is plagued with problems like: - No static typing support by default - Before ES6 the class support was a mess - No Standard Library! - NPM and the whole dependency system is hell<p>There is a reason why people keep writing languages like Dart, Elm, CoffeeScript, and TypeScript.<p>TypeScript and Dart deserve some special attention - the problems with JS were (and still are) so big and annoying that big companies like Google and Microsoft spend thousands of man-hours developing things like Static-typing support, Standard Libraries, and, most importantly, tooling.<p>And we haven&#x27;t yet scratched the &quot;real enterprise systems&quot; where transactionally support is a must. JavaScript has yet to go through so much shit to develop frameworks like JMS, Hibernate, and Spring that enable you to do all the fancy transactional stuff just with annotations. However, I do not see anybody developing something like JavaScriptSpring because JS fundamentals are broken and nobody will build big software in such a language because it is just not feasible.<p>I guess that&#x27;s enough for now - it&#x27;s already too ranty.
ubersoldat2k7about 8 years ago
It already has.<p>And you forgot on your list that JS makes your SmartTV, STB, Xbox, PS, Wii, and many more platforms work. An example, Netflix for all those platforms is made with JS. You&#x27;ve also got react native and Cordova for mobile.<p>The future is either JS or very specific systems languages (C&#x2F;C++&#x2F;Rust).
carsongrossabout 8 years ago
To a large extent it already has, although there are a lot of people fighting a rear-guard effort against it (myself included).<p>Web assembly may level the playing fields for other languages eventually but it will probably be too late, so javascript will continue to be the native imperative browser language and, in as much as developers care about &quot;one imperative language everywhere&quot; it will be the most obvious option.<p>My effort (intercooler.js) is to use HTML as the main client side language: it&#x27;s native and declarative, and lets you take advantage of REST&#x2F;HATEOAS naturally in a way javascript SPA frameworks don&#x27;t. By minimizing client side javascript, and since you are always going to be dealing with HTML anyway on the web, you can pick whatever backend technology you like (I like rails) without adding in a new language to the cognitive load of your app.
jeppzabout 8 years ago
Languages all have strengths and weaknesses, I don&#x27;t see why I would suddenly throw that away and only use JS.
_jezell_about 8 years ago
It already has, but it is at or near its peak. Javascript is a decent language, but the primary reason it is used everywhere is because, at the end of the day, it&#x27;s the only language browsers support. WebAssembly will soon change that.
laxentaskenabout 8 years ago
Cobol will. &#x2F;s
gregjorabout 8 years ago
No.
owebmasterabout 8 years ago
It will&#x2F;has, but not in the vanilla flavour. Clojurescript, for example, makes most of the anti-JS arguments silly, although a lot of people think they look smart bashing JS. C# is better than JavaScript? No f way. C# isn&#x27;t even better than Java, which a lot of high profile developers disgust more than JS.
评论 #13754375 未加载
peter-m80about 8 years ago
My vote goes to Dart
forgottenacc57about 8 years ago
Yes. I have been sucked into the JavaScript vortex.
doucheabout 8 years ago
I hope that with the advent of WebAssembly, Javascript can be thrown in the dustbin of history. Isomorphism, with a better language to do it in, sounds like a lot of fun.<p>Some days, I like to imagine a world where browsers had Python embedded as their scripting language.
评论 #13755577 未加载