Lazy loading can lead to stale data, violates IoC?
Trying to be a better programmer
How To Document an Object Oriented Design in Text
For my next project, I’m looking to document my Object Oriented design in simple text before jumping the gun to code it up. I want to do this for two reasons.
Open source software with good code documentation to improve design skill [closed]
Want to improve this post? Provide detailed answers to this question, including citations and an explanation of why your answer is correct. Answers without enough detail may be edited or deleted. As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, […]
Is my mediator layer a sensible way to manage this scenario using the Single Responsibility Principle?
I’m not sure how to start to explain my question, but here goes.
Do some best practices depend on skill?
Is there evidence that some software development best practices depend on programming skill level? I mean, these methods are good, but maybe the way the are used or the extent might vary?
Replacing Multiple Inhertance with delegation
I was going through “Object Oriented Modelling and Design” by James Rumbaugh et al and it said that in languages where multiple inheritance is not supported like Java three mechanisms can be used as workarounds
Does multiple inheritance violate Single Responsibility Principle?
If you have a class which inherits from two distinct classes, does not this mean that your subclass automatically does (at least) 2 things, one from each superclass?
Is it a better practice pre-initialize attributes in a class, or to add them along the way?
I’m sorry if this is a ABSOLUTELY sophomoric question, but I’m curious what the best practices are out there, and I can’t seem to find a good answer on Google.
Can a loosely typed language be considered true object oriented?
Can a loosely typed programming language like PHP be really considered object oriented?
What is a “behavior rich object” and why would it be advantageous?
I am referring to the article Mocks aren’t Stubs by Martin Fowler. When naming cases when he think “mockist” TDD will be advantageous, he said