Dominik Przybysz
OOP revisited
#1about 3 minutes
Defining object-oriented programming principles
Objects are modeled on real-world items with state and behavior, guided by core principles like encapsulation, SOLID, and GRASP.
#2about 4 minutes
The core principle of encapsulation and information hiding
Encapsulation protects an object's internal state by bundling data and methods into a single unit, but is often broken by public getters and setters.
#3about 5 minutes
Avoiding common pitfalls with getters and setters
Avoid exposing internal state by returning immutable collections, using optionals for nullable values, and carefully managing visibility modifiers.
#4about 4 minutes
Using abstraction and the information expert principle
Abstraction simplifies complexity by delegating responsibility to the object that holds the necessary information, following the "Tell, Don't Ask" rule.
#5about 3 minutes
Applying the Law of Demeter and pure fabrication
The Law of Demeter reduces coupling by limiting object interactions, while pure fabrication creates artificial classes for specific responsibilities.
#6about 4 minutes
Balancing single responsibility, cohesion, and coupling
Effective design involves creating classes with a single reason to change, high internal cohesion, and low external coupling.
#7about 6 minutes
Implementing dependency inversion with hexagonal architecture
The dependency inversion principle decouples modules by depending on abstractions, enabling patterns like hexagonal architecture and avoiding leaky abstractions.
#8about 8 minutes
Understanding inheritance and the Liskov substitution principle
Inheritance creates "is-a" relationships, but subclasses must be substitutable for their base classes without altering program correctness.
#9about 6 minutes
Preferring composition and leveraging polymorphism
Composition offers a more flexible alternative to tight coupling from inheritance, while polymorphism allows a single interface to represent different forms.
#10about 1 minute
Key takeaways for designing object-oriented systems
Good OOP design requires intentionally hiding details, applying principles thoughtfully, and making conscious decisions about class structure and interaction.
Related jobs
Jobs that call for the skills explored in this talk.
tree-IT GmbH
Bad Neustadt an der Saale, Germany
€54-80K
Intermediate
Senior
Java
TypeScript
+1
MARKT-PILOT GmbH
Stuttgart, Germany
Remote
€75-90K
Senior
Java
TypeScript
+1
Matching moments
03:31 MIN
The value of progressive enhancement and semantic HTML
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
02:33 MIN
Why you might not need JavaScript for everything
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
11:32 MIN
The industry's focus on frameworks over web fundamentals
WeAreDevelopers LIVE – Frontend Inspirations, Web Standards and more
03:16 MIN
Improving the developer feedback loop with specialized tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
09:00 MIN
Navigating the growing complexity of modern CSS
WeAreDevelopers LIVE – You Don’t Need JavaScript, Modern CSS and More
03:05 MIN
Building collaborative design tools and the neo-brutalism trend
Slopquatting, API Keys, Fun with Fonts, Recruiters vs AI and more - The Best of LIVE 2025 - Part 2
02:55 MIN
Why developers often undervalue their time and paid tools
Developer Time Is Valuable - Use the Right Tools - Kilian Valkhof
08:07 MIN
Exploring modern JavaScript performance and new CSS features
WeAreDevelopers LIVE – AI, Freelancing, Keeping Up with Tech and More
Featured Partners
Related Videos
Data-Oriented Programming - Version 1.1
Nicolai Parlog
I will have to refactor ! And now ? Refactoring Techniques in Java
Kamila Santos
10 must-know design patterns for JS Devs
Erick Wendel
Typed Security: Preventing Vulnerabilities By Design
Michael Koppmann
Java with a Clojure mindset
Dan Lebrero
Domain-Driven Transformation—How to Bring (Back) Sustainable Architecture to Legacy and Monoliths
Henning Schwentner
How to be balanced in a software development team
Martyna Zurek
It’s all about the domain, honey ! Experiences from 15 years of Domain-Driven Design
Carola Lilienthal
Related Articles
View all articles



From learning to earning
Jobs that call for the skills explored in this talk.

Visonum GmbH
Remote
Junior
Intermediate
React
Redux
TypeScript


Patronus Group
Berlin, Germany
Senior
Kotlin
Spring Boot
Amazon Web Services (AWS)



OpenSourced
Oxford, United Kingdom
£40-50K
Intermediate
JIRA
Scrum
Confluence
Agile Methodologies
+1


