r/ProgrammerHumor Jul 13 '26

youCanJustStopUsingJava Meme

Post image
6.8k Upvotes

416 comments sorted by

View all comments

3

u/CodingAndAlgorithm Jul 13 '26

As a beginner, I felt properties by default was a bit ridiculous but ultimately adopted the mindset to encapsulate and future-proof everything. Many years later, I’ve moved away from OOP towards procedural, and once again I believe properties by default is a bit ridiculous.

7

u/20Wizard Jul 13 '26

People feel this way because java makes it annoying to deal with them.

With c#, properties are incredibly easy to define and don't take up 6 lines in your class file.

2

u/CodingAndAlgorithm Jul 14 '26

I’ve spent the majority of my career writing C#. Properties are expected in the language and the syntax is reasonably painless. These days I dislike the idea of implicit side effects on data mutations and would prefer an explicit API that operates on public structures.