32 Answered Questions

[SOLVED] What does it mean to "program to an interface"?

38 Answered Questions

[SOLVED] Why use getters and setters/accessors?

32 Answered Questions

[SOLVED] Prefer composition over inheritance?

23 Answered Questions

[SOLVED] What is the purpose of the word 'self'?

  • 2010-04-25 20:22:28
  • richzilla
  • 861579 View
  • 1139 Score
  • 23 Answer
  • Tags:   python class oop self

21 Answered Questions

[SOLVED] What are metaclasses in Python?

5 Answered Questions

[SOLVED] How should a model be structured in MVC?

15 Answered Questions

[SOLVED] What is the meaning of single and double underscore before an object name?

21 Answered Questions

[SOLVED] What does the 'static' keyword do in a class?

7 Answered Questions

[SOLVED] Understanding Python super() with __init__() methods

35 Answered Questions

[SOLVED] Interface vs Abstract Class (general OO)

20 Answered Questions

[SOLVED] Are static class variables possible in Python?

7 Answered Questions

[SOLVED] What's wrong with overridable method calls in constructors?

8 Answered Questions

31 Answered Questions

9 Answered Questions

[SOLVED] Why should I prefer to use member initialization lists?

34 Answered Questions

[SOLVED] What's the difference between a method and a function?

30 Answered Questions

[SOLVED] What are the differences between struct and class in C++?

27 Answered Questions

[SOLVED] Why not inherit from List<T>?

16 Answered Questions

[SOLVED] Adding a Method to an Existing Object Instance

7 Answered Questions

[SOLVED] Examples of GoF Design Patterns in Java's core libraries

26 Answered Questions

[SOLVED] Difference between staticmethod and classmethod

7 Answered Questions

[SOLVED] What are the differences between type() and isinstance()?

11 Answered Questions

[SOLVED] Is there a use-case for singletons with database access in PHP?

38 Answered Questions

[SOLVED] Interface vs Base class

28 Answered Questions

[SOLVED] What is polymorphism, what is it for, and how is it used?

18 Answered Questions

[SOLVED] What __init__ and self do on Python?

  • 2009-03-09 05:09:51
  • GUIDED BOMB
  • 1112779 View
  • 805 Score
  • 18 Answer
  • Tags:   python oop self

17 Answered Questions

[SOLVED] What is the difference between public, private, and protected?

32 Answered Questions

[SOLVED] How would one write object-oriented code in C?

  • 2008-12-09 04:02:40
  • Dinah
  • 299669 View
  • 501 Score
  • 32 Answer
  • Tags:   c oop object

23 Answered Questions

[SOLVED] When to use self over $this?

  • 2008-09-30 06:23:06
  • Casey Watson
  • 704595 View
  • 2006 Score
  • 23 Answer
  • Tags:   php class oop scope

7 Answered Questions

[SOLVED] Function pointer to member function