RSS feed [root] /weblog /design




login:

password:

title search:




 


Thu Apr 06 06:32:51 GMT 2023

design



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

Thu Oct 12 07:47:11 GMT 2006 From /weblog/design/interview

Scott Meyers interview



I think a schism existed between the C++ community, which was still focused on language issues, and the other prominent development communities, which pretty much left the language alone. Java already had exceptions, but didn't have templates and had nothing like the STL. Yet the Java community focused on writing a whole bunch of libraries that everybody can assume will exist everywhere, libraries that will let you write applications really quickly. The end result is, we have templates in C++, but there's no way to write user interfaces or talk to databases. Java has no templates, but you can write user interfaces up the wazoo and you can talk to databases with no trouble at all.

http://www.artima.com/intv/abcsP.html

(google search) (amazon search)


Wed Oct 11 03:14:13 GMT 2006 From /weblog/design

Jay Flowers series


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

http://jayflowers.com/WordPress/?p=78
http://jayflowers.com/WordPress/?p=79
http://jayflowers.com/WordPress/?p=81
http://jayflowers.com/WordPress/?p=85
http://jayflowers.com/WordPress/?p=86
http://jayflowers.com/WordPress/?p=89
http://jayflowers.com/WordPress/?p=91
http://jayflowers.com/WordPress/?p=92

The summary - http://jayflowers.com/WordPress/?p=93

(google search) (amazon search)


Tue Oct 10 09:14:26 GMT 2006 From /weblog/design

ease of use gone wrong



(google search) (amazon search)


Thu Jul 06 08:41:04 GMT 2006 From /weblog/design

light weight programming


Given simple example of "Closures", "Continuations", "Metaprogramming" and "reflection"

http://www-128.ibm.com[..]loperworks/java/library/os-lightweight7/

A blog of why these are matter - http://www.cincomsmalltalk.com[..]gView?showComments=true&entry=3297336132

(google search) (amazon search)


Fri Jun 09 08:44:33 GMT 2006 From /weblog/design

Ruby vs Java


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

(google search) (amazon search)


Tue May 09 05:04:30 GMT 2006 From /weblog/design

contants


How about create a Class to hold all constant? How about static import? How about DON'T use it at all?

http://hoskinator.blogspot.com[..]onstants-in-java-is-it-right-to-use.html

(google search) (amazon search)


Fri Apr 28 04:48:22 GMT 2006 From /weblog/design

webservice


Look like mostly negative: http://www.theserverside.com/news/thread.tss?thread_id=40064

(google search) (amazon search)


Tue Apr 11 07:09:22 GMT 2006 From /weblog/design

continuations


A more detailed discussion about this design approach, as far as I can tell is to put all session information to URL automatically.

http://www-128.ibm.com[..]brary/j-cb03216/?ca=dgr-jw22StatelessWeb
http://www.theserverside.com[..]m/news/thread.tss?thread_id=39579#204688

(google search) (amazon search)


Fri Feb 24 08:14:21 GMT 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

http://jroller.com/page/henribenoit?entry=where_am_i_called_from

(google search) (amazon search)


Wed Jan 18 08:22:34 GMT 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:
http://www-128.ibm.com/developerworks/java/library/j-pg04125/
http://www-128.ibm.com/developerworks/cn/java/j-pg04125/
http://groovy.codehaus.org/GroovyMarkup
http://redhanded.hobix.com/inspect/markabyForRails.html

(google search) (amazon search)



Sun Jan 08 11:23:48 GMT 2006 From /weblog/design/exception

cool exception message


From a very good jpeg meta data extractor - http://drewnoakes.com/code/exif/ 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 10:20:01 GMT 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,
Sven

(google search) (amazon search)


Sun Oct 23 10:10:19 GMT 2005 From /weblog/design

practical uml editor


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

http://www.spinellis.gr/sw/umlgraph/

(google search) (amazon search)