📣 Post by nytpu

2024-12-03

I love Java it's so cool and good and not-at-all tedious to do really trivial things paste.sr.ht/~nytpu/34a5f12ed0a…
Yes I have no clue what I'm doing (and don't particularly care about the cleanness of this code) so the Java example could be made somewhat better, but I know for a fact that it can't be made substantially better

nytpu

https://tilde.zone/@nytpu/113589729973040384

https://paste.sr.ht/~nytpu/34a5f12ed0a7b26206ea71f84df76033efb98a5c

💬 Replies

2024-12-03 colinstu ┃ 1💬

@nytpu reading all this only makes me want to shit out a SQL query to accomplish this task.

2024-12-03 dragonminded

@nytpu nah it really can't be made better because you're missing that if you tried, Java developers would reject your PR and blather at you about how it's not correct design.

2024-12-03 wolf480pl ┃ 1💬

@nytpu ok, but which of the two is easier to debug?

────

View thread

────

📡 Local feed

🏕️ Communities

🔥 Hashtags

🔎 Search posts

🔑 Sign in

📊 Status

🛟 Help