224
all 16 comments
sorted by: hot top controversial new old
[-] Pyro@programming.dev 77 points 2 years ago

All I can think about is that atrocious braces indentation

[-] normalexit@lemmy.world 23 points 2 years 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

[-] kakes@sh.itjust.works 4 points 2 years ago

Maybe it's Horstmann style indentation.

[-] SpaceNoodle@lemmy.world 20 points 2 years ago
[-] kakes@sh.itjust.works 7 points 2 years ago

Lmao gottem!!

[-] deegeese@sopuli.xyz 27 points 2 years ago

You have to declare your love first, duh.

[-] idunnololz@lemmy.world 1 points 2 years ago

My love is nil :/

[-] andrew@lemmy.stuart.fun 7 points 2 years ago

Because true love is a constant.

[-] JPAKx4@lemmy.blahaj.zone 3 points 2 years ago

Try importing a package, you may have to purchase a license or subscribe to use it.

[-] LinearArray@programming.dev 2 points 2 years ago

Makes me cry

[-] xmunk@sh.itjust.works 2 points 2 years 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 2 points 2 years ago

I thought you meant RF signals carrying "love".

[-] xmunk@sh.itjust.works 1 points 2 years ago

Hmm, that sounds like a much easier approach... but I did already buy all these nukes.

[-] muhanga@programming.dev 1 points 2 years 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.

this post was submitted on 14 Feb 2024
224 points (89.7% liked)

Programmer Humor

27963 readers
1474 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS