《尽信书不如无书?》的相关内容
相关讨论
重构与注释讨论
引言:
最近看了《重构》《重构与模式》这2本书,书里反复强调了一个观点:“重构好的代码不要注释,如果你要加注释,就说明这部分代码需要重构”
于是在一次模块开发时,我尽量按照书里的思想去重构并且尽量不写注释,但是结果却不是我期望的。看我代码的人批评我注释没有,难以看懂......并且在会议上组长也批评了我。我那时感觉非常委屈,也没啥好辩解的,要不是看了这本书我也不会为了重构而不去写注释,但我冷静 ...
by jorwen_fang 2007-08-10 浏览 (6771) 回复 (30) 关键字:
自己翻译的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 浏览 (11348) 回复 (19) 关键字:
Rails的怪异作法 -- 关于config
说ruby是怪异的语法有点不妥当,动态语言里面不乏这样的语法出现。但是看了一些源码后发现,使用ruby的用法真的各有不同,就像大家以前说的,ruby每个人写出来的可能都不同。
现来说Rails里面如何加载config的吧。
在java里面config绝对是一个resource文件,然后通过读取配置的工具加入进来,在分析处理。
在ROR里面完全不是这么回事。
1.首先大家要了解的是,在我们启 ...
by 差沙 2006-11-21 浏览 (8740) 回复 (19) 关键字:
一个很好的关于J2EE的interview, 有些观点很好
http://www.theserverside.com/events/index.jsp?News10_28_03
When should developers choose to use distributed architectures?
When they can抰 avoid it. I think that a lot of J2EE developers are far too ...
by yyanghhong 2003-10-31 浏览 (2750) 回复 (1) 关键字:
相关博客
zzEffective Code Reviews Without the Pain
Effective Code Reviews Without the PainBy Robert BogueCode reviews in most organizations are a painful experience for everyone involved. The developer often feels like it's a bashing session designed ...
by alanwu 2008-03-11 浏览 (51) 回复 (0) 关键字:
PSP dev lesson 01-02
Lesson 01
Setting up the Development Environment
How to get the toolchain and PSPSDK up and running with CYGWIN on a windows machine. The complete newbie's guide.
This is the first installment in a s ...
by unixboy 2008-02-07 浏览 (242) 回复 (0) 关键字:
Functional Programming For The Rest of Us
I like connect beautiful articles since I am afraid of losing them. This is a good one. So, I do it.
And I think for those who are looking for some intro matrial on FP and cannot find a good o ...
by willpower 2007-03-23 浏览 (180) 回复 (0) 关键字:
Functional Programming For The Rest of Us
I like connect beautiful articles since I am afraid of losing them. This is a good one. So, I do it.
And I think for those who are looking for some intro matrial on FP and cannot find a good o ...
by willpower 2007-03-23 浏览 (151) 回复 (0) 关键字:
Functional Programming For The Rest of Us
I like connect beautiful articles since I am afraid of losing them. This is a good one. So, I do it.
And I think for those who are looking for some intro matrial on FP and cannot find a good o ...
by willpower 2007-03-23 浏览 (181) 回复 (0) 关键字:
相关圈子讨论
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 浏览 (1075) 回复 (2)
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 浏览 (246) 回复 (0)
The Pen "Liberator of Man And of Nations"
The fortunate people in the world-the only really fortunate people in the world,in my mind-are those whose work is also their pleasure.The class is not a large one, not nearly so large as it is often ...
by 回帖专用 2007-02-05 浏览 (1039) 回复 (1)
推荐一首nba music--remember the name
共享区可以下载
这里有个mv:
http://bbs.hoopchina.com/htm_data/18/0609/122591.html
-------
You ready?
Lets go
Yeah
For those who wanna know what we're all about
Its like this y'all
15% conncentrated power of wi ...
by eyejava 2006-11-07 浏览 (2153) 回复 (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 浏览 (825) 回复 (8)
相关新闻
Uncle Bob新书Clean Code
Robert C. Martin最近的新书《Clean Code》即将由Prentice Hall出版社出版。
目录如下:
Clean Code 1
There Will Be Code 1
Bad Code 2
The Total Cost of Owning a Mess. 3
Schools of Thought. 11
...
by samuelray 2008-04-08 浏览 (458) 回复 (2) 关键字: clean code
Yahoo接受微软报价 至少每股33美元(总价475亿美元)
据Yahoo公司宣布准备接受微软收购报价,每股33美元(475亿美元),或高于此价格。
据俄《国际文传电讯社》7月17日援引彭博社报道,Yahoo在对股东的通知中说,Yahoo已经考虑好出卖搜索业务的条件,如果这“真是对股东有益”。
从2月份微软提出以446亿美元的现金和股票收购雅虎起,二者的并购战已经持续了5个多月。其间,“白衣骑士”新闻集团的出现、微软与时代华纳就出售AOL的谈判,使整个事 ...
by QQbyte 2008-07-18 浏览 (798) 回复 (3) 关键字:
Martin Flower分析Groovy和JRuby的前景
Martin Flower最近在自己的网站上面写了一篇分析Groovy和JRuby前景的文章:
http://martinfowler.com/bliki/GroovyOrJRuby.html
Groovy和JRuby是两个目前在JVM平台上面关注程度非常高的动态脚本语言,他们都比较适合用来做为领域专用语言(DSL)嵌入Java企业应用当中。而且目前Groovy和JRuby的发展都相当迅速,社 ...
by robbin 2007-12-09 浏览 (3862) 回复 (13) 关键字: groovy jruby

