Tootfinder

Opt-in global Mastodon full text search. Join the index!

@rperezrosario@mastodon.social
2025-06-27 08:13:29

Russian developer Yegor from yegor256.com uses a simple example of two similar approaches to modeling an action, and their implications from an object-oriented design and programming patterns perspective. One of the two approaches provides superior extensibility, data encapsulation, and more flexible error handling.
"remove(42) vs. find(42).remove()"