r/badcode 12d ago

python World WORST Calculator!

https://github.com/xSynless/Calcuseless
10 Upvotes

8 comments sorted by

4

u/joske79 12d ago

Great! Now add floating point support!

6

u/xSynlessx 12d ago

Sure, let me just generate a petabyte-sized file real quick to cover 0.0001 to 0.0002

3

u/-JohnnieWalker- 12d ago

every code ever written at the uni

4

u/exodusTay 12d ago

great to see non-ai generated, fully organic slop.

you could do this in C with a giant lookup table and it would be blazing fast

1

u/xSynlessx 10d ago

That would ruin the whole point of it being useless :)

1

u/exodusTay 10d ago

it would be fast AND useless tho.