this post was submitted on 14 Nov 2024
97 points (96.2% liked)

Programmer Humor

19563 readers
1575 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 1 year ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[โ€“] xep@fedia.io 22 points 1 day 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.

[โ€“] hellfire103@lemmy.ca 2 points 1 day ago

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