this post was submitted on 14 Nov 2024
66 points (88.4% liked)
Programmer Humor
32483 readers
366 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
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!