Skip to main content
6 events
when toggle format what by license comment
May 19, 2016 at 19:23 comment added psaxton @GregBurghardt yes
May 19, 2016 at 16:22 comment added Greg Burghardt @psaxton: "LoD" means "Law of Demeter" right? (i.e. Principal of Least Knowledge)
May 19, 2016 at 14:11 comment added psaxton YAGNI is to not do more than you actually need. LoD is to not reach through dependencies -- think no more than one dot operator in a statement. LoD is most definitely not happy with this code block.
May 19, 2016 at 14:06 history edited psaxton CC BY-SA 3.0
Added sample
May 19, 2016 at 13:51 comment added Margus CartDto contains only 1 id and this is because currently I do not need anything more (it is specifically a dto and not a type). I think it was called "Law of Demeter" what stated I should not pass in more than I actually need. If you scroll right you can see comments about what responsibility is currently violated.
May 19, 2016 at 13:03 history answered psaxton CC BY-SA 3.0