download zip of files only
Sun May 15 02:40:40 HKT 2011
From /weblog/design
Arguement of overuse interface, I trend to support - http://blog.sidu.in[..]ramming-to-interfaces-strikes-again.html A very long discussion related, Test-friendly, but not caller-friendly? - http://www.nabble.com[..]ring-your-development--t2039307i120.html Comparison of interface vs. abstract class - http://blogs.sun.com[..]ry/api_design_interfaces_versus_abstract Some issue of marker interface, may be annotation can help. However, I don't think those so call issue are really problem, those just poor usage of marker interface - http://java.dzone.com/articles/are-marker-interfaces-dead http://martinfowler.com/eaaDev/OrganizingPresentations.html
(google search)
(amazon search)
Sun May 15 02:19:55 HKT 2011
From /weblog/design
The 37signals manifesto was our original site from 1999-2001. It's a collection of 37 nuggets of online philosophy and design wisdom. It's a great introduction to the 37signals' school of thought and a fun, quick read to boot. - http://37signals.com/manifesto
(google search)
(amazon search)
Sun Mar 13 00:25:37 HKT 2011
From /weblog/design/pattern
Using generic to prevent downcast for Strategy Pattern, every time we try to cast something, may be worth to consider generic first? - http://www.javaspecialists.co.za/archive/newsletter.do?issue=123
(google search)
(amazon search)
Fri Feb 11 00:48:54 HKT 2011
From /weblog/design
2 best practices of API design confilct each other, and how to find out the solution - http://martinfowler.com/bliki/ExpressionBuilder.html What exactly simple mean? http://typo.objectmentor.com[..]s-that-pass-for-simple-i-cant-understand . In my opinions, a more concrete interpretation of simple is first define what is most important to you, then find the quickest way to get there. Iceberg Classes, if encapsulation is good, how about having more private method? Or actually the logic should be split? - http://www.artima.com/weblogs/viewpost.jsp?thread=125574
(google search)
(amazon search)
Tue Dec 14 00:57:34 HKT 2010
From /weblog/design
Issues of annotation dependence test framework, usually new language feature come out to solve some problem people get excited. However people found that the problem it bring are not less than the problem it solve, it take time to proof the value - http://jroller.com[..]tmotion?entry=annotations_suck_a_lot_and Compare OO feature of difference language - http://www.derangedcoder.net[..]ral/comparingObjectOrientedFeatures.html Comparing C# and Java - http://www.25hoursaday.com/CsharpVsJava.html Discussion about extending standard API - http://www.codinghorror.com/blog/archives/001151.html Few good suggestion when thinking of design a language, Consider using ML, Don't be afraid of being the same - http://www.plsadventures.com[..]programming-language-design-is-hard.html Design Principles Behind Smalltalk, see how idea of inheriance, polymorphism originated - http://web.archive.org[..]/design_principles_behind_smalltalk.html
(google search)
(amazon search)
Thu Mar 25 02:07:15 HKT 2010
From /weblog/design
Date handling look simple but easy to fail in trap. Even worst is this is easy to have bad data which hard to fix. Here is an example - http://blogs.msdn.com/jensenh/archive/2005/11/23/496246.aspx One tip for testing application with time dependence, treat it as random - http://googletesting.blogspot.com[..]pot.com/2008/04/tott-time-is-random.html Explanation of issues of Joda-time, basically it still haven't map the human view of time close enough than machine view of time - http://www.jroller.com/scolebourne/entry/why_jsr_310_isn_t Screencast of how to driven a fluent Date API - http://tedyoung.blogsome.com[..]-apis-in-java-episode-1-comparing-dates/
(google search)
(amazon search)
Thu Jan 21 01:46:26 HKT 2010
From /weblog/design/IoC
When these containers talk about how they are so useful because they implement "Inversion of Control" I end up very puzzled. Inversion of control is a common characteristic of frameworks, so saying that these lightweight containers are special because they use inversion of control is like saying my car is special because it has wheels. http://www.martinfowler.com[..]ticles/injection.html#InversionOfControl This guy think IoC is going to use is more and more place as GC. However, I will think quit a lot of time IoC is use incorrectly, somebody even try to use it everywhere and replacing constructor... - http://howardlewisship.com[..]endency-injection-mirror-of-garbage.html IMHO jetty is the first widely used program about IoC idea, even before spring - http://kasparov.skife.org/blog/2004/08/30/ Explain when IoC is overkill - http://blog.objectmentor.com[..]010/01/17/dependency-injection-inversion
(google search)
(amazon search)
Wed Jan 06 01:47:53 HKT 2010
From /weblog/design
A Theory of Compatible Versions, and introduction of how and why difference versions are comptible or not - http://www.xml.com/lpt/a/1684 XStream offers some support for refactorings (aliases can help). But very soon you will run into big troubles and will have to make some decisions. Either avoid refactorings (just a little tweak here and there, will weaken your architecture over time) or start implementing workarounds – e.g. custom converters (much work, bad code). - http://blog.cedarsoft.com[..]ts-wrong-with-xstream-and-similar-tools/
(google search)
(amazon search)
Thu Dec 31 00:46:40 HKT 2009
From /weblog/design/interview
Lessons Learned From Java EE’s Evolution, discuss about value of standard and opensource - http://www.infoq.com/presentations/Lessons-Learned-from-Java-EE
(google search)
(amazon search)
|