News for hackers. Stuff that matters.
Re:UI is hell: four-function calculators by userbinator on Friday January 24, 2025 @01:37AM (#42811017)
Reading this article and the thought process behind it reminds me of this almost-10-year-old comment I made about how they actually work: https://news.ycombinator.com/item?id=9456444

Selecting an operator loads this value into the accumulator and makes room for the second operand to be typed in.

Here is where I think the first mistake was made; if you observe the effect of repeatedly pressing '=', that obviously does not clear any registers, but merely repeats the last operation.

But there’s more to the story: it’s actually a side effect of a little-known “K-constant” feature that retains one of the previously-entered operands and the operator, and lets you vary the other operand.

I haven't used any 4-function calculator that behaves like this; instead, I get (without clearing):

    2 + 1 0 = 12
    5 =       22
    0 =       32
Re:UI is hell: four-function calculators by saurik on Friday January 24, 2025 @01:52AM (#42811084)
Apple's recent iOS Calculator update broke this entirely and now = multiple times does nothing :/.
Re:UI is hell: four-function calculators by saagarjha on Friday January 24, 2025 @03:56AM (#42811583)
This is fixed in the latest beta, which is probably going to ship next week or thereabouts.
Re:UI is hell: four-function calculators by oogetyboogety on Friday January 24, 2025 @02:18AM (#42811185)
those fuckers. If windows wants to add this as a success where Mac has failed, it still works in their calculator app.
Re:UI is hell: four-function calculators by actionfromafar on Friday January 24, 2025 @04:38AM (#42811730)
Windows also innovated from TTC to TTCC! (Time to Candy Crush, instead of Time to Crate.)
Re:UI is hell: four-function calculators by wruza on Friday January 24, 2025 @06:20AM (#42812110)
iOS calc sometimes registers a press but not a release(?) and a key gets stuck in "pressed" state and doesn't count as an input. Many years issue which renders it completely unusable, unless you're careful with your tapping. A new level of skeuomorphism, I guess, non-physical buttons that get stuck.
Re:UI is hell: four-function calculators by anarticle on Friday January 24, 2025 @03:51PM (#42816810)
The AC to backspace change really screwed me up and I'm back on a third party calculator. It's a speed bump that feels like hitting a brick wall every time!
Re:UI is hell: four-function calculators by serviceberry on Friday January 24, 2025 @10:24AM (#42813971)
> I haven't used any 4-function calculator that behaves like this; instead, I get (without clearing):

Then you haven't used very many calculators: https://tedmuller.us/Math/Calculator-1'Introduction.htm