Explore our questions

1 vote
6 answers
295 views

How are strings simultaneously objects and primitive data types in C#?

0 votes
3 answers
219 views

Is "my method supposes to work with specific subtype only" a reason to avoid "declare the most abstract type"?

2 votes
1 answer
137 views

How is $this provided in PHP?

2 votes
3 answers
307 views

Should I still "replace conditional with polymorphism" if the condition is from dynamic load data?

1 vote
5 answers
344 views

Specialization and LSP violation?

2 votes
1 answer
294 views

How to choose between functions and objects

0 votes
1 answer
107 views

Should I "introduce parameter object" for the case that the parameter is originally already a whole object?

0 votes
1 answer
136 views

How to model in OOP interactions with entities in other systems?

2 votes
2 answers
518 views

Why access the attributes of a Python class by reference?

30 votes
6 answers
9k views

Visitor Pattern: what's the point of the `accept` method?

16 votes
4 answers
12k views

“Depend on abstractions, not on concretions” what is the exact meaning of this term

4 votes
1 answer
146 views

Is there a proper term for a "closed class hierarchy?"

1 vote
4 answers
372 views

What's the alternative to trying to inherit static methods?

169 votes
18 answers
293k views

Is it better to return NULL or empty values from functions/methods where the return value is not present?

Browse more Questions