The tag has no usage guidance.

learn more… | top users | synonyms

-3
votes
0answers
13 views

Help understanding a problem with inclusion/exclusion

I think I understand the basic example of the inclusion/exclusion principle, this is, for an example when you have a venn diagram and you are counting the elements. You first over-count the ...
9
votes
3answers
2k views

Dependency Inversion Principle vs “Program to an interface, not an implementation”

I'm trying to understand how the Dependency Inversion Principle differs from the "program to an interface, not an implementation" principle. I understand what "Program to an interface, not an ...
0
votes
2answers
82 views

What are the principles of open source projects? [closed]

Although its generally agreed by organisations like the OSI and the FSF what is and isn't an open source software (basically, the the terms of the source code license) what are the guiding principals ...
3
votes
5answers
1k views

Why is Encapsulation considered a primary principle in OOP?

I am currently trying to understand more deeply the 4 principles of OOP: Abstraction, Encapsulation, Inheritance, and Polymorphism. After studying the four principles, I don't fully understand why ...
7
votes
2answers
226 views

What is “Semantics visibility”?

I'm reading 97 Things Every Programmer Should Know, now I'm positioned in "Apply Functional Programming Principles", and there is a paragraph that says: ...A leading cause of defects in imperative ...
14
votes
2answers
765 views

Build one to throw away vs Second-system effect

On one hand there is an advice that says "Build one to throw away". Only after finishing a software system and seeing the end product we realize what went wrong in the design phase and understand how ...