this post was submitted on 28 Jan 2024
54 points (90.9% liked)
Programmer Humor
32483 readers
573 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
Functional bros rise up!
yes();
Now, I don't functional (at all), but if you call a function with no parameters, doesn't it imply side effects?
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!