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 Hate JavaScript”

4 pointsby fzaninottoover 9 years ago

2 comments

deadowlover 9 years ago
PHP is extremely inconsistent, has pitfalls that are easy to fall into, but it&#x27;s useful because you practically don&#x27;t need to worry about importing much because they just put everything in the core.<p>Javascript was actually fairly consistent, despite having some pitfalls, until they decided to add classes and lexical scoping (e.g. you can&#x27;t actually bind a context to a fat-arrow function, while you can for the older syntax), so now there&#x27;s like 5 different ways to do everything and some have more pitfalls than others. At least I know how I can use the updates to make my own code cleaner, and new coders can just ignore that prototypal inheritance ever existed and the unique design patterns that came with it.
评论 #10676548 未加载
bricssover 9 years ago
+1536