anti-patterns
What is the name of this bad practice / anti-pattern?
I\'m trying to explain to my team why this is bad practice, and am looking for an anti-patt开发者_开发技巧ern reference to help in my explanation.This is a very large enterprise app, so here\'s a simp[详细]
2023-04-11 16:31 分类:问答TFS -- Sustainability of Cascading Branches
Branching guidance usually describes an immortal \"Main\" branch, with features branched from Main, and merged back to Main, and Releases branched from Main, with further branches of a Release as nece[详细]
2023-04-01 17:29 分类:问答Are try/catch for every single statement that throws an exception considered an anti-pattern?
I am currently reviewing a colleagues Java code, and I see a lot of cases where every single statement that may throw an exception being encapsulated in its own try/catch. Where the catch block all pe[详细]
2023-03-28 22:09 分类:问答Circular dependency between two methods in a class
I have a library class which contains two methods, say, Login() and NavigateToPage(). Now, in order to navigate to a page, the session has to be logged in. Also, to log in, one needs to first navigate[详细]
2023-03-25 20:08 分类:问答Looking for Best Practices. What are some dos and Don'ts for extending a third party product to allow for merging new versions as easily as possible
So I have been charged with taking an active third party product that we own source code for, and making proprietary changes that will break compatibility with future updates of the product.This produ[详细]
2023-03-18 14:40 分类:问答Intersection tables or Common Super table
I currently have a design like so. There are tables for each object class. Each table then contains rows (objects) which needs to be associated with multiple statuses.[详细]
2023-03-17 00:49 分类:问答PHP string constants overuse?
I have two particular cases where I disagree with a coworker, whether constants should be used or not.[详细]
2023-03-16 14:22 分类:问答Using -1 as special value in API functions taking numeric arguments
Consider this example function from a fictive game engine API: function Entity.SetHealth( Number health )[详细]
2023-03-14 13:51 分类:问答Dependency Injection - use with Data Transfer Objects (DTOs)?
Consider the code below (which has been simplified). I have a service class that returns a list of specific DTO objects that each implement their own specific interface. In the actual code these are g[详细]
2023-03-11 23:58 分类:问答Concrete examples on why the 'Anemic Domain Model' is considered an anti-pattern [closed]
Closed. This question needs to be more focused. It is not currently accepting answers. Want to improve this question? Update the question so it focuses on one problem only by editing this po[详细]
2023-03-11 08:39 分类:问答