You have to declare your love first, duh.
It's that time of year again
Submitted 8 months ago by KoalaUnknown@lemmy.world to programmer_humor@programming.dev
https://lemmy.world/pictrs/image/1e78707b-4eba-45fb-9a1e-66110c418c9e.png
Comments
andrew@lemmy.stuart.fun 8 months ago
Because true love is a constant.
JPAKx4@lemmy.blahaj.zone 8 months ago
Try importing a package, you may have to purchase a license or subscribe to use it.
xmunk@sh.itjust.works 8 months ago
Love is in the air… the sudden outbreak of atomic war just reduced you and everyone you know to a fine mist - what did you think I meant?
user224@lemmy.sdf.org 8 months ago
I thought you meant RF signals carrying “love”.
xmunk@sh.itjust.works 8 months ago
Hmm, that sounds like a much easier approach… but I did already buy all these nukes.
LinearArray@programming.dev 8 months ago
Makes me cry
muhanga@programming.dev 8 months ago
There is no love if you dont constructor it. Then you would need to initialize it or use existing instance to borrow. You can even extend from Respect or Humor as a starting point, there is no need to implement Love from scratch.
Pyro@programming.dev 8 months ago
All I can think about is that atrocious braces indentation
normalexit@lemmy.world 8 months ago
The red squiggle instantly caught my eye, followed by the terrible indentation. Then I noticed the class is called Main without a public static void main method, odd. Wait and Love is a string now?
Then I realized I too was saddened like Biden at this code snippet, so I guess in the end it redeemed itself
person@lemm.ee 8 months ago
It’s at the limit where it’s so bad but still believable that someone thought it was a good idea
kakes@sh.itjust.works 8 months ago
Maybe it’s Horstmann style indentation.
SpaceNoodle@lemmy.world 8 months ago
More like Worstmann