RSS feed [root] /




login:

password:

title search:




 


Wed Jun 09 10:03:42 AEST 2021



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

Fri Dec 30 19:39:56 AEDT 2011 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)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

quote


Quotations on simplicity in software design - http://www.jbox.dk/quotations.htm


(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

racing


Discussion about racing condition - http://www.slideshare.net[..]smatter/cqrs-race-conditionsandsagasohmy

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

refactoring


http://c2.com/cgi/wiki?RefactoringLanguage

Refactoring to Patterns Catalog - http://www.industriallogic.com/xp/refactoring/catalog.html

Article talk about the book: http://www.oreillynet.com/ruby/blog/2006/03/transformation.html

Catagories smell into "smell in class" and "smell between class" - http://www.codinghorror.com/blog/archives/000589.html

Known but good to remind http://www.thecodejunkie.com[..]10/01/6-steps-to-master-refactoring.html

An experience sharing - http://www.javacodegeeks.com[..]m/2011/05/refactor-hudson-god-class.html http://www.peterprovost.org[..]treme-Refactoring-with-Brian-Button.aspx

Refactoring should not introduce bug... - http://jchyip.blogspot.com[..]01/so-why-are-you-refactoring-again.html

A way to have formal refactoring, through Feature Clustering, Rapid Scratch Refactoring and Twisting Classes - http://www.thekua.com[..]rom-michael-feathers-brutal-refactoring/

Not all code change is refactoring - http://parlezuml.com/blog/?postid=850 , and

Some common issues about refactoring code in a team - http://www.rickylui.com[..]/2008/01/28/dont-be-a-refactoring-bigot/ http://blog.joepoon.com[..]01/dangers-of-premature-refactoring.html , beware taking the balance - http://www.makinggoodsoftware.com[..]ith-beautiful-code-the-refactor-syndrome

Refactory if needed - http://dreamhead.blogbus.com/logs/24874404.html

Refactoring, when start, when stop? - http://martinfowler.com/bliki/OpportunisticRefactoring.html

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

reference


Contain discuss about if value object should be immutable or it is still ok - http://c2.com/cgi/wiki?ValueObject

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

report


TDD reporting system

Only introduce framework when it is needed - http://xprogramming.com/xpmag/dbcCallingTheShot.htm
Process of improving - http://xprogramming.com/xpmag/dbcLjuticMonoGun.htm
Introduce reflection - http://xprogramming.com/xpmag/dbcLjuticRefactoring.htm

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

reuse


some common pitfall of code reuse - http://tomasvarsavsky.com/2007/07/26/wary-of-code-reuse/ http://www.infoq.com/news/2007/07/worthless-code

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

robust


Robustness, list of general design principle - http://www.makinggoodsoftware.com[..]2/robustness-the-forgotten-code-quality/ http://www.makinggoodsoftware.com[..]tics-of-a-robust-application-or-service/

How to write readable code - http://www.simple-talk.com[..]net-framework/writing-maintainable-code/

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

saga


Introduction to Saga - http://www.udidahan.com[..]sistence-and-event-driven-architectures/

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

samples


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)



Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

sorting


Show a design of how to write a map that store data at disk and do sorting - http://mattfleming.com/node/53

User friendly sort , "100" should be sort after "10" - http://www.codinghorror.com/blog/archives/001018.html

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

starting point


Where do you start your design? UI? flow? Data? This is a very interesting discussion about this

http://www.theserverside.com/news/thread.tss?thread_id=44883

I think most likely start with UI is better, because it probably representing domain closer

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

static


I will prefer using static method as less as possible... there is some
side effect you are not expected, like, are you sure it thread safe? static
method easier to have thread problem.

You may take a look at http://debasishg.blogspot.com[..]007/03/making-classes-unit-testable.html , http://www.beust.com/weblog/archives/000173.html and http://discuss.joelonsoftware.com[..]Parent=7972&ixDiscussGroup=3&cReplies=29

Parameter passing vs static accessor: Should I press things around or get from public static instance? - http://groups.yahoo.com/group/refactoring/message/3342

Reason of static method is not overrided - http://groups.google.com[..]thread/ec8b924d60dd4734/99b488aa1f8106c9

Another example of thread problem with static member - http://jroller.com[..]=calendar_dateformat_and_multi_threading

How to mock static method code for testing - http://blog.xebia.com/2007/06/21/mocking-static-calls/

http://googletesting.blogspot.com[..]ic-methods-are-death-to-testability.html

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

string


Discussion about search and replace for a lot of files - http://discuss.joelonsoftware.com/default.asp?design.4.570350

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

term


Compare related words - http://caminao.wordpress.com[..]011/12/11/reflections-for-the-perplexed/

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

testable


http://misko.hevery.com/code-reviewers-guide/

Discussion on TDD algorithm - http://css.dzone.com/articles/tdd-algorithms

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

text


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

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

trade off


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,

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

typing


Discussion of dynamic and static typing: http://www-128.ibm.com[..]orks/java/library/j-cb05236.html?ca=drs-

There are always arguement of having compilataion checking is good (safe) or bad (tedious), here is an example showing compilation checking is good - http://udidahan.weblogs.us/archives/036626.html

Another discussion - http://discuss.joelonsoftware.com/default.asp?joel.3.401797 http://blog.objectmentor.com[..]gly-typed-languages-considered-dangerous

Reference information of types - http://cdsmith.twu.net/types.html http://www.artima.com/weblogs/viewpost.jsp?thread=209353

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

unmaintainable


http://mindprod.com/jgloss/unmain.html

http://c2.com/cgi/wiki?CodeSmell

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

version


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)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

visibility


Someone saying that having private method is anti-pattern, here is the discussion - http://www.infoq.com/news/2008/01/private-methods-tdd-design

Discussion of encapsulation - http://niket-this.blogspot.com[..]/encapsulation-does-it-really-exist.html

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

webservice


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

(google search) (amazon search)


Fri Dec 30 19:39:56 AEDT 2011 From /weblog/design

when api design rule conflict


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)