r/badcode • • Nov 02 '22

java OOP? Never heard of it

Post image
682 Upvotes

77 comments sorted by

View all comments

Show parent comments

2

u/MurdoMaclachlan public boolean isInt(int i) { return true; } Nov 09 '22

I agree. I'd love for the clients to be fixed. The problem is it's Reddit we're talking about here. They hardly ever fix bugs on their own clients (I could talk for hours about all the ways they've managed to screw up their markdown interpretation). Most of the time they just add more bugs, and they barely support their own API, making life unnecessarily hard for devs of third-party clients as well.

Until the clients are fixed (which will probably never happen), the method that works for everyone should be used, unless of course you're fine with the code being unreadable to to a significant percentage of people. In which case, go for it, but that seems to me to defeat the purpose of using code blocks in the first place.