Skip Navigation
82 comments
  • come back to hexbear while taking a Christmas break

    People are once again arguing that Fahrenheit is "objectively" better for laypeople.

    Thank you, feels like I've never been gone

  • as someone who grew up using the comma, I agree. Mostly because it's easier for computers to parse

    • How is it easier? Computers don't care if it's U+002E or U+002C, it's literally a one character difference in code no matter how you parse it

      The only one that can cause problems for parsing is the space, and even then you should be able to parse it in a context where it matters

      • yeah "easier" was not the right word. I meant comma has been historically used as a seperator for lists of values(which I think makes a lot of sense).

        It's not really just one character tho since with comma as a decimal point separator, something like "100,200" can be interpreted either as a number or a list of two number. For example with Excel, geniuses at microsoft decided to replace comma with a semicolon for some localizations which makes the program really annoying to use across multiple languages

        Edit: sorry I'm very sleep deprived so I'm not sure if any of it makes sense. To clarify: I'm assuming that comma as list separator makes sense because there is essentially no debate over "comma" vs "some other list separator", however there is such a debate for decimal separator. Having the same symbol mean two different things makes text harder to parse

  • Why do so many cultures accept using colons to separate divisions of time (posted around 08:30:45 local time) but none of them use it for separation of general numbers? (It is sometimes used for division or ratios, i.e. 10:1 for 10 to 1 odds.) Seems like we could use units (like with measurements) or prefix units (like with currency) to indicate different uses for numbers, and maybe ratios just use double colons?

    Designing programming languages, you will spend way too much time obsessing over things like this. Some languages use underscores as a grouping separator. What about bases? Exponential notation?

82 comments