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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

PHP Sadness

10 点作者 doodlesdev超过 1 年前

6 条评论

1shooner超过 1 年前
I'm not going to step through how many of these still apply, but this link hasn't been updated in 5 years and is referring to a version of the language discontinued over a year ago.
65超过 1 年前
My biggest PHP pet peeve has always been that the arguments are switched in the array_map and array_filter functions. array_map takes the callback first while array_filter takes the array first.<p>I understand that array_filter takes the array first so you don&#x27;t have to pass a callback if you just want to filter out empty values, but they could have designed these functions more consistently.<p>I forget which argument comes first when using these functions all the time.
评论 #38819565 未加载
评论 #38821074 未加载
yurishimo超过 1 年前
What is the point in this post here on HN? Old languages have tech debt too. We can acknowledge “bad” parts of languages but I’m not sure what the point of this post is, other than to foment and encourage conflict.<p>Someone post the “JS bad” blogs again for the people in the back.
bdcravens超过 1 年前
The first item in the list, the T_PAAMAYIM_NEKUDOTAYIM error message, doesn&#x27;t say anything about why the error is referenced that way. That&#x27;s Hebrew for &quot;::&quot;. The idea of using languages other than English to describe things is a big topic in itself, but to read the entry you&#x27;d think it was just nonsense letters.<p><a href="http:&#x2F;&#x2F;phpsadness.com&#x2F;sad&#x2F;1" rel="nofollow">http:&#x2F;&#x2F;phpsadness.com&#x2F;sad&#x2F;1</a>
评论 #38820205 未加载
bell-cot超过 1 年前
Looks like it was partly updated in 2018. Tempting to flag - but HN&#x27;s FAQ doesn&#x27;t mention &quot;reasonably up-to-date&quot; anywhere, so...
评论 #38819483 未加载
bawolff超过 1 年前
Is it just me, but do some of these seem like pretty minor issues.<p>Like requiring semi-colons at the end of a block. Really?
评论 #38820475 未加载