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

科技回声

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

GitHubTwitter

首页

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

资源链接

HackerNews API原版 HackerNewsNext.js

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

Ask HN: Who's got good Javascript?

4 点作者 slackerIII大约 16 年前
As part of my continuing eduction, I like to poke around sites and see how they are using JS. To help me optimize this process, does anyone have any opinions about which sites have "good" Javascript? By good, I'm primarily looking for getting the most functionality out of the smallest number of lines of still comprehensible code. Thanks!

5 条评论

dantheman大约 16 年前
This is the place to go, Douglas Crockford really knows javascript and passes on valuable experience. <a href="http://javascript.crockford.com/" rel="nofollow">http://javascript.crockford.com/</a><p>This is a valuable resource <a href="http://javascript.crockford.com/code.html" rel="nofollow">http://javascript.crockford.com/code.html</a><p>Here are some really good presentations: <a href="http://www.metafilter.com/61049/Douglas-Crockford-Teaches-JavaScript" rel="nofollow">http://www.metafilter.com/61049/Douglas-Crockford-Teaches-Ja...</a>
thaumaturgy大约 16 年前
Not sure what qualifies as "good" JS, but there's a halfway decent photo gallery in JS at <a href="http://davidmckayphotography.com/" rel="nofollow">http://davidmckayphotography.com/</a><p>The code hasn't been obfuscated or compressed, and most of it is fairly straightforward and readable, except for the parts where the deadline started creeping up on the project. There the code gets a little ugly/hacky. AFAIK, IE 6, Safari, Firefox 2/3, etc. etc. all like it fine.<p>I wrote it, and I'm not particularly proud of it, but I've received enough (local) requests for it that a version 1 is in the works.
jgfoot大约 16 年前
Look at the things John Resig has been doing. In addition to founding jQuery, he has written a lot of other good JavaScript code. Also, his blog, ejohn.org, discusses other JavaScript code he admires.
nostrademons大约 16 年前
Google, but they compress everything, so good luck understanding their code.<p>I'd actually check out the source to some of the major JS libraries: JQuery, Prototype, OpenLayers, etc. Most sites build off them, but the sites that know what they're doing will be packing/minifying their JavaScript, making it a bit hard to read.
评论 #491297 未加载
wenbert大约 16 年前
i suggest that you go to chatrooms. #jquery #javascript in freenode are good places. i'm sure that there are guys out there who can help realtime