RSS feed [root] /design /weblog



title search:


Sun Oct 01 16:19:43 HKT 2017


(google search) (amazon search)
download zip of files only

Wed Oct 11 11:14:13 HKT 2006 From /weblog/design

Jay Flowers series

Jay Flowers have blogged a series of technique to achieve better testability design

The summary -

(google search) (amazon search)

Tue Oct 10 17:14:26 HKT 2006 From /weblog/design

ease of use gone wrong

(google search) (amazon search)

Thu Jul 06 16:41:04 HKT 2006 From /weblog/design

light weight programming

Given simple example of "Closures", "Continuations", "Metaprogramming" and "reflection"[..]loperworks/java/library/os-lightweight7/

A blog of why these are matter -[..]gView?showComments=true&entry=3297336132

(google search) (amazon search)

Fri Jun 09 16:44:33 HKT 2006 From /weblog/design

Ruby vs Java

This is a nice one:[..]a-is-more-productive-than-rubyrails.html and I agree with him, tools support is important

(google search) (amazon search)

Tue May 09 13:04:30 HKT 2006 From /weblog/design


How about create a Class to hold all constant? How about static import? How about DON'T use it at all?[..]onstants-in-java-is-it-right-to-use.html

(google search) (amazon search)

Fri Apr 28 12:48:22 HKT 2006 From /weblog/design


Look like mostly negative:

(google search) (amazon search)

Tue Apr 11 15:09:22 HKT 2006 From /weblog/design


A more detailed discussion about this design approach, as far as I can tell is to put all session information to URL automatically.[..]brary/j-cb03216/?ca=dgr-jw22StatelessWeb[..]m/news/thread.tss?thread_id=39579#204688

(google search) (amazon search)

Fri Feb 24 16:14:21 HKT 2006 From /weblog/design/exception

Using stacktrace to know call hierarchy

Sometime it useful to know call hierarchy even if it is not exception case

(google search) (amazon search)

Wed Jan 18 16:22:34 HKT 2006 From /weblog/design

html generation

This approach, as far as I know, is the nicest one, please tell me if you have better choice:

(google search) (amazon search)

Sun Jan 08 19:23:48 HKT 2006 From /weblog/design/exception

cool exception message

From a very good jpeg meta data extractor - mention the solution at exception message
com.drew.metadata.MetadataException: Tag Image Width has not been set -- check using containsTag() first
        at com.drew.metadata.Directory.getInt(Unknown Source)

(google search) (amazon search)

Mon Nov 28 18:20:01 HKT 2005 From /weblog/design

class are too big

Classes are to big ...

* When it is unclear what the exact responsibility of the class is. (when apparently little changes in requirements often require changes in the same set of classes, time after time)
* When it is difficult to write a unittest to test the behavior of the class. (very common for large classes that combine a lot of functionality)
* When the concept of the class no longer fits the size of your head. (working on the class becomes difficult, meaning you need to scroll a lot, skip between various parts of the code in order to understand the class. Differs a little from person to person.)

Kind Regards,

(google search) (amazon search)

Sun Oct 23 18:10:19 HKT 2005 From /weblog/design

practical uml editor

This is the most practical UML drawing tool , contain eclipse plugin

(google search) (amazon search)