网络科技

    今日:498| 主题:244820
收藏本版
互联网、科技极客的综合动态。

[其他] Everything is fine with JavaScript

[复制链接]
╰素颜乜倾城° 发表于 2016-10-5 02:44:00
154 3

立即注册CoLaBug.com会员,免费获得投稿人的专业资料,享用更多功能,玩转个人品牌!

您需要 登录 才可以下载或查看,没有帐号?立即注册

x

Everything is fine with JavaScript-1 (everything,instrument,principles,concerned,something)

  this is the only paper that’s willing to tell the truth: that everything is just fine.
   There’s a sort of blog post you’ve probably read - a sarcastic stab at JavaScript and npm and frameworks. There are too many, it’ll say, and it’s confusing, and how did we make such complicated things? It’ll grab names from the ecosystem and present them as equal choices in a comic attempt to construct decision paralysis. Everything moves too fast, and there is too much of it.
  I think it’s a decent time to review some principles
  Obsession with shiny things is a personal problem and something you can avoid

   I occasionally hang out on guitar forums. They have a name for this thing: Gear Acquisition Syndrome , or GAS. It is what it sounds like - when you’re more concerned with getting an OCD Fuzz pedal to round out your rig than you are with learning how to play the instrument.
   GAS with guitars works the same way as with programming: you start asking whether you’re using the best possible distortion pedal, start your research, and a few weeks later you own $2,000 worth of distortion pedals.
   Coding is a craft, for which you need tools. Some of them are shiny, some are new, some are old. They all basically work. Change your tools if they aren’t working for you, and otherwise don’t. Heck, for many startups and almost all early-stage startups, the choice of technology stack really doesn’t matter .
  You have to use different tools for different problems

  Creating a data visualization? Probably use d3. An application? React and Redux. A library? You might not need any framework.
  This is pinned on the JavaScript ecosystem, somehow. If you look at the context, though, it’s what you have to do when you create literally anything. If you’re a Python developer, do you use Twisted or asyncio? If you’re an architect, do you use wood or brick? Do you use pen or pencil?
   Sometimes materials are best-in-class for what they do: now that there’s lodash , there are relatively few reasons to use underscore . Other times they’re still duking it out to see what’s best - browserify or webpack, for example, fix the same problem. But a lot of the time they’re clearly for different purposes: I, for instance, use React when writing a large application like Mapbox Studio, but don’t use a framework writing libraries that need to be small.
  As you learn and grow, you’ll acquire a go-to list of technology for each task. It isn’t the same as an exhaustive list: at most you might know 5 systems thoroughly. You mainly become capable by mastering these systems, not by tinkering with every alternative.
  If someone is holier-than-thou about technology choices, they’re wrong and you should ignore them
   If you read the snark, it sounds like you’re required to switch frameworks as soon as a new one accrues more stars on GitHub. Or that you must use functional programming. This may be the case in San Francisco - I don’t live there - but in the rest of the world, that’s nonsense. There are successful companies using every stack, from PHP to Haskell.
   So enjoy the rants, if you do, but when you read How it feels to learn JavaScript in 2016 , ask yourself: is the problem with the technology, or is it the unnamed antagonist with that judgmental snark? Or is it that the conversation is never driven by a problem that needs to be solved, but instead organized as a grand tour of all possible tools?
友荐云推荐




上一篇:Google Assistant is getting smart as hell
下一篇:Criteo To Acquire HookLogic For $250M In Push For Full Commerce Stack
酷辣虫提示酷辣虫禁止发表任何与中华人民共和国法律有抵触的内容!所有内容由用户发布,并不代表酷辣虫的观点,酷辣虫无法对用户发布内容真实性提供任何的保证,请自行验证并承担风险与后果。如您有版权、违规等问题,请通过"联系我们"或"违规举报"告知我们处理。

摩天輪的仰望 发表于 2016-10-5 05:29:01
这么好的帖子,应该加精华!
回复 支持 反对

使用道具 举报

skynoface 发表于 2016-10-5 11:59:28
楼主,我这人不太会说话,如果有什么冒犯的地方,也是为了顶你!
回复 支持 反对

使用道具 举报

莉幺儿 发表于 2016-10-25 02:15:15
为虾米总也抢不到沙发?!!
回复 支持 反对

使用道具 举报

*滑动验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

我要投稿

推荐阅读

扫码访问 @iTTTTT瑞翔 的微博
回页顶回复上一篇下一篇回列表手机版
手机版/CoLaBug.com ( 粤ICP备05003221号 | 文网文[2010]257号 )|网站地图 酷辣虫

© 2001-2016 Comsenz Inc. Design: Dean. DiscuzFans.

返回顶部 返回列表