this post was submitted on 30 May 2024
395 points (94.6% liked)

Programmer Humor

37300 readers
70 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] olafurp@lemmy.world 1 points 1 year ago

Those are nice. Services that manage data are an example. Having the class also declare how to interact with the data is nice.

My most OOP pattern I like using is implementing an interface with an abstract class for "standard" implementation. Then implement abstract methods for a concrete thing.