this post was submitted on 28 Jan 2024
51 points (90.5% liked)
Programmer Humor
32453 readers
1180 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
I mean it could just always return the same thing...
I would think that role is filled by constants.
where we're going, constants are just functions
Java 2: you can program anything you want but it has to be a function.
Classes are just functions!