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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Show HN: The JavaScript Way, a book for learning modern JavaScript from scratch

545 点作者 bpesquet将近 8 年前

17 条评论

bpesquet将近 8 年前
Hi all, author here.<p>Backstory: I&#x27;m a CS engineer&#x2F;teacher and this book is a side project started in December 2016. You can read a bit more about it here: <a href="https:&#x2F;&#x2F;medium.com&#x2F;@bpesquet&#x2F;walk-this-javascript-way-e9c45ab5b696" rel="nofollow">https:&#x2F;&#x2F;medium.com&#x2F;@bpesquet&#x2F;walk-this-javascript-way-e9c45a...</a>.<p>The writing process is now completed and I&#x27;m actively looking for feedback to make the book better. Any opinion or advice about content, pricing, or that hastily created Leanpub cover would be greatly appreciated. However, please keep in mind that this is a self-published effort still far from being polished and open to improvement.<p>I&#x27;d also like this thread to stay focused on the book itself, not on the merits&#x2F;weaknesses of JavaScript or the usefulness of choosing it as a first programming language.<p>Thanks in advance!
评论 #14870215 未加载
评论 #14872461 未加载
评论 #14869261 未加载
评论 #14871490 未加载
评论 #14869843 未加载
评论 #14873427 未加载
评论 #14872520 未加载
评论 #14874034 未加载
ryanmarsh将近 8 年前
I just got home from teaching JavaScript to a room full of people who&#x27;ve never written a line of code in their life.<p>This book is missing something critical that most intros to JavaScript overlook:<p>How does the student set up the plumbing and run their code?<p>It&#x27;s amazing how much of a hump this is for many trying to get started. It also amazes me how oblivious most of us programmers are to it.<p>&quot;Just open Chrome Dev Tools&quot; or &quot;put this in a file and run Node&quot; are really strange computer tasks to someone who has never typed and executed code.
评论 #14869810 未加载
评论 #14870109 未加载
评论 #14869895 未加载
评论 #14869743 未加载
评论 #14870789 未加载
评论 #14877555 未加载
评论 #14869840 未加载
评论 #14900065 未加载
评论 #14873461 未加载
评论 #14870393 未加载
评论 #14872975 未加载
sAbakumoff将近 8 年前
I think that the best book ever about JS for everyone, especially for those starting from scratch is <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> you simply don&#x27;t need anything else
评论 #14874880 未加载
le-mark将近 8 年前
Very, very nice. I briefly went over some chapters and I especially admire the &#x27;no framework&#x27; approach you&#x27;ve taken. I believe there&#x27;s a real need for a book like this, kudos to you for making it happen! What inspired you to create this?
评论 #14875365 未加载
internalfx将近 8 年前
Another great JS book on github...<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>
评论 #14873416 未加载
评论 #14874521 未加载
eksemplar将近 8 年前
If you ask me all that you need to know about modern JavaScript is that it exists mainly to sell online learning material.<p>But I may be a bitter old man and your resource looks pretty good.
dotnetkow将近 8 年前
Saw this on Reddit last night, poked around on a few pages. It&#x27;s great! Love the movie list example on this page: <a href="https:&#x2F;&#x2F;github.com&#x2F;bpesquet&#x2F;thejsway&#x2F;blob&#x2F;master&#x2F;manuscript&#x2F;chapter10.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bpesquet&#x2F;thejsway&#x2F;blob&#x2F;master&#x2F;manuscript&#x2F;...</a>. Going from &quot;for&quot; loops into map&#x2F;filter&#x2F;reduce concepts is an excellent way to teach!
ThomPete将近 8 年前
This is great!<p>I am fairly familiar with programming having done both AS, Lingo and PHP I understand code when I see it. I am however not a programmer but more a technically oriented product designer and so I don&#x27;t get to practice as often.<p>I have been trying to get into javascript and while I understand all the fundamentals it&#x27;s still not something that I feel comfortable doing which is a shame as it&#x27;s kind of the language of the internet.<p>Skimming through this books it looks like the perfect way for me to spend my next two weeks of vacation so thank you so much.<p>Is there a way to to donate to you?<p>Having made something as comprehensive as this you need to think about how to break it up so that you keep users engaged and so that you cam maximise your revenue. Selling books is mostly a spike and then long slow ramp towards halt so make sure you keep your content alive.<p>If I may come with two suggestions.<p>1. Make a forum for your readers perhaps in the form of an online reading group so that you have someone to go through the book with.<p>2. Make a step by step email course where you go through the book and have people turn in assignments perhaps even in forums.<p>3. Let people hire you as a private teacher perhaps build up . a network of private teachers. (Ok that was three suggestions)<p>These I think would be great ways to monetize.
评论 #14877437 未加载
partycoder将近 8 年前
What all these tutorials omit is the tradeoffs JavaScript and node incur in order to be simple and friendly.<p>- In JavaScript: no type annotations, numbers are floating point numbers, garbage collected, no multi-threading in the language spec. There are some ways to workaround these limitations, but they&#x27;re not a part of the language.<p>- The concurrency model of node, based on libuv event loop. This dictates what node is good for and what is not good for. Short lived tasks = good. Long lived tasks = bad (service degradation + cascading failures bad)
leke将近 8 年前
I love the tl;dr section. It&#x27;s basically what I have do when reading books, in order to recall the essential information without having to read the entire chapter again. Well played.
jchien17将近 8 年前
Should one learn ES2015 before learning ES5? Is there any value or need to learn ES5 if you&#x27;re not maintaining an old codebase?
评论 #14872631 未加载
评论 #14874913 未加载
评论 #14871016 未加载
scottmf将近 8 年前
Looks great. I love modern JS, and the faster everyone can move on, the better!<p>I didn&#x27;t see any async&#x2F;await stuff though, is there a reason for that? I&#x27;d imagine it would make some code much easier to follow.
评论 #14872500 未加载
评论 #14872419 未加载
baalimago将近 8 年前
Didn&#x27;t know &quot;var&quot; was outdated. Good stuff, thanks!
评论 #14871696 未加载
noir_lord将近 8 年前
This is incredible.<p>GF wants to learn to program, she has a strong math&#x2F;finance background and I think she&#x27;d be good at programming but the web can be a bit overwhelming in totality.
oblib将近 8 年前
I went over a few chapters this afternoon and really enjoyed what you&#x27;ve put together. I&#x27;ll definitely recommend it to friends who ask me about learning to code.
drngdds将近 8 年前
This is really good! And I like the dig at 9gag :)
minademian将近 8 年前
this looks promising. I like how it teaches the concepts using plain Javascript without focusing on a tool or library. Kudos.