Thu Jun 07 17:21:55 GMT 2012
From
/weblog/design
Is it better to wrap all node with methods, or use regular expression to manipulate? I think we should use best tools case by case. -
http://www.codinghorror.com/blog/archives/000617.html Matching Wildcards: An Algorithm -
http://www.ddj.com/architect/210200888?pgno=1 Generic Text Comparison Tool with LCS Approach -
http://www.javacodegeeks.com[..]neric-text-comparison-tool-with-lcs.html
(google search)
(amazon search)
Thu Mar 01 14:35:45 GMT 2012
From
/weblog/design/examples
How Mailinator compresses email by 90%, how to analysis the bottleneck and how to find the solution to get good compression ration and also fast to compress -
http://mailinator.blogspot.com[..]w-mailinator-compresses-email-by-90.html
(google search)
(amazon search)
Mon Feb 20 16:02:15 GMT 2012
From
/weblog/design
Discussion of trade off between having modular design which is easy to test difference module independencely , verse have big testable context that able to write test for all module -
http://blog.objectmentor.com[..]s/2007/06/11/collateral-effort-revisited Discussion of trade off between performance and consistent about distributed system -
http://www.allthingsdistributed.com[..]d.com/2008/12/eventually_consistent.html http://www.infoq.com/news/2008/03/ebaybase http://www.infoq.com/news/2009/01/EventuallyConsistent, Discussion about good thing and bad thing for blocking method -
http://javarevisited.blogspot.com[..]s-blocking-methods-in-java-and.html#more
(google search)
(amazon search)
Wed Sep 14 16:39:54 GMT 2011
From
/weblog/design
A comment about jsch library, discuss about how the author compare this with commerice library, how easy to use, what make it easy or not easy to user, and how to make it easier a nice reading for writing library
http://www.logemann.org[..]?permalink=jsch_a_SFTP_java_library.html A simple implementation of cache -
http://weblog.plexobject.com/?p=1568 Good examples of bad codes -
http://isagoksu.com[..]ike-a-senior-developer-about-clean-code/ Design of recommandation engine -
http://horicky.blogspot.com/2011/09/recommendation-engine.html
(google search)
(amazon search)
Tue Aug 23 16:39:31 GMT 2011
From
/weblog/design
Object Calisthenics is an idea suggest by Jeff Bay in The ThoughtWorks Anthology , and lists 9 rules to writing better Object Oriented code. For those who haven’t seen the book, the 9 rules are:
# Use only one level of indentation per method
# Don’t use the else keyword
# Wrap all primitives and strings
# Use only one dot per line
# Don’t abbreviate
# Keep all entities small
# Don’t use any classes with more than two instance variables
# Use first-class collections
# Don’t use any getters/setters/properties
http://www.markhneedham.com[..]1/06/object-calisthenics-first-thoughts/
(google search)
(amazon search)