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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Annotated Underscore.js Source Code – Good for Budding JavaScript Developers

52 点作者 bootcat超过 7 年前

8 条评论

jevakallio超过 7 年前
I love the annotated source code, but I wouldn't necessarily recommend the Underscore library code itself as learning material to budding developers - it's optimised for size and performance, not legibility and idiomatic style. I remember being a budding JS dev once upon a time, and being quite perplexed by it :)
评论 #15241229 未加载
评论 #15243882 未加载
armandososa超过 7 年前
Also interesting, even if it has become unfashionable these days, Backbone&#x27;s annotated source: <a href="http:&#x2F;&#x2F;backbonejs.org&#x2F;docs&#x2F;backbone.html" rel="nofollow">http:&#x2F;&#x2F;backbonejs.org&#x2F;docs&#x2F;backbone.html</a><p>And the tool to make these: <a href="http:&#x2F;&#x2F;ashkenas.com&#x2F;docco&#x2F;" rel="nofollow">http:&#x2F;&#x2F;ashkenas.com&#x2F;docco&#x2F;</a>
评论 #15241008 未加载
pvsukale3超过 7 年前
For beginners annotated code of highly optimized library might become confusing. Try reading Mary Rose Cook&#x27;s annotated code of 2 JS games and a Git clone <a href="http:&#x2F;&#x2F;annotated-code.maryrosecook.com&#x2F;" rel="nofollow">http:&#x2F;&#x2F;annotated-code.maryrosecook.com&#x2F;</a>
teh_klev超过 7 年前
Probably a bit long in the tooth now:<p><a href="http:&#x2F;&#x2F;robflaherty.github.io&#x2F;jquery-annotated-source&#x2F;" rel="nofollow">http:&#x2F;&#x2F;robflaherty.github.io&#x2F;jquery-annotated-source&#x2F;</a>
schemathings超过 7 年前
Line 6: Naked function reference for surrogate-prototype-swapping. var Ctor = function(){};<p>TIL Ctor is short for constructor (?)
hacktothefuture超过 7 年前
Very nice! Even those of us who don&#x27;t consider ourselves &quot;budding&quot; have plenty to learn here.
评论 #15241010 未加载
p51ngh超过 7 年前
How did you go about creating this? I think it&#x27;s super useful way of documenting code in general!
评论 #15241019 未加载
评论 #15241014 未加载
magic_beans超过 7 年前
This is amazingly helpful. Thank you for posting!