object-oriented

  1. Non-OOP languages advantages and good uses

  2. Does Visitor Pattern violate SRP?

  3. Should an object's capabilities be identified exclusively by the interfaces it implements?
  4. Should I build a multi-threaded system that handles events from a game and sorts them, independently, into different threads based on priority?

  5. Are abstract classes / methods obsolete?
  6. Composition over Inheritance, why not both?

  7. Why is C not considered an 'object-oriented' language?
  8. Does this class design violate the single responsibility principle?

  9. How to work with static properties

  10. When is it okay to use Parallel Arrays?

  11. Strategy for avoiding defensive copies while keeping correct encapsulation

  12. How to be organized when designing OO software architecture?
  13. Do special-cases with fallbacks violate the Liskov Substitution Principle?

  14. When to use a repository/service vs an instance variable?
  15. Should We Use Protected Member in Base Class Or Private Member in Derived Class?

  16. Is there any reason to use "plain old data" classes?

  17. Why do we need private variables?

  18. Is usage of Nested classes an example of tight coupling ? (JavaFX)
  19. Create new object or reset every property?
  20. Hierarchy in ER and OO Model

  21. What's the difference between a subclass and a subtype?

  22. Image processing - Service locator pattern & Container of dependencies
  23. What's the best way of using abstract class in C#

  24. Is the singleton pattern prone to thread safety problems?
  25. Collection calculating too much?
  26. Strategy for fetching data from an API
  27. Is it okay for a class to use its own public method?
  28. Stack extending LinkedList. A violation of Liskov Substitution Principle?
  29. Should an image be able to resize itself in OOP?
  30. Should I wrap library data structures?
  31. Is it bad design to expect the client to cast between interfaces?

  32. Is it a violation of the Open-Closed Principle to update a constant representing a real-world value?
  33. Client to application interaction results in fat interfaces

  34. How to eliminate a if-else block which is used to determine behaviour according to a boolean input?

  35. Design pattern to force client of a class to call a method
  36. Exception indicating implementation error
  37. Class A requires additional info when using it. How to pass it to B?

  38. Is loose coupling w/o use cases an anti-pattern?
  39. Having a minimal constructor while ensuring invariants

  40. Where to add the role based access logic in domain model aspects? For Library Management System
  41. Question(s) about PHP PDO connections

  42. The finer points of HMVC
  43. How to approach strategy design in OOP.
  44. Object design principle which describes interface symmetry

  45. How to compute Pricing of Product & Options based on User Option Selection and Pricing per Option

  46. Should all methods of a class be at the same level of abstraction?

  47. Rule of thumb for deciding which class a method belongs to

  48. Is pattern-matching against types idiomatic or poor design?
  49. Calculated properties in OOP

  50. Immediately awaiting an asynchronous call

  51. When is it ok to instantiate all of my objects upfront?

  52. Do you put business logic in your service implementation ? <comment on my design>

  53. How to validate many JSON fields without cluttering up the code with if-checks on each field?

  54. How can I mark one of a 1:n relation as the "default"?
  55. Does implementing more interfaces on a class decrease performance?

  56. Injecting data processing logic into class
  57. Finding object relationships
  58. Can the circle-ellipse problem be solved by reversing the relationship?

  59. Object To Be Used By Service Layer
  60. Turning structural code into object oriented code

  61. Refactoring of a client API for avoid duplicated code and unclear passage of parameters

  62. Redesigning rule checking classes
  63. Circumventing the Rules in Wizards and Warriors

  64. Role and importance of static method in OOP

  65. Finding Entities and their relationships

  66. Class Design for JPA Entities with Multiple Tables Referring to Same Business Object

  67. Where should I put the database access method in a treeview environment
  68. Modifying the Command Pattern

  69. How should service method parameters be?

  70. How to update a model with dependencies

  71. Primitive vs Class to represent simple domain object?

  72. How to manage configuration and state in a program

  73. Is SRP an ambiguous principle?

  74. Decoupling god objects
  75. Why we use interface since we need to implement the method in our derived class
  76. Object cut in parts for technical reasons : Should it be modelized as 1 or 2 objects?
  77. Why use an interface when the class can directly implement the functions?

  78. Is it better to generate a large list during the constructor or when it's accessed?

  79. UI vs Window vs View
  80. Logical vs Physical Entities in OO Class Design

  81. Writing effective use cases

  82. TypeScript - Can "Structural typing" and "OOP paradigm" co-exist?

  83. Workaround for overriding a limited set of methods of an interface

  84. Properly designing an abstract class: How to retrieve data?
  85. Zero behavior objects in OOP - my design dilemma

  86. Liskov, Rectangles, Squares, and Null Objects

  87. What's polymorphic deployment

  88. Finding object responsibilities while designing a book reader
  89. Architecting single action: Object vs Static Util

  90. What code should be included in an abstract class?

  91. DDD Injecting Services on Entity Methods Calls

  92. Enforcing the way of object construction in interface a good practise or not?

  93. Service locator vs Dependency Injection?

  94. Can Composition violate the O in SOLID

  95. How to reuse class feature that represent two similar kind of files?
  96. Component Diagram Usage

  97. Is there a single word to describe a class with no state and only pure functions?
  98. How do I go about unit testing a private method that gets called in a loop like this one?
  99. Is it bad practise to create instances from a SQL-query?

  100. Is encapsulation still one of the elephants OOP stands on?