604 reputation
412
bio website montrealistic.blogspot.com
location Montreal, Canada
age
visits member for 3 years, 7 months
seen Jan 20 at 20:09

Love programming. And Metallica.

Currently working at DorianLabs (www.dorianlabs.com).


May
21
awarded  Yearling
Dec
14
awarded  Autobiographer
May
29
awarded  Nice Answer
Oct
16
awarded  Yearling
Apr
22
accepted RESTful Design: Multiple Relationships Between the Same 2 Entities
Jan
25
asked RESTful Design: Multiple Relationships Between the Same 2 Entities
Jan
4
comment Multi-platform Mobile Development?
J2ObjC looks very interesting! One business layer + device specific UI layer concept might actually work really well. Have you given it a shot before?
Nov
5
awarded  Citizen Patrol
Nov
3
revised Achieving decoupling in Model classes
fixed grammer
Nov
3
accepted Achieving decoupling in Model classes
Nov
3
comment Achieving decoupling in Model classes
Yes, creating interfaces really showed me actual dependencies between the classes. It also made the design a lot easier to test. For the rest, fluent interfaces do help. I remember using it in a previous project :) On the other hand, some of my dependencies turned out to be completely unnecessary; due to my misjudgement in the layers (see my update).
Nov
3
comment Achieving decoupling in Model classes
Correct! The aggregates ended up staying in the design (see my update).
Nov
3
comment Achieving decoupling in Model classes
Yes, in the aggregator case, the dependencies turned out to be unnecessary (see my update). For the reports, the Item has a reference to the ItemReport class but the ItemReport depends on ItemDataProvider interface. As a result, ItemReport can easily be tested.
Nov
3
comment Achieving decoupling in Model classes
The value is test in isolation. I wasn't aiming for complete decoupling but as it turns out; there were some unnecessary couplings in my design.
Nov
3
revised Achieving decoupling in Model classes
My answer to the question
Oct
16
awarded  Yearling
Oct
8
asked Achieving decoupling in Model classes
Feb
22
comment Creating Unit Tests on a CRUD layer of an Application, how can I make the tests independent?
You might also want to take a look at this question: programmers.stackexchange.com/questions/115455/…
Feb
21
answered Designing class methods: self contained or explicit calls?
Feb
14
comment What characteristics or features make code maintainable?
I would be very careful about that read like a book argument. I know exactly what you mean by that and I completely agree. However, I have heard that argument being used (against me, several times) in the following way: "I want ALL my logic to reside in this class/method; I want to be able to read it like a book when I come back to it." This is obviously not what we strive for; it is the exact opposite of maintainable code!