Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options not deleted user 1921

A methodology that enables a system to be modeled as a set of objects that can be controlled and manipulated in a modular manner

41 votes
Accepted

OOP technology death

Any time someone tells you that one software technology will kill another one or dominate the whole market/use/audience, remember this : A sane (dynamic but stable) ecosystem is made of a variety of …
Klaim's user avatar
  • 14.9k
7 votes
Accepted

Delegation and MetaClass in C++

Delegation can be achieved in C++ by using functors (made even more simple to declare in C++11 with lambdas). Any type can define a call operator member function, so you could say that C++ does have D …
Klaim's user avatar
  • 14.9k
0 votes

Clarify the Single Responsibility Principle

It's about having one unique rôle. Each class should be resumed by a role name. A role is in fact a (set of) verb(s) associated with a context. For example : File provide a file's access. FileMana …
Klaim's user avatar
  • 14.9k
10 votes
Accepted

In C++, is it a reflection of poor software design if objects are deleted manually?

Short answer : that depends, and using smart pointers systematically is just wrong. Think first. I'm using smart pointers for a lot of things but it's not right for everything, ie. no silver bullet. Y …
Klaim's user avatar
  • 14.9k
6 votes

Can a class be inside another class?

Can we make a class inside another class ? Yes, in C++ you can, it is called a nested class. However, this class is more like an extension of it's containing class, so don't forget that the sub c …
Klaim's user avatar
  • 14.9k
13 votes

Why were concepts (generic programming) conceived when we already had classes and interfaces?

Short answer : You're mixing before-compile-time and compile-time concepts that have similarities in their purpose. Interfaces (abstract classes and all the object-orientation paradigm implementation) …
Klaim's user avatar
  • 14.9k
7 votes
Accepted

generic programming, how often is it used in industry

I'm curious - is generic programming (GP) used much in industry? It's really widely dependent on the context of the team and the project. For example, in video games, often the code is the "simp …
Klaim's user avatar
  • 14.9k
11 votes

Is STL implemented with OO?

First, the "STL" is not an official term, it is the name of the library proposed for inclusing in the C++ Standard Library when there was no containers. It provides essentially container and algorithm …
Klaim's user avatar
  • 14.9k