692 reputation
48
bio website ookbee.com
location Bangkok, Thailand
age 38
visits member for 4 years, 8 months
seen May 21 at 4:47

Minimalism developer


Mar
28
comment can you have too many dto/bo - mapping method
I tried both, and the latter one is my current solution. I think my life is better with that.
Mar
23
comment Null object pattern or nullable
Without context specified, this question is pointless. The nullable is not even a null object pattern.
Jan
1
comment Asp.net Web Api Controller design
I agree. Go on and don't stop even someone shout "SRP" out loud.
Jun
24
awarded  Nice Answer
Jan
19
comment What are the drawbacks of immutable types?
@Giorgio The point is the consumer's convenience. Making a copy is technically another instantiation, and it is also quite tedious if you use constructor. Fluent interface might be really helpful in some language for making immutable type manipulated copy, but the usability is still lower than simple assignment, take time to implement and definitely has more or less performance impact comparing to plain mutable type.
Dec
22
answered Is using “out” or “ref” parameters in Java methods to return extra values bad?
Oct
21
awarded  Yearling
Oct
19
comment How important is to avoid name collisions between libraries belonging to different domains?
You mean your library name or your classes' name?
Jul
16
comment how to use the same behaviour in different classes
I think it's still not clear enough. Provide some of your current code snippet would help a lot.
Jul
16
comment how to use the same behaviour in different classes
If those classes are completely unrelated to each other, it is quite impossible to share implementation in type-safe manner. I believe text label and icon at least derive from some common class?
Jul
11
answered Coding convention regarding the usage of underscores
Jun
10
answered Is copy & paste programming bad?
May
16
answered Returning a boolean when success or failure is the sole concern
Apr
30
comment What are the drawbacks of immutable types?
@Giorgio For mutable type, default constructor should initialise the instance to the default state and the state of the instance can be altered later after instantiation.
Apr
29
answered Coding style (do more, then simplify)
Apr
28
answered What are the drawbacks of immutable types?
Apr
24
answered Separation of concerns: Whose concern is this?
Feb
24
awarded  Caucus
Jan
18
awarded  Autobiographer
Sep
12
awarded  Yearling