r/programminghumor • • Aug 22 '25

WHY????

Post image
3.0k Upvotes

52 comments sorted by

110

u/SuperChick1705 Aug 22 '25
  1. not programming

  2. use the S<=>D button

16

u/Marchello_E Aug 22 '25

And if you don't have that button, if no other options are available, or if you can't find it... maybe you can multiply by 1.00001.
More zeroes, more fun.

3

u/Intelligent_Hat_5914 Aug 23 '25

Or format button

33

u/baconburger2022 Aug 22 '25

First off, the calculator is not wrong.

Secondly, if we apply this to programming, yes. TECHNICALLY we can put num1 over num2 when calculationrequest= “div” and always have a correct answer without actually doing any calculations.

7

u/[deleted] Aug 22 '25

[removed] — view removed comment

1

u/baconburger2022 Aug 23 '25

I was trying to push the bounds of lazy programming. Num1/num2 would technically always be correct, however it would need simplification. And can only show up in a fraction.

-5

u/[deleted] Aug 22 '25

Don’t you think that if I use a calculator to divide 18 by 7, I obviously want a decimal result rather than just 18/7? I don’t need a calculator for this shit.

5

u/[deleted] Aug 22 '25

Calculators will prefer to use symbols, because why are you trying to get the decimal form of 18/7? When is this useful to you?

When the calculator stores it as a symbol, you can now reference it more accurately for larger equations. The moment you convert it to a decimal representation you are losing accuracy.

So sure, maybe at a high school level the decimal value is what you want, but I prefer that my tools be built for professionals and real world use cases.

1

u/DoubleDoube Aug 23 '25

You must be closer to the mathematician mindset than the engineer.

2

u/[deleted] Aug 23 '25

Nope, I'm a software engineer.

0

u/DoubleDoube Aug 23 '25

“Pi is 3” engineer mindset, because you’ll get real-world feedback you’ll have to adjust for whether the math was accurate or not.

3

u/[deleted] Aug 23 '25

You're taking a little shortcut that is done sometimes, and generalizing it to every problem. Way to make it clear your exposure to engineering is only through memes.

0

u/DoubleDoube Aug 23 '25

Actually I’m generalizing that your tolerance is tiny compared to the precision you actually deal with, as a mindset.

1

u/[deleted] Aug 23 '25

Yeah? Please tell me what level of precision I actually deal with. I'm sure you have the specs for all my recent projects, so you know, right?

→ More replies (0)

1

u/Disastrous-Team-6431 Aug 23 '25

It absolutely depends. You're making an assumption unbecoming of a programmer. Repeat: "The optimal representation of the solution is domain dependent".

3

u/Ok-Professional9328 Aug 23 '25

2+4/7 ≈ 2.5 2.6 what else do you need?

2

u/turcinv Aug 23 '25

You cam change it

2

u/TorTheMentor Aug 23 '25

This really tempts me to write the world's most useless calculator. It would be something like this..

18 ÷ 7: "somewhere between 2 and 3, slightly closer to 3."

5!: "5 x 4 x 3 x 2.... you can do it, just try."

1 ÷ 0: "see, this is why no one likes you."

1

u/48panda Aug 25 '25

2.571428571428

1

u/danholli Aug 25 '25

Use a dumber calc or change the formatting 2.5714285714286 you're welcome

10

u/[deleted] Aug 22 '25

[removed] — view removed comment

4

u/M0G7L Aug 23 '25

and female genitalia in between

I always thought it was an arrow. Guess I was wrong...

5

u/[deleted] Aug 23 '25

[removed] — view removed comment

6

u/Dry_Artist8822 Aug 23 '25

It is a rational number though. It's not a whole number, but it is rational