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.

Deep JavaScript

337 pointsby nochalmost 4 years ago

16 comments

magaalmost 4 years ago
JS has been my main language for the last decade and Axel (the author of the book) is my go to source when it comes to understanding upcoming features. I frequent proposal repositories, read the standard, and still find myself learning something new when I read an article from Axel on the subject. I have not read the book, but I'm sure it's written with the same rigor and clarity as all Axel's writings.
评论 #27458679 未加载
评论 #27460774 未加载
TheRealPomaxalmost 4 years ago
Clicked through to <a href="https:&#x2F;&#x2F;exploringjs.com&#x2F;deep-js&#x2F;ch_type-coercion.html" rel="nofollow">https:&#x2F;&#x2F;exploringjs.com&#x2F;deep-js&#x2F;ch_type-coercion.html</a> and I have to say that&#x27;s already a bit questionable. The idea is there, but the writing around it is shaky (if you want to explain coercion, showing JS code without coercion without explaining that&#x27;s what you&#x27;re doing is not the best way to explain things to folks looking for answers).<p>Same for <a href="https:&#x2F;&#x2F;exploringjs.com&#x2F;deep-js&#x2F;ch_copying-objects-and-arrays.html#shallow-copying-vs.-deep-copying" rel="nofollow">https:&#x2F;&#x2F;exploringjs.com&#x2F;deep-js&#x2F;ch_copying-objects-and-array...</a>, the idea is there, but the text isn&#x27;t great (is it only for objects and arrays? if I&#x27;m new to JS but someone taught me about Set and Map, can I assume those always deep copy?).<p>It&#x27;s a great start, but it can definitely do with a few QA (rather than editorial) passes.
评论 #27461992 未加载
shp0nglealmost 4 years ago
This is a bit off-topic<p>But I never understood prototypes and prototype inheritance, and how does that &quot;map&quot; to &quot;classic&quot; inheritance, from Java or C++. And I worked in FE for about 10 years...<p>It seems you can <i>model</i> &quot;classic&quot; inheritance using prototypes, but... there is something more there that I don&#x27;t understand. I started using ES6 &quot;class&quot; as quickly as I could, but I still wish I understood what .prototype and .__proto__ is and how to use it. I feel like I &quot;miss&quot; a lot of JS when misunderstanding prototypes.<p>But none of my colleagues know either, so I guess I at least know what I don&#x27;t know.
评论 #27462352 未加载
评论 #27461773 未加载
评论 #27462163 未加载
评论 #27461502 未加载
评论 #27464721 未加载
geonicalmost 4 years ago
This looks like a good book but boy, is JavaScript convoluted. Not bashing it. Just read the chapters about shallow and deep copies.<p><a href="https:&#x2F;&#x2F;exploringjs.com&#x2F;deep-js&#x2F;ch_copying-objects-and-arrays.html" rel="nofollow">https:&#x2F;&#x2F;exploringjs.com&#x2F;deep-js&#x2F;ch_copying-objects-and-array...</a>
评论 #27461531 未加载
评论 #27461459 未加载
评论 #27461538 未加载
Santosh83almost 4 years ago
It is appreciable that he offers a discount for those for whom USD is ridiculously expensive in their own currency or have previously bought his books. Though I wish he would rather send the discount code via email rather than ask for a mobile number, which is rather invasive.
评论 #27458040 未加载
bloopernovaalmost 4 years ago
This is very useful right now because I&#x27;m about to embark on learning js to be able to write aws-cdk infrastructure code, after finding Terraform to be annoying in some ways. (mostly its declarative nature means any logic can be difficult to shoehorn in). Decided to buy the javascript for impatient persons book and start reading it on my tablet.<p>(more offtopic, but we&#x27;ll be using TypeScript, so I&#x27;m going to need to find some good guides for that too - any suggestions?)
评论 #27459438 未加载
评论 #27460031 未加载
评论 #27459667 未加载
评论 #27460185 未加载
dlojudicealmost 4 years ago
I have been using and advocating Javascript for over 10 years.<p>I believe language evolution like ES6 are more than welcome. However, I have the impression that the path taken by the committee and the new proposals do not bring great gains (whether in UX, code reading, performance, etc.) but bringing unnecessary complexity.<p>On the other hand, other serious problems such as the mathematical and numerical part of the language are being left aside.
评论 #27461943 未加载
评论 #27460736 未加载
leephillipsalmost 4 years ago
The URL should go the the front page of the book (<a href="https:&#x2F;&#x2F;exploringjs.com&#x2F;deep-js&#x2F;" rel="nofollow">https:&#x2F;&#x2F;exploringjs.com&#x2F;deep-js&#x2F;</a>) rather than the table of contents.
kbmunchkinalmost 4 years ago
This looks really good and I&#x27;ll probably read a little here and there when I get the urge. But I don&#x27;t think deep knowledge of JavaScript will pay off in today&#x27;s web development world.<p>I deep dived JavaScript many years ago so I could move away from C#. It was only useful in interviews so I could answer all the esoteric trivia. On the job it was using JS frameworks and libraries like Lodash. And then TypeScript came along and eclipsed it all together.<p>You&#x27;re better off learning just enough JavaScript and then deep diving TypeScript and Angular, React, or another framework.
评论 #27460647 未加载
评论 #27463338 未加载
评论 #27463900 未加载
mjburgessalmost 4 years ago
I&#x27;m finding the serif font, whitespacing &amp; line width, and inline code style quite hard to parse.<p>The whole thing reads (visually) as a bit of an indiscriminate jumble.<p>The following changes help (me). I&#x27;d also look at colouring some other sections to clarify the visual flow of document,<p>```<p>pre { background-color: #EEE; font-size: 1.2em; line-height: 1.4; margin-left: 1em; padding: 1em; }<p>body { font-family: sans-serif; font-size: 1.2em; }<p>#page-content { margin: 2em auto 2em auto; max-width: 40em; font-size: 1.1em; line-height: 1.7; }<p>```
评论 #27460236 未加载
hyperpallium2almost 4 years ago
Whether we&#x27;ve hit Peak JavaScript, or are looking at Long JavaScript, sooner or later we&#x27;ll face Big JavaScript.
archibaldJalmost 4 years ago
Not sure why author uses the phrase &quot;pattern matching algorithm&quot;. There is nothing algorithmical about it. This is just a pattern matching language feature similiar to Haskell&#x27;s. And since JS is dynmatically typed, I believe this is really just sytnax sugar at the interpreter level.<p>Unless there is something time&#x2F;space-specific about it, invoking &quot;algorithm&quot; feels to me an abuse of terminology. Of course will love to be enlightened otherwise.
imbnwaalmost 4 years ago
I&#x27;ve always found Raganwald Braithwaite&#x27;s JavaScript Allongé to be a wonderful demonstration and application of the kind of idiomatic classless JavaScript you get when you understand the language&#x27;s OO properties.
lewisjoealmost 4 years ago
I haven&#x27;t read the book yet, but the topics themselves are quite intriguing and looks useful. Definitely a good hammer to break out of the &quot;advanced beginner&quot; chamber.
brundolfalmost 4 years ago
Has anybody read this book? I&#x27;m curious about the quality. It&#x27;s one of those things that could either be really great or really misguided.
评论 #27461159 未加载
评论 #27457203 未加载
评论 #27457351 未加载
评论 #27456888 未加载
评论 #27458067 未加载
acmecorpsalmost 4 years ago
I might be missing something; is the book free online..? Or, is there content that&#x27;s paid only?
评论 #27458588 未加载