108 reputation
5
bio website smarthichem.wordpress.com
location Algiers, Algeria
age 27
visits member for 2 years, 5 months
seen Jun 1 at 17:54

Visual Studio, WPF, C#, PRISM, MVVM,Entity Framework, .NET Framework, NUnit and SQL SERVER..all are my lovely stuff. Please, Visit my blog


Jun
1
awarded  Scholar
Jun
1
accepted Confused about implementing Single Responsibility Principle
May
31
comment Confused about implementing Single Responsibility Principle
I understand that using InvoiceItemsGenerator class is not a bad practice. Because I thought it's somehow preferable to embed business logic in the model classes (from MVVM practices).
May
31
comment Confused about implementing Single Responsibility Principle
@Vector yes it does, the items generator contains each service type logic in the same place explicitly, it's absolutely too much things in one method, this breaks open closed principle right away in addition that can never be unit tested. Could you elaborate on the last point?
May
30
comment Confused about implementing Single Responsibility Principle
For the design, I just want to get each class of these its own piece of business logic so I get rid of InvoiceItemsGenerator that contains "traversal algorithm"
May
30
comment Confused about implementing Single Responsibility Principle
Yes, in other words, we can have many services, each service has a related to collections of vehicles. for ex: "Customs check" customs come and check 1 to many vehicles in date1, and other vehicles in date2 etc
May
30
revised Confused about implementing Single Responsibility Principle
edited body
May
30
revised Confused about implementing Single Responsibility Principle
added 65 characters in body
May
30
revised Confused about implementing Single Responsibility Principle
added 102 characters in body
May
30
asked Confused about implementing Single Responsibility Principle
May
2
awarded  Editor
Jan
30
comment Freelancer.com—Any opinions?
@cwallenpoole Thanks, Very helpful, I did good finding out about these websites before making any big decisions.
Jan
30
awarded  Supporter
Feb
17
awarded  Autobiographer
Feb
5
awarded  Student