r/badcode 3d ago

python World WORST Calculator!

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

8 comments sorted by

3

u/joske79 3d ago

Great! Now add floating point support!

4

u/xSynlessx 3d ago

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

2

u/-JohnnieWalker- 3d ago

every code ever written at the uni

2

u/exodusTay 3d 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 2d ago

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

1

u/exodusTay 2d ago

it would be fast AND useless tho.