New answers tagged solid
0
votes
Exceptions and the Liskov Substitution Principle
I dont think the question is really about throwning vs result object... Both are ok in general with a bunch of caveats and open philosophical dispute.
If you define an interface the definition shall ...
Top 50 recent answers are included
Related Tags
solid × 399object-oriented × 138
design-patterns × 75
c# × 64
single-responsibility × 57
design × 56
object-oriented-design × 56
liskov-substitution × 48
interfaces × 34
open-closed-principle × 25
java × 22
architecture × 20
dependency-injection × 19
php × 18
dependency-inversion × 17
inheritance × 16
c++ × 14
clean-code × 12
class-design × 12
design-principles × 11
unit-testing × 10
domain-driven-design × 10
.net × 9
patterns-and-practices × 8
python × 7