News for hackers. Stuff that matters.
Re:Excel will allow certain auto data conversions to be turn... by master-lincoln on Monday October 23, 2023 @06:23AM (#37983714)
How did people keep up with that? Is there really no competitor who gets this right? These unexpected conversions must have cost billions in problems they created or fixing time they needed. And now after so many years they just remove some types of auto conversion and leave the others? Sounds like some kind of Stockholm syndrome...
Re:Excel will allow certain auto data conversions to be turn... by HPsquared on Monday October 23, 2023 @06:58AM (#37983962)
Not just Excel, this affects a LOT of dynamically typed programming environments. JavaScript is rife with this sort of thing.
Re:Excel will allow certain auto data conversions to be turn... by master-lincoln on Monday October 23, 2023 @07:09AM (#37984043)
I don't think that's a fair comparison. Here we talk about a tool that fucks up your data once you load it. With javascript there is no such thing. There are some auto type conversions when passing a wrong type into a function that can yield unexpected results. But I would argue this is different as it's an environment for power users only, and there is types at play that should make you as a programmer aware.

E.g.

1 + "hello" = "1hello"

1 - "hello" = NaN

Re:Excel will allow certain auto data conversions to be turn... by rzzzt on Monday October 23, 2023 @07:26AM (#37984155)
JSON parsing treats non-quoted numerals as a Number. That alone can result in some truncation.
Re:Excel will allow certain auto data conversions to be turn... by taeric on Monday October 23, 2023 @08:35AM (#37984773)
Though, in JSON, anything that isn't a number should be quoted?
Re:Excel will allow certain auto data conversions to be turn... by justsomehnguy on Monday October 23, 2023 @12:02PM (#37987614)
If the JSON writer is writing according to spec
Re:Excel will allow certain auto data conversions to be turn... by beart on Monday October 23, 2023 @09:44AM (#37985525)
I don't understand how this is at all a similar issue. If you want a string in JSON, then you must quote it.

https://www.json.org/json-en.html

Re:Excel will allow certain auto data conversions to be turn... by jodrellblank on Monday October 23, 2023 @10:12AM (#37985922)
And if you want a string in Excel you must apostrophe-prefix it. If you think “serial number” == number, telephone number == number, then try to use the number handling, you get problems because “numbers” don’t have leading zeros or spaces or parens or hashes or plus symbols.
Re:Excel will allow certain auto data conversions to be turn... by rzzzt on Monday October 23, 2023 @04:55PM (#37991467)
I would like to store, then retrieve exactly 1234567890123456789 apples instead of 1.070816993713379 × 2⁶⁰ = 1234567939550609408. Unfortunately due to IEEE-754 conversions I can only do this up to 7-8 digits or so. This is a number, just not one that can be represented as a Number without loss of precision towards the end.
Re:Excel will allow certain auto data conversions to be turn... by master-lincoln on Tuesday October 24, 2023 @05:41AM (#37996753)
that's more apples than we can fit on the planet. For such special tasks I would think it's ok to need special tools
Re:Excel will allow certain auto data conversions to be turn... by hoosieree on Monday October 23, 2023 @08:31AM (#37984734)
Dynamic typing is orthogonal to implicit type conversion, though admittedly dynamic environments do it more often. Watch out for (void*) in C or accidentally inferred union types in TypeScript.
Re:Excel will allow certain auto data conversions to be turn... by xyzelement on Monday October 23, 2023 @07:01AM (#37983980)
// Is there really no competitor who gets this right?

Clearly excel has offered value far in excess of this annoyance. The competitors such that they existed aside from google sheets clearly fail to deliver sufficient value even in hypothetical absence of this bug.

Re:Excel will allow certain auto data conversions to be turn... by master-lincoln on Monday October 23, 2023 @07:30AM (#37984179)
You say "clearly" twice, but it's not clear at all to me that this is the case. Can you elaborate what makes it clear that no other competitor exists who can provide similar value?

And isn't LibreOffice Calc closer to Excel than Google Sheets in terms of features?

Re:Excel will allow certain auto data conversions to be turn... by mjhay on Monday October 23, 2023 @07:37AM (#37984237)
All spreadsheets are bad. There are no good spreadsheets.
Re:Excel will allow certain auto data conversions to be turn... by A4ET8a8uTh0 on Monday October 23, 2023 @08:58AM (#37984986)
I use libre at home and excel at work. Having worked in various departments of a somewhat regulated industry, I can say that the value of Excel comes from familiarity and 'not having to retrain everyone'. It seems silly to people like me, but I personally experienced a person unable to complete their daily routine, because version change moved from one menu to another.

I guess my point it is: it is not features. It is humans. MS cracked the code on that one. Get people familiar with their stuff and the rest will follow.

Re:Excel will allow certain auto data conversions to be turn... by eviks on Monday October 23, 2023 @09:24AM (#37985245)
> person unable to complete their daily routine, because version change moved from one menu to another.

> I guess my point it is: it is not features.

Discoverability of commands, customization, as well as the stability of UI are all features. As would be "full UI compatibility with Excel sans stupid bugs like data conversion"

Re:Excel will allow certain auto data conversions to be turn... by xyzelement on Monday October 23, 2023 @09:59AM (#37985759)
I am a simple man and I use “people use it” as a proxy for value. LibreOffice is available everywhere excel runs, for free, and yet …
Re:Excel will allow certain auto data conversions to be turn... by hyeonwho22 on Monday October 23, 2023 @10:44AM (#37986371)
The main reason people continue using it is due to the network effect (xlsx files are considered shareable) and the fact that people are trained on its features and interface. That does make it valuable, but that doesn't mean it is more usable than competitors.
Re:Excel will allow certain auto data conversions to be turn... by master-lincoln on Tuesday October 24, 2023 @05:43AM (#37996764)
The USA got plenty of value from opioids then
Re:Excel will allow certain auto data conversions to be turn... by gertrunde on Monday October 23, 2023 @07:45AM (#37984316)
I suspect Excel's primary value at this point is its entrenched monopoly position.
Re:Excel will allow certain auto data conversions to be turn... by xyzelement on Monday October 23, 2023 @11:18AM (#37986903)
I don't think it has anything of the kind. "Office" is no longer a must for any home user, and most businesses starting today have a clear choice between (at the very least) Office and gSuite.

I haven't had Excel installed on my work laptop for the current or previous job. Though if I didn't have access to Sheets and had to use Libre by default, I'd petition for Excel in a second...