this post was submitted on 14 Nov 2024
63 points (88.9% liked)
Programmer Humor
32475 readers
1496 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.
Actually, it would be
OOP.suck(ddplf.getBalls())
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!