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.

Learning Advanced JavaScript (2008)

192 pointsby kparajuover 8 years ago

12 comments

sjnair96over 8 years ago
Once again I am going to shamelessly plug my favorite course author Anthony Alicea and his JS&#x2F;NodeJS&#x2F;Angular1 course[1],[2],[3]. I really really liked Tony&#x27;s course as it gave quite a deep look into topics, which are usually only attainable from books, while at the same time keeping it very interesting and also contain lots of best practice material and being extremely dense but easy to digest. Do let me know if you guys know any other courses of the same style. For quite a while I have been trying to find similar courses&#x2F;tutorials of similar caliber when it comes to knowledge gained and being easy to digest. If you haven&#x27;t watched any of Tony&#x27;s courses, do give them a shot. Rigorous -- but not boring or too long.<p>[1]<a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Bv_5Zv5c-Ts" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=Bv_5Zv5c-Ts</a><p>[2]<a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ejBkOjEG6F0" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=ejBkOjEG6F0</a><p>[3]<a href="https:&#x2F;&#x2F;www.udemy.com&#x2F;understand-nodejs&#x2F;?couponCode=LEARNNOD.." rel="nofollow">https:&#x2F;&#x2F;www.udemy.com&#x2F;understand-nodejs&#x2F;?couponCode=LEARNNOD...</a>.<p>Disclaimer: Because it may sound like it, I&#x27;d like to clarify I have absolutely no affiliation with Tony or his courses. I just really really liked them.
评论 #13150909 未加载
zappo2938over 8 years ago
When I started out, this and &quot;Secrets of the JavaScript Ninja&quot; didn&#x27;t help me understand. For me, after months of trying to understand JavaScript, Dmitry Soshnikov&#x27;s post, JavaScript. The Core, made understanding closure, prototype, and scope chain crystal clear in about 30 minutes. [0] Also, every time someone shares a basics on JavaScript link on Hacker News I also share my interview guide which despite its popularity has yet to land me a job writing JavaScript. Nonetheless, I love writing JavaScript and understanding it and some of the APIs like Angular, Lodash, Nightmare, and async makes me feel empowered. It doesn&#x27;t cover any topics in ES6 yet.[1]<p>[0] <a href="http:&#x2F;&#x2F;dmitrysoshnikov.com&#x2F;ecmascript&#x2F;javascript-the-core&#x2F;" rel="nofollow">http:&#x2F;&#x2F;dmitrysoshnikov.com&#x2F;ecmascript&#x2F;javascript-the-core&#x2F;</a><p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;adam-s&#x2F;js-interview-review" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;adam-s&#x2F;js-interview-review</a>
lancefisherover 8 years ago
This is fairly old. It goes with John Resig&#x27;s book &quot;Secrets of the JavaScript Ninja Released&quot; which was released at the beginning of 2013 [1]. I remember seeing this site up well before that. He started the book in 2008.<p>If you can work your way through this tutorial you&#x27;ll gain a decent grasp of ES5 prototypes and functions.<p>[1]: <a href="http:&#x2F;&#x2F;ejohn.org&#x2F;blog&#x2F;secrets-of-the-javascript-ninja-released&#x2F;" rel="nofollow">http:&#x2F;&#x2F;ejohn.org&#x2F;blog&#x2F;secrets-of-the-javascript-ninja-releas...</a>
评论 #13151283 未加载
评论 #13149788 未加载
Noseshineover 8 years ago
Since we are talking about learning Javascript, there is a very interesting approach in this edX course: Teach biology and Javascript!<p>&quot;Nature, in Code: Biology in JavaScript&quot; -- Learn JavaScript programming by implementing key biology concepts in code, including natural selection, genetics and epidemics.<p><pre><code> Instead of just learning programming principles outside of any context, you will learn JavaScript programming by implementing key biological concepts in code so they can run in your browser. </code></pre> <a href="https:&#x2F;&#x2F;www.edx.org&#x2F;course&#x2F;nature-code-biology-javascript-epflx-nic1-0x" rel="nofollow">https:&#x2F;&#x2F;www.edx.org&#x2F;course&#x2F;nature-code-biology-javascript-ep...</a>
nikki93over 8 years ago
Haven&#x27;t gone past the first slide yet, but FWIW with ES6 you could do something like:<p><pre><code> [nikki ~]$ node &gt; const bind = (fn, obj, ...args1) =&gt; (...args2) =&gt; fn.call(obj, ...args1, ...args2) undefined &gt; bind(console.log, console, &#x27;a&#x27;, &#x27;b&#x27;)(&#x27;c&#x27;, &#x27;d&#x27;) a b c d undefined &gt; &#x2F;&#x2F; calls `fn` with `obj` as `this` and the remaining arguments prepended with given ones </code></pre> I believe all of the old-style argument stuff with `arguments` is possible with `...`, not sure though, maybe some edge cases.
CryoLogicover 8 years ago
This seems like very beginner level JavaScript. Defining Functions, Functions as Objects, Context? All JS fundamental concepts.
评论 #13151305 未加载
评论 #13149989 未加载
评论 #13151140 未加载
评论 #13150124 未加载
andrewvijayover 8 years ago
I still consider myself to be a noob but I use a lot of these everyday. For example currying instead of binding. Am I just being humble?
评论 #13150049 未加载
评论 #13150045 未加载
RobSchleyover 8 years ago
Where&#x27;s the &quot;Advanced&quot; part? This is just JavaScript fundamentals.
评论 #13149869 未加载
评论 #13150125 未加载
评论 #13150676 未加载
rodorgasover 8 years ago
It&#x27;s amazing to see what was &quot;advanced&quot; JavaScript in 2008 haha.
jongar_xyzover 8 years ago
&gt; #2: Goal: To be able to understand this function: &gt; &gt; &#x2F;&#x2F; The .bind method from Prototype.js &gt; Function.prototype.bind = function(){ &gt; var fn = this, args = &gt; Array.prototype.slice.call(arguments), object = args.shift(); &gt; return function(){ &gt; return fn.apply(object, &gt; args.concat(Array.prototype.slice.call(arguments))); &gt; }; &gt; }<p>I do not want to understand this absurdness. I want a comment that tells me what it does so I can rewrite it in a sane way.
评论 #13149738 未加载
评论 #13149879 未加载
评论 #13149739 未加载
评论 #13149880 未加载
评论 #13150409 未加载
评论 #13149831 未加载
评论 #13149818 未加载
评论 #13149832 未加载
nnoitraover 8 years ago
VM213:1 Uncaught ReferenceError: assert is not defined(…)
knownover 8 years ago
JS Design Patterns is also good <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>