single-responsibility-principle
how to install two application with one installation?
i am new to android application.I have created two sample applications as Oneproject,Twoproject.when i run the Oneproject then the Twoproject automatically should be install in the same device,For thi[详细]
2023-04-12 23:31 分类:问答Learning Single Responsibility Principle with C#
I am trying to learn the Single Responsibility Principle (SRP) but it is being quite difficult as I am having a huge difficult to figure out when and what I should remove from one class and where I sh[详细]
2023-04-07 13:36 分类:问答SRP Algorithm Design
I am reading Uncle Bob\'s Agile PPP, Specifically i am reading the SRP part of it, while reading about the principle i got a doubt that is it not that SRP is increasing the coupling in our design with[详细]
2023-04-06 11:40 分类:问答Single Responsibility Principle in OOP
In my application design, I usually map objects to the important tables in the database. The objects then handle everything relating to that data (including linkage tables). So I for example have buil[详细]
2023-04-04 22:57 分类:问答How many methods can we reasonably put in an entity before it's considered bloated? [closed]
As 开发者_JAVA百科it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely so[详细]
2023-04-02 09:49 分类:问答Are current MVVM view model practices a violation of the Single Responsibility Principle?
With current practices (at least with WPF and Silverlight) we see views bound via command bindings in the view model or we at least see view events handled in view models. This appears to be a violati[详细]
2023-03-30 07:47 分类:问答Clean up fat rails helpers
Today, trying to DRY up some code, I extracted some duplicate File.exists? code used by several helper methods into a private method[详细]
2023-03-28 16:27 分类:问答unit testing and SRP (test method scope/organisation)
Say I have an MVC Action like: public ActionResult CustomerRecord(customerId) { if (_cu开发者_JAVA百科rrentUser.CanViewCustomer(customerId))[详细]
2023-03-23 23:43 分类:问答Single Responsibility Principle - Loading a list from a file?
Say I have a Car class: class Car { string GetMake() string GetModel() int GetYear() } And I have a custom CarService class that holds a list of cars:[详细]
2023-03-22 03:47 分类:问答Limiting what a user can do based on roles
Scenario I\'m building a system where each item gets reviewed by 2 different people. Whenever the first reviewer saves an item review it\'s then turn for the second checker to complete their individu[详细]
2023-03-17 09:37 分类:问答