《John Resig 关于JavaScript Inheritance 的描述》的相关内容
相关讨论
让你在JavaScript的方法中调用Super
jQuery作者John Resig提出了他的继承方案,让人眼前一亮的是能够支持类似Super的关键字调用父类方法。
由于比较习惯YUI/EXT继承方式,同时也了解这种方式的不足,看到John的方案,很想跃然一试,
但见其代码之复杂,思路之繁复,恐怕不能兼效率之(ext中多达7~8层的继承),抱着FUD的心态,望诸君评论之。
1. // Inspired by base2 and Pro ...
by sp42 2008-06-08 浏览 (356) 回复 (0) 关键字:
自己翻译的Java.In.A.Nutshell.5th中泛型一章,欢迎拍砖把文章砸的漂亮一些
做些说明吧:转网页的东西,改起来稍觉得的麻烦,就可能滞后。不过pdf文件会不定时的及时更新
4.1. Generic Types
Generic types and methods are the defining new feature of Java 5.0. A generic type is defined using one or more type variables and has ...
by Julysea 2006-09-21 浏览 (11470) 回复 (19) 关键字:
How Microsoft Lost the API War
http://www.joelonsoftware.com/articles/APIWar.html
By Joel Spolsky
Sunday, June 13, 2004
Printer Friendly Version
Here's a theory you hear a lot these days: "Microsoft is finished. As soon as Li ...
by yyanghhong 2004-09-13 浏览 (1838) 回复 (2) 关键字:
相关博客
JavaScript“类”继承的横向比较
首入眼帘,代码:
YUI 2.5.2
/**
* Utility to set up the prototype, constructor and superclass properties to
* support an inheritance strategy that can chain constructors and methods.
* St ...
by sp42 2008-06-07 浏览 (413) 回复 (0) 关键字:
jquery组件创建模式(转载)
转自 http://www.learningjquery.com/2007/10/a-plugin-development-pattern
I've been developing jQuery plugins for quite a while now, and I've become rather comfortable with a particular style of plugin ...
by zhyi_12 2007-11-27 浏览 (305) 回复 (0) 关键字:
Introduction to JavaScript
A (Re)-Introduction to JavaScript
Simon Willison - http://simonwillison.net/
Notes made in preparation for a three hour tutorial at ETech in San Diego, March 6th 2006
Introduction #
My name's Simon ...
by 20032334 2008-03-27 浏览 (122) 回复 (0) 关键字:
ECMA JavaScript introduction
Numbers in JavaScript are "double-precision 64-bit format IEEE 754 values", according to the spec. This has some interesting consequences. There's no such thing as an integer in JavaScript, so you hav ...
by kuangbaoxu 2008-06-24 浏览 (92) 回复 (0) 关键字: ecma javascript introduction
相关圈子讨论
Hillary's Speech on Suspending the Campaign
非常出色感人的演讲,增强英语听力信心的好材料。
Hillary's Speech on Suspending the Campaign
以下为讲话原文,现场视频在http://www.youtube.com/watch?v=Lm5hQDFfRvA
Thank you very, very much. Well, this isn't exactly the party I ...
by swflora 2008-07-10 浏览 (301) 回复 (0)
这个小男孩真阴险呀,杀人于无形中
这是一个小孩杀人的故事,有耐心的八婆们慢慢看吧。整个故事从头到尾都阴森森冷飕飕的,虽然杀人在最后一部分才有写,可是自始至终都很阴郁。
BLACK ICE
by CATE KENNEDY
When I went up to check my traps, I saw that the porch lights at the lady’s place were still on, even ...
by mochow 2006-11-30 浏览 (882) 回复 (8)
The Problem with Programming
转自: http://www.techreview.com/InfoTech/17831/page1/
Bjarne Stroustrup, the inventor of the C++ programming language, defends his legacy and examines what's wrong with most software code.
引用
In the 1 ...
by qiezi 2006-12-06 浏览 (1105) 回复 (2)
Flex With Spring [转]
来源: http://coenraets.org/flex-spring
What is Spring?Spring is one of the most popular Java frameworks. The foundation ofthe Spring framework is a lightweight comp ...
by mikel 2007-11-23 浏览 (1266) 回复 (1)
Lifting again the 'Tattered Flag'
I wish to complain very respectfully,but most urgently,that the Army Estimates involved by the scheme lately explained by the Secretary of State for War are much too high,and ought to be reduced,if no ...
by 回帖专用 2007-02-28 浏览 (823) 回复 (0)
相关新闻
NetBeans6.5 M1 众多期待的特性一览表!
NetBeans6.5 M1 众多期待的特性一览表!
Netbeans 6.5 M1 已经发布,最新版本的NetBeans 增强了许多功能,同时也引入了许多值得期待的新特性.
其中我比较喜欢的是DataBase 的改进,Eclipse 项目导入变得比以前更方便了,可以正确的区分Web项目
和普通项目,还有Spring Hibernate 增强. GUI 中新增了JD ...
by gml520 2008-06-25 浏览 (4453) 回复 (16) 关键字: netbeans 6.5 m1
Yahoo接受微软报价 至少每股33美元(总价475亿美元)
据Yahoo公司宣布准备接受微软收购报价,每股33美元(475亿美元),或高于此价格。
据俄《国际文传电讯社》7月17日援引彭博社报道,Yahoo在对股东的通知中说,Yahoo已经考虑好出卖搜索业务的条件,如果这“真是对股东有益”。
从2月份微软提出以446亿美元的现金和股票收购雅虎起,二者的并购战已经持续了5个多月。其间,“白衣骑士”新闻集团的出现、微软与时代华纳就出售AOL的谈判,使整个事 ...
by QQbyte 2008-07-18 浏览 (819) 回复 (3) 关键字:
Sun公司加快JDK的开发—JDK6u6以及JDK6u10Beta发布!
JDK6u6的内部版本号是1.6.0_06-b02,这次发布主要是修正了一些Bug。原文如下:
网址:http://java.sun.com/javase/6/webnotes/ReleaseNotes.html
Java SE 6u10Beta的发布则与众不同
官方发文写到:千万不要被它不起眼的名字(即Java SE 6u10Beta,JDK6更新10Beta版本)所愚弄,它是一个 ...
by jyw 2008-04-18 浏览 (1703) 回复 (1) 关键字: jdk

