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.

I Am Switching to JavaScript

43 pointsby mrtbldabout 5 years ago

11 comments

_bxg1about 5 years ago
This is satire but it&#x27;s pretty lame and unconvincing satire, so much so that I didn&#x27;t realize it until about 1&#x2F;3 of the way in. The funniest thing here is a Go developer complaining about <i>JavaScript&#x27;s</i> unpredictable behavior.<p>I&#x27;m not going to take the bait and start a flame-war. I will just say that odd quirks don&#x27;t make either of them a bad language because they each have many other benefits. And that the author shouldn&#x27;t quit his day job to become a comedian.
评论 #22752020 未加载
cs702about 5 years ago
This had me laughing the whole way through.<p>One of the most sarcastic put-downs of a language I&#x27;ve ever seen.<p>It won&#x27;t change anyone&#x27;s mind; that&#x27;s not its purpose.<p>It&#x27;s meant to be funny. Don&#x27;t take it too seriously. Read it for fun.<p>--<p>EDIT: We all know there are <i>lots</i> of reasons to use JS for a ton of use cases -- indeed, JS is currently the most widely used language on Stack Overflow: <a href="https:&#x2F;&#x2F;insights.stackoverflow.com&#x2F;survey&#x2F;2019#technology-_-programming-scripting-and-markup-languages" rel="nofollow">https:&#x2F;&#x2F;insights.stackoverflow.com&#x2F;survey&#x2F;2019#technology-_-...</a> -- but that doesn&#x27;t mean we can&#x27;t recognize and laugh at the idiosyncrasies of the language :-)
评论 #22750047 未加载
edflsafoiewqabout 5 years ago
<p><pre><code> 3.14 % 5 &#x2F;&#x2F; 3.14 13.14 % 5 &#x2F;&#x2F; 3.1400000000000006 </code></pre> There&#x27;s nothing strange about this, it is, as you would expect, exactly 13.14 - 10.
评论 #22749882 未加载
samchengabout 5 years ago
If you enjoyed this, you&#x27;ll also enjoy this &quot;Wat&quot; video:<p><a href="https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;wat" rel="nofollow">https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;wat</a>
dahartabout 5 years ago
Ah, it got me, I have to admit it. I thought the author was just mildly confused about JavaScript after skimming most of the article, and then I looked again at the date. I’m the April fool. I don’t mind using doubles for integer arithmetic though, they have 53 bits of mantissa, so you have a larger range of exact integer arithmetic than with an Int32Array...
yoavabout 5 years ago
I don’t think they’re switching to JavaScript
LandRabout 5 years ago
This is an Aprtil fools right?<p>&gt;&gt; This is something I have been waiting for: exact arithmetics. It is incredible to think about a language having such a feature.<p>Haha!
spegabout 5 years ago
Haha. Took me longer than it should have ;)
JeanMarcSabout 5 years ago
Started to read. Asked myself « but...why ? » Gone back to the top to check the date Oh... right !
hazelnutabout 5 years ago
Great article!<p>What date is it again?
drooblesabout 5 years ago
lol