StackOverflow Questions for Tag: oop

user4181107
user4181107

Reputation: 401

What does the array payload mean in the context of some_function(array($this, 'something'))

Score: 1

Views: 65

Answers: 4

Read More
Izik P.
Izik P.

Reputation: 11

Casting a container of Derived to container of Base

Score: 1

Views: 92

Answers: 0

Read More
never_had_a_name
never_had_a_name

Reputation: 93276

Do PHP interfaces have properties?

Score: 96

Views: 64178

Answers: 7

Read More
AVALFINN
AVALFINN

Reputation: 29

C++: What pattern to avoid dynamic_cast of elements of vector<unique_ptr<BaseClass>> to call the appropriate handler with separation of concerns?

Score: -1

Views: 109

Answers: 1

Read More
Travis
Travis

Reputation: 10912

Can an object automatically delete itself once it has achieved its purpose?

Score: 55

Views: 50096

Answers: 3

Read More
freude
freude

Reputation: 3832

Python design pattern: class that returns different objects depending on parameters

Score: 2

Views: 1204

Answers: 3

Read More
readonly
readonly

Reputation: 355934

Prefer composition over inheritance?

Score: 2019

Views: 510234

Answers: 37

Read More
C. Cretan
C. Cretan

Reputation: 69

Difference between Aggregation and Composition?

Score: 6

Views: 7736

Answers: 2

Read More
Tom Hosker
Tom Hosker

Reputation: 722

Is it bad practice NOT to use private methods and functions in Python?

Score: 6

Views: 3358

Answers: 3

Read More
Georgio
Georgio

Reputation: 175

Are static arrays already in the script

Score: 1

Views: 45

Answers: 0

Read More
user2036677
user2036677

Reputation:

Override delete operator

Score: 6

Views: 17234

Answers: 3

Read More
Qaisar Mahmood
Qaisar Mahmood

Reputation: 72

Could not access the class attribute inside the class using 'this' keyword

Score: 1

Views: 70

Answers: 1

Read More
Gabriele Monti
Gabriele Monti

Reputation: 31

Print out chess board from list of objects

Score: 1

Views: 1976

Answers: 4

Read More
Stefan Lapointe
Stefan Lapointe

Reputation: 89

Do interfaces have any purpose besides achieving polymorphism and multiple inheritance?

Score: 4

Views: 1201

Answers: 2

Read More
Faly
Faly

Reputation: 13356

Prevent calling of an abstract method from the child class which implement it

Score: 1

Views: 54

Answers: 1

Read More
yunus özpolat
yunus özpolat

Reputation: 1

How to delete an object?

Score: 0

Views: 54

Answers: 0

Read More
Filipe Delgado
Filipe Delgado

Reputation: 1

Efficient and safe way to create a singleton in C++

Score: -5

Views: 46

Answers: 0

Read More
SenneVP
SenneVP

Reputation: 115

How to extract constructor parameters from object?

Score: 1

Views: 82

Answers: 1

Read More
Utsav Katharotiya
Utsav Katharotiya

Reputation: 1

How can i call destructor explicitly?

Score: -2

Views: 68

Answers: 1

Read More
user1315906
user1315906

Reputation: 3494

What does 'low in coupling and high in cohesion' mean

Score: 256

Views: 264223

Answers: 19

Read More
PreviousPage 3Next