this post was submitted on 14 Nov 2024
101 points (96.3% liked)

Programmer Humor

19804 readers
47 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
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 25 points 1 month ago (1 children)

This is Java, so you can even turn those ints into Integers and doubles into Doubles if you want to maximize the objects in that part of the code. In all seriousness, though, it looks perfectly fine to me.

[โ€“] [email protected] 3 points 1 month ago

Great idea, but unfortunately technicalities won't get me marks.