News for hackers. Stuff that matters.
Re:Use of decimal point is 1.5 centuries older than historia... by ysofunny on Thursday February 22, 2024 @07:49AM (#39466330)
the answer is the same as tabs or spaces
Re:Use of decimal point is 1.5 centuries older than historia... by GrumpySloth on Thursday February 22, 2024 @09:08AM (#39467257)
It’s not so arbitrary. I’ve grown up in a country which uses commas, but it’s still really confusing even to me, when writing e.g. f(1,2). Is that function applied to 2 arguments or 1? For this reason I always use period as decimal point.
Re:Use of decimal point is 1.5 centuries older than historia... by winety on Thursday February 22, 2024 @09:15AM (#39467340)
I'd say: Spacing matters, f(1,2) is different from f(1, 2). Just use a semicolon to separate the numbers, e.g. f(1,2; 2).
Re:Use of decimal point is 1.5 centuries older than historia... by GrumpySloth on Thursday February 22, 2024 @09:19AM (#39467405)
Maths is typically written fast, so subtle spacing is too weak a signal to distinguish meanings. Where I studied maths, we even crossed our zeds horizontally to make it easier to distinguish from carelessly written 2s. Similarly, even though the country uses commas, the uni uses periods, for the benefit of clarity. Almost noone uses semicolons in function application in writing.
Re:Use of decimal point is 1.5 centuries older than historia... by klyrs on Thursday February 22, 2024 @12:05PM (#39469929)
If everybody did that, we'd wouldn't have Zoozve...
Re:Use of decimal point is 1.5 centuries older than historia... by throw0101c on Thursday February 22, 2024 @09:50AM (#39467902)
> the answer is the same as tabs or spaces

Not when—as a sibling comment notes—you're dealing with CSVs.

Re:Use of decimal point is 1.5 centuries older than historia... by ysofunny on Thursday February 22, 2024 @12:10PM (#39469987)
don't forget about TSVs