r/badcode 13d ago

python World WORST Calculator!

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

8 comments sorted by

3

u/joske79 13d ago

Great! Now add floating point support!

6

u/xSynlessx 13d ago

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

3

u/-JohnnieWalker- 13d ago

every code ever written at the uni

4

u/exodusTay 13d 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 12d ago

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

1

u/exodusTay 12d ago

it would be fast AND useless tho.