coupling
-
Separation of game and rendering logic
What is the best way to separate rendering code from the actually game engine/logic code? And is it even a good idea to separate those?[详细]
2022-12-28 18:04 分类:问答 Coupling between controller and view
The litmus test for me for a good MVC implementation is how easy it is to swap out the view. I\'ve always done this really badly due to being lazy but now I want to do it right. This is in C++ but it[详细]
2022-12-26 12:28 分类:问答Making OR/M loosely coupled and abstracted away from other layers
In an n-tier architecture, the best place to put an object-relational mapping (OR/M) code is in the data access layer.For example, database queries and updates can be delegated to 开发者_开发技巧a too[详细]
2022-12-25 06:30 分类:问答How should I inherit IDisposable?
Class names have been changed to protect the innocent. If I have an interface named ISomeInterface.I also have classes that inherit the interface, FirstClass and SecondClass.FirstClass uses resources[详细]
2022-12-13 05:28 分类:问答