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.

YourLanguageSucks

57 pointsby curtisalmost 6 years ago

18 comments

lwansbroughalmost 6 years ago
The site lists Microsoft being the defacto contributor to the C# language spec as a negative. Honestly I think Microsoft has been an excellent steward of the language, and their opinionated choices over the years have helped keep C# succinct while also capable and modern.<p>I&#x27;m a bit of a fanboy, but when you compare it to the language that has been around longer and is a direct competitor (Java), C# really blows it out of the water for most common programming tasks (async, operator overloading, pair&#x2F;triple returns in C# 7, var keyword, superior generics, to name a few.)
评论 #20523434 未加载
评论 #20525452 未加载
kev009almost 6 years ago
The go section is great, it&#x27;s such a derpy 1980s language:<p>&quot;Go&#x27;s error type is simply an interface to a function returning a string.<p>Go lacks pattern matching &amp; abstract data types.<p>Go lacks immutable variables.<p>Go lacks generics.<p>Go lacks exceptions&quot;<p>I&#x27;ve been searching for as succinct a criticism as this and now have it, thanks.
评论 #20523403 未加载
评论 #20523202 未加载
评论 #20523238 未加载
评论 #20523275 未加载
评论 #20523271 未加载
评论 #20523253 未加载
评论 #20523776 未加载
peteretepalmost 6 years ago
&quot;Perl 5 sucks because ... the regular expression syntax is horrid&quot;<p>So horrid that it&#x27;s become essentially standard :eye-roll:
jakearalmost 6 years ago
Why is it that these lists seemingly always give JS a hard time for function scoped variable declarations, but never give Python the same treatment?<p>Not to mention “nonlocal”...
评论 #20523140 未加载
评论 #20523180 未加载
评论 #20523015 未加载
评论 #20523148 未加载
评论 #20523225 未加载
soganessalmost 6 years ago
I get this is tongue in cheek, but I really wish this was a little more focused. Something more along the lines:<p>(1) Language x claims these as its design principles&#x2F;goals: P1, G1, P2...<p>(2) These y things subvert those aspirations.<p>(3) Modus ponens &amp;x suxxxorzzz_Aslang__<i></i><p>I&#x27;m not the biggest fan of Go for it&#x27;s stripped nature or Rust for the complex babysitting the type system needs, but I much prefer both to C. so that is a win for me and hence both achieve that goal.<p>Similarly, I love how expressive Scala is, that seems like an unspoken design goal of Odersky&#x27;s. You can&#x27;t get that without there being a million ways to do something.
zelon88almost 6 years ago
Thanks for the read! I appreciate the thought and work you put into this. And now my obligatory gripes!<p>Under the PHP section you claim<p><pre><code> &quot;if an included file must return a value but the file cannot be included, include statement returns FALSE and only generates a warning. If a file is required, one must use require().&quot; </code></pre> How is that a negative? That sounds like expected behavior to me and I can&#x27;t imagine it working any other way.<p><pre><code> $error = include(&#x27;script.php&#x27;); &#x2F;&#x2F; Return FALSE and continue anyway. require(&#x27;script.php&#x27;); &#x2F;&#x2F; Die with error. </code></pre> How is that undesirable&#x2F;wrong? It lets you do things like...<p><pre><code> $error = include(&#x27;script-A.php&#x27;); if ($error == FALSE) require(&#x27;script-B.php&#x27;);</code></pre>
wruzaalmost 6 years ago
I’m not going to defend other js parts, but calls on 0.1 + 0.2 != 0.3 and the type of nan both present the author as a non-skilled programmer at least. Big numbers and exact decimal-point numbers are out of scope of almost any general purpose language core for a reason. It is up to a programmer to decide whether this reason is applicable or not, but not blindly dismissing. Math is a+b, engineering is “%.14g”.
sdfjklalmost 6 years ago
Yay, Ada doesn&#x27;t suck! :)
ohazialmost 6 years ago
In C++, std::map&#x27;s operator[] will either return the element pointed to by the specified key, or if the key is not in the map, <i>will default construct an object and insert it into that key&#x27;s slot in the map</i>.<p>I really want to know who thought this was a good idea, because I&#x27;ve only ever seen this behavior act as a footgun.
Lowkeylokialmost 6 years ago
Since there&#x27;s not a section for <i>x</i>, that must mean that <i>x</i> doesn&#x27;t suck. &#x2F;s
评论 #20523280 未加载
sschuelleralmost 6 years ago
What ever language the site was written in sucks as the site is now down...
评论 #20523160 未加载
nurettinalmost 6 years ago
python sucks because: default parameters are only evaluated once.
评论 #20523208 未加载
评论 #20523187 未加载
majewskyalmost 6 years ago
&gt; XSLT&#x2F;XPath sucks because [...] It starts numbering from 1. Unlike <i>every single other</i> major programming language in use today.<p>Does Lua count?
devxpyalmost 6 years ago
I wonder why anyone would be so cruel as to put so much content in a single webpage.<p>Did they actually had the patience to write such a long article in a single file, or did they write it in multiple files, and then compiled it down to a single webpage for others to suffer?
factorialboyalmost 6 years ago
What is Backbase? Google throws up a company and not a language.
SwiftyBugalmost 6 years ago
As I thought, Swift doesn&#x27;t suck at all :)
eafkuoralmost 6 years ago
So basically clojure is awesome
评论 #20524386 未加载
评论 #20524258 未加载
SwiftyBugalmost 6 years ago
&gt; Camel case sucks<p>Why?