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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: How should I start with modern JS?

3 点作者 Peradine超过 9 年前
I've got a little experience with Python, and I like how the simplistic syntax works. I'm keen to develop JS code, but I'm confused by the current JS ecosystem. Is it best to learn normal JS, or some compiles-to-JS language (like coffeescript etc). And is there anywhere I can learn about the apparently huge number of JS tools and workflows out there?

2 条评论

lsiunsuex超过 9 年前
Start with pure JS. No JQuery, no React, no Angular. Just pure JS.<p>Once you get a grip on what the language is capable of and how to use it, then you can understand how the frameworks work and why they save time &#x2F; make life easier (or harder).<p>I once worked with a programmer that learned Laravel without actually learning PHP. That&#x27;s great - he could jump into Laravel projects, but when it came time for him to help on anything custom or WP sites; he was completely lost. He also had no idea how or why Laravel worked; just that he memorized x snippets of code and they produced a result.<p>It&#x27;ll make you a better programmer in the long run.
评论 #11020018 未加载
评论 #11019064 未加载
Oatseller超过 9 年前
A good place to start is MDN (Mozilla Developer Network): <a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;</a><p>MDN Javascript resources: <a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;JavaScript" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Web&#x2F;JavaScript</a><p>Before starting the tutorials, take some time to learn what&#x27;s available in the Firefox developer tools. You won&#x27;t need most of them at first, but knowing what&#x27;s available will help as you gain experience.<p>The two developer tools you&#x27;ll probably use most when leaning are the Scratchpad (<a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Tools&#x2F;Scratchpad" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Tools&#x2F;Scratchpad</a>) and Console (<a href="https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Tools&#x2F;Web_Console" rel="nofollow">https:&#x2F;&#x2F;developer.mozilla.org&#x2F;en-US&#x2F;docs&#x2F;Tools&#x2F;Web_Console</a>)<p><a href="https:&#x2F;&#x2F;jsfiddle.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;jsfiddle.net&#x2F;</a> &amp; <a href="http:&#x2F;&#x2F;jshint.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;jshint.com&#x2F;</a> will also be very useful while learning JS<p>I haven&#x27;t taken any but Udacity has some javascript courses (<a href="https:&#x2F;&#x2F;www.udacity.com&#x2F;courses&#x2F;all" rel="nofollow">https:&#x2F;&#x2F;www.udacity.com&#x2F;courses&#x2F;all</a>), just tick the &quot;Javascript&quot; checkbox under &quot;Technology&quot; in the left menu<p>Some additional resources:<p><a href="https:&#x2F;&#x2F;developer.chrome.com&#x2F;devtools" rel="nofollow">https:&#x2F;&#x2F;developer.chrome.com&#x2F;devtools</a><p><a href="https:&#x2F;&#x2F;msdn.microsoft.com&#x2F;library&#x2F;bg182326(v=vs.85)" rel="nofollow">https:&#x2F;&#x2F;msdn.microsoft.com&#x2F;library&#x2F;bg182326(v=vs.85)</a><p><a href="https:&#x2F;&#x2F;msdn.microsoft.com&#x2F;en-us&#x2F;library&#x2F;d1et7k7c(v=vs.94).aspx" rel="nofollow">https:&#x2F;&#x2F;msdn.microsoft.com&#x2F;en-us&#x2F;library&#x2F;d1et7k7c(v=vs.94).a...</a><p><a href="http:&#x2F;&#x2F;www.ecma-international.org&#x2F;ecma-262&#x2F;6.0&#x2F;index.html" rel="nofollow">http:&#x2F;&#x2F;www.ecma-international.org&#x2F;ecma-262&#x2F;6.0&#x2F;index.html</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;getify&#x2F;You-Dont-Know-JS" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;getify&#x2F;You-Dont-Know-JS</a><p><a href="https:&#x2F;&#x2F;addyosmani.com&#x2F;resources&#x2F;essentialjsdesignpatterns&#x2F;book&#x2F;" rel="nofollow">https:&#x2F;&#x2F;addyosmani.com&#x2F;resources&#x2F;essentialjsdesignpatterns&#x2F;b...</a><p>Dated but still worth watching:<p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=hQVTIJBZook" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=hQVTIJBZook</a><p><a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=bo36MrBfTk4" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=bo36MrBfTk4</a><p>edit: added addl. resources