this post was submitted on 14 Nov 2024
66 points (88.4% liked)
Programmer Humor
32495 readers
446 users here now
Post funny things about programming here! (Or just rant about your favourite programming language.)
Rules:
- Posts must be relevant to programming, programmers, or computer science.
- No NSFW content.
- Jokes must be in good taste. No hate speech, bigotry, etc.
founded 5 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Good, OOP can suck my balls
Balls.suck() is the correct syntax.
Don't you need to declare new Balls() first? Or do you suck() Balls static?
All of this is okay, but it's not production ready. This is what real production code looks like:
Python port:
Or I didn't using the correct naming convention!