Better HN
topnewbestaskshowjobs
Log inSign up

caluml

2 karma · joined Jun 24, 2024 (2y ago) · 3 submissions

Submissions

1.

Two slices of ham a day can raise type 2 diabetes risk by 15%, research suggests(theguardian.com ↗)

6 points · by caluml · 2y ago · 17 comments

comment 2y ago · link · parent

Write deliberately bad/misleading Java.

We all know what good Java looks like. Write an implementation of a simple method making it as least understandable as possible while still passing the tests.

A few ideas are: deliberately incorrectly named variables/fields/classes, threads, casts/conversions, overly complicated/unnecessary code, arrays of objects as parameters/return types, etc

3.

Write the worst Java you possibly can(github.com ↗)

2 points · by caluml · 2y ago · 2 comments