this post was submitted on 14 Nov 2024
54 points (89.7% liked)
Programmer Humor
32464 readers
399 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
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!