RSS feed [root] /design /weblog




login:

password:

title search:




 


Sun Oct 01 16:19:43 HKT 2017

design



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

Wed Oct 19 21:04:52 HKT 2011 From /weblog/design/interview

K&R


Discuss about C and C++ - http://drdobbs.com[..]int?articleId=184408272&siteSectionName=

Discuss about history of C, UNIX and GO - http://drdobbs.com[..]rint?articleId=229502480&siteSectionName


(google search) (amazon search)


Sun Oct 16 23:52:23 HKT 2011 From /weblog/design/interview

Continuous Delivery


Overview of CD, and some Q & A - http://www.infoq.com/articles/humble-farley-continuous-delivery

(google search) (amazon search)


Sun Oct 16 23:51:03 HKT 2011 From /weblog/design/interview

Kent Beck


Passion of coding make a lot of difference - http://jimhighsmith.com[..]/07/interview-with-kent-beck-circa-2001/

(google search) (amazon search)


Sun Oct 09 10:09:16 HKT 2011 From /weblog/design

racing


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

(google search) (amazon search)


Mon Oct 03 01:04:16 HKT 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)


Thu Sep 15 00:44:48 HKT 2011 From /weblog/design

enterprise


Top 10 mistake that cause poor performance Java EE - http://www.theserverside.com/news/thread.tss?thread_id=45187 which, the concept apply much more than enterprise

http://www.makinggoodsoftware.com[..]the-architecture-for-a-software-project/

(google search) (amazon search)


Thu Sep 15 00:39:54 HKT 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)


Wed Aug 24 00:39:31 HKT 2011 From /weblog/design

Object Calisthenics


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)


Sun May 15 03:02:16 HKT 2011 From /weblog/design

LawOfDemeter


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

(google search) (amazon search)


Sun May 15 03:01:25 HKT 2011 From /weblog/design/pattern

Best pattern


Discussion about which pattern is most important - http://www.adam-bien.com[..]page/abien?entry=most_important_patterns

Pattern Language Titles - http://c2.com/ppr/titles.html

(google search) (amazon search)


Sun May 15 02:59:23 HKT 2011 From /weblog/design

unmaintainable


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

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

(google search) (amazon search)


Sun May 15 02:52:07 HKT 2011 From /weblog/design/pattern

criticism


Suggest use to take a fresh look of original "pattern language" - http://perl.plover.com/yak/design/ , in his opinions, it is more about separate design to difference groups than create reusable design.

Some more... http://www.relevancellc.com[..]007/5/17/design-patterns-are-code-smells http://www.codinghorror.com/blog/archives/000899.html

Some say pattern should be language feature ... http://www.codinghorror.com/blog/archives/000308.html

Closely related, there are no golden rules and silver bullet, Design Pattern can help us in some design problem and provide some design suggestion. However, we need to know what it good for and bad for
http://jchyip.blogspot.com/2008/01/gefn.html
http://jchyip.blogspot.com[..]est-practice-vs-pattern-vs-standard.html
http://jchyip.blogspot.com[..]ndard-approach-does-not-necessarily.html

Use pattern in hello world, sample of over engineering: http://developers.slashdot.org/comments.pl?sid=33602&cid=3636102


(google search) (amazon search)



Sun May 15 02:40:40 HKT 2011 From /weblog/design

interface


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

manifesto


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 May 15 02:11:54 HKT 2011 From /weblog/design/concurrency

deadlock


Deadlock detector sample - http://www.onjava.com/lpt/a/5246 http://www.javaspecialists.eu/archive/Issue130.html http://www.javaspecialists.eu/archive/Issue147.html

Deadlock in J2EE, explaining deadlock in various place, e.g. DB, VM, code,... - http://jdj.sys-con.com/read/204688_p.htm

A blog comment about database deadlock very detail - http://softarc.blogspot.com[..]2007/04/java-wish-list-2-retry-code.html

Technique to prevent deadlock: Automatic Lock Releases, Timeout, automatic detection - http://onjava.com/lpt/a/5246

(google search) (amazon search)


Sun Apr 24 01:07:07 HKT 2011 From /weblog/design

saga


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

(google search) (amazon search)


Sun Mar 13 00:24:49 HKT 2011 From /weblog/design/pattern

examples


Non-Software Examples of Software Design Patterns - http://www.cours.polymtl.ca[..]vers/nonSoftwareExample/patexamples.html

http://www.dotnetcube.com[..]hain-of-Responsibility-Pattern-in-C.aspx

Patterns to replace switch - http://jamesladdcode.com/?p=299

Design pattern in JDK - http://www.javacodegeeks.com/2011/03/design-patterns-in-jdk.html

(google search) (amazon search)


Fri Feb 11 00:48:54 HKT 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)


Tue Feb 08 00:38:32 HKT 2011 From /weblog/design/distribute

GridGain


Implement ping-pong play between two nodes on the cloud using GridGain Distributed Actors - http://gridgaintech.wordpress.com[..]11/01/26/distributed-actors-in-gridgain/

(google search) (amazon search)


Sun Jan 16 01:51:29 HKT 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)


Tue Dec 14 00:57:34 HKT 2010 From /weblog/design

language


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 Dec 09 02:55:30 HKT 2010 From /weblog/design

hashing


http://computinglife.wordpress.com[..]why-do-hash-functions-use-prime-numbers/
http://www.azillionmonkeys.com/qed/hash.html

(google search) (amazon search)


Thu Mar 25 02:07:15 HKT 2010 From /weblog/design

date


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)


Tue Feb 02 12:03:55 HKT 2010 From /weblog/design

indexing


twelve things you should know about indexing - http://www.ademero.com[..]elve-things-you-should-know/indexing.php

(google search) (amazon search)