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.

Eloquent JavaScript 3rd Edition (2018)

767 pointsby quazarabout 5 years ago

19 comments

neoviveabout 5 years ago
I&#x27;m actually working through this book right now. I&#x27;ve been away from front-end coding for a bit and my weekend&#x2F;evening project over the next month is to brush up on modern Javascript and ReactJS. This book is very well written and great re-introduction to JS&#x2F;programming fundamentals.<p>For those interested--Besides this book, my current learning plan includes: Javascript 30 by WesBos Exploring ES6 [<a href="http:&#x2F;&#x2F;exploringjs.com&#x2F;es6&#x2F;" rel="nofollow">http:&#x2F;&#x2F;exploringjs.com&#x2F;es6&#x2F;</a>] Learning React-2nd Edition on O&#x27;Reilly Learning The Beginners Guide to React on Egghead Data Structures and Algorithms in JavaScript on Egghead.<p>I also used Kent C. Dodds&#x27; excellent &quot;JavaScript to Know for React&quot; article as an outline.
评论 #22992518 未加载
评论 #22991969 未加载
评论 #22995939 未加载
评论 #22991702 未加载
smlckzabout 5 years ago
JavaScript is very expressive and powerful language. Maybe hard to learn. The prototypal inheritence and &#x27;this&#x27; were confusing to me and took much time to understand those.<p>Then I learnt that prototypal inheritance is a superset of &#x27;&#x27;class&#x27;&#x27;ical inheritance [1] as well as this [2]. Hmm.<p>With Reflect, Proxy etc. you have great metaprogramming capabilities that make this language much powerful.<p>Still, there are some (many?) edge&#x2F;corner cases and unfixable bugs (aka features) that the language is stuck with for the sake of backwards compatibility and developers have to learn these. (The most famous of these might be typeof null === &quot;object&quot;)<p>When I look at the amount of features added to the language specification, sometimes it seems like it is going to become another incarnation of the C++ specification.<p>I still like its expressiveness and power, but if it becomes another C++ in future, I have to look somewhere else. (TypeScript maybe.)<p>[1]: <a href="https:&#x2F;&#x2F;aaditmshah.github.io&#x2F;why-prototypal-inheritance-matters&#x2F;" rel="nofollow">https:&#x2F;&#x2F;aaditmshah.github.io&#x2F;why-prototypal-inheritance-matt...</a> [2]: <a href="https:&#x2F;&#x2F;wiki.c2.com&#x2F;?ClosuresAndObjectsAreEquivalent" rel="nofollow">https:&#x2F;&#x2F;wiki.c2.com&#x2F;?ClosuresAndObjectsAreEquivalent</a> and <a href="https:&#x2F;&#x2F;www.crockford.com&#x2F;javascript&#x2F;private.html" rel="nofollow">https:&#x2F;&#x2F;www.crockford.com&#x2F;javascript&#x2F;private.html</a>
评论 #22993422 未加载
warentabout 5 years ago
I would consider myself pretty close to an expert with JavaScript. I&#x27;ve been using it for 5 years professionally, currently use ES2020. Fairly familiar with Node 12, V8, etc. But I&#x27;m always worried about those situations where you dont know what you dont know. This might sound strange, but would anyone recommend any reading material or blogs for someone at my level?
评论 #22991771 未加载
评论 #22992781 未加载
评论 #22992019 未加载
评论 #22992204 未加载
评论 #22991978 未加载
评论 #22992152 未加载
评论 #22992026 未加载
评论 #22992907 未加载
评论 #22992370 未加载
评论 #22991753 未加载
评论 #22991754 未加载
评论 #22993000 未加载
评论 #22993118 未加载
评论 #22991786 未加载
评论 #22992023 未加载
评论 #22992566 未加载
评论 #22993082 未加载
评论 #22992004 未加载
评论 #22992258 未加载
varrockabout 5 years ago
Great read, though his writing style is less intuitive if you are fairly new to JavaScript and trying to grasp some of its concepts. For example, in his reduce function [0] example, he names his variable &quot;current&quot; to bind the accumulated value the reduce function is going to eventually return. That is a totally fair name, but I don&#x27;t know if it really &quot;clicks&quot; if you were reading over this for the first time. I think it would be faster to grasp the reduce function&#x27;s purpose if it was simply named &quot;accumulated&quot; or something alike, especially when this snippet is advertising the idea of higher order functions and callbacks.<p>Little things like this I am nit-picky about, but overall, great book.<p>[0] <a href="https:&#x2F;&#x2F;eloquentjavascript.net&#x2F;05_higher_order.html#h_fx3e34kT&#x2F;k" rel="nofollow">https:&#x2F;&#x2F;eloquentjavascript.net&#x2F;05_higher_order.html#h_fx3e34...</a>
mrwwwabout 5 years ago
We used EJS in our basic programming courses in my CS program and it was a great book. Loved the exersices you could try directly in the book!<p>I now program JS for a living so i guess the book also really worked. Thank you for the third edition!
wdbabout 5 years ago
I am unable to find out what has changed between editions
评论 #22991337 未加载
评论 #22991466 未加载
chrischenabout 5 years ago
Does anyone have a book recommendation (free or paid) that is modern and up-to-date, preferably regarding typescript, that talks about best practices and patterns for large-scale project design and code structure?<p>For example, a book that could go into details of code practices at companies like Airbnb, Facebook, or Google.
评论 #22992706 未加载
评论 #22993032 未加载
评论 #22999927 未加载
评论 #22993183 未加载
BenoitEssiambreabout 5 years ago
I&#x27;ve been toying with the idea of promise free async&#x2F;await lately. I&#x27;m interested in feedback anyone would have.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;bessiambre&#x2F;casync" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;bessiambre&#x2F;casync</a>
评论 #22992444 未加载
评论 #22992061 未加载
tracer4201about 5 years ago
As someone who hasn’t done much JavaScript since AngularJS in 2014&#x2F;2015, what is the current state of JS like?<p>I see there’s Angular (not AngularJS that I worked with), React, and some other frameworks. I see there are all kinds of bundlers and plug ins for these things.<p>When I was doing AngularJS, I’d just link to a few dependencies manually from a CDN. Looks like now there’s a bunch more complexity and package management for front end dependencies.<p>It feels like FAR more complexity, but I’m not sure what has been gained. I also don’t know that much, so would love to learn perspectives here from people actively developing in this space.
评论 #22992956 未加载
评论 #22994381 未加载
fizixerabout 5 years ago
Can anyone recommend reading for the web-related Javascript &quot;API&quot; so that when Javascript is used in the form of generated code, e.g., through asm.js, the &quot;API&quot; can be used by the &quot;generating program&quot; without the need to learn all of Javascript.<p>Essentially so you could do HTML&#x2F;CSS&#x2F;some-other-language (using asm.js, emscripten, or some similar technology) instead of HTML&#x2F;CSS&#x2F;JS.
drongokingabout 5 years ago
Is this worth buying&#x2F;borrowing if you already know programming languages but not Javascript? Or is there a better approach?
评论 #22991682 未加载
评论 #22992075 未加载
评论 #22991684 未加载
mesaframeabout 5 years ago
I read this book and found that explanations of quite a number of topics were misleading.
评论 #22992894 未加载
htatcheabout 5 years ago
There is an equivalent for Ruby too in case you&#x27;re interested.
评论 #22994371 未加载
markthethomasabout 5 years ago
this. is. awesome. SO glad this book is being kept up to date
johnchristopherabout 5 years ago
Is there an equivalent for php?
0xff00ffeeabout 5 years ago
I always skip to the async part of JS text because explaining it is a bit like handing a shotgun to a five year old. I think the folks over at risingstack have the best explanations, IMHO.<p>I&#x27;m surprised they attempted timeouts in promises with so little text, that&#x27;s actually pretty dangerous pattern because it glosses over the complexity in actually stopping an in-flight promise. It is VERY easy to end up with hundreds of thousands of unresolved promises with their pattern. Dangerous!<p>There is a great repo on this issue.... aand I can&#x27;t for the life of me find it. Basically there&#x27;s a github project that uses generators and passes an atom down through the call stack to ensure everything below the race promise is aware that it is being halted. And even that doesn&#x27;t handle all the nuances of this pattern.<p>And if anyone knows what github repo I&#x27;m talking about, I&#x27;ll give you ... 50 DKP?
评论 #22992966 未加载
评论 #22992690 未加载
ternaryoperatorabout 5 years ago
This is from 2018. The title of the post should be updated.
评论 #22991770 未加载
评论 #22992606 未加载
shanghaikidabout 5 years ago
I really like the first edition...
kevindeasisabout 5 years ago
Here are the things that I really really hate about javascript:<p>I find javascript really hard and annoying, even if I have enough experience with JS that lets me build a basic react framework, I still find it hard to use.<p>On top of that, getting javascript jobs is harder compared to other programming languages. IE: you need 7 years of experience for a company at the same level where they only need 1 year of IOS&#x2F;Android experience.<p>You always have to be keep up to date. The popular libraries that you can use changes so fast, and sometimes they don&#x27;t even work.<p>Javascript gets a lot of disrespect from beginner engineers. Something about doing frontend work, isn&#x27;t hard and it isn&#x27;t software engineering in their perspective<p>There are so too many ways to do the same thing, unlike something like lets say golang<p>You always have to learn more than javascript to compete with other javascript developers. IE: dev ops, backend, database, sre, ux design
评论 #22992246 未加载
评论 #22991930 未加载
评论 #22991886 未加载
评论 #22992601 未加载
评论 #22991898 未加载