← Back to context Comment by zeristor 8 months ago Apostrophe as a number separator?Where’s that from? 6 comments zeristor Reply dahart 8 months ago Switzerland and Italy for two. https://en.wikipedia.org/wiki/Decimal_separator#Also note C++14 introduced the apostrophe in numeric literals! https://en.cppreference.com/w/cpp/language/integer_literal qingcharles 8 months ago I've started using the underscore in my code since that is becoming the (non-localized) standard and trendy:https://en.wikipedia.org/wiki/Integer_literal#Digit_separato... lacoolj 8 months ago Learn somethin new every day.And I would never have known this existed without hackernews logdahl 8 months ago Interesting that Sweden explicitly do NOT use it... Not sure where i picked it up! :-) m-schuetz 8 months ago Apostrophe are nice because they are not ambiguous. Started using them myself after getting used to them from C++ and learning that they are used in switzerland.
dahart 8 months ago Switzerland and Italy for two. https://en.wikipedia.org/wiki/Decimal_separator#Also note C++14 introduced the apostrophe in numeric literals! https://en.cppreference.com/w/cpp/language/integer_literal qingcharles 8 months ago I've started using the underscore in my code since that is becoming the (non-localized) standard and trendy:https://en.wikipedia.org/wiki/Integer_literal#Digit_separato... lacoolj 8 months ago Learn somethin new every day.And I would never have known this existed without hackernews logdahl 8 months ago Interesting that Sweden explicitly do NOT use it... Not sure where i picked it up! :-)
qingcharles 8 months ago I've started using the underscore in my code since that is becoming the (non-localized) standard and trendy:https://en.wikipedia.org/wiki/Integer_literal#Digit_separato...
lacoolj 8 months ago Learn somethin new every day.And I would never have known this existed without hackernews
logdahl 8 months ago Interesting that Sweden explicitly do NOT use it... Not sure where i picked it up! :-)
m-schuetz 8 months ago Apostrophe are nice because they are not ambiguous. Started using them myself after getting used to them from C++ and learning that they are used in switzerland.
Switzerland and Italy for two. https://en.wikipedia.org/wiki/Decimal_separator#
Also note C++14 introduced the apostrophe in numeric literals! https://en.cppreference.com/w/cpp/language/integer_literal
I've started using the underscore in my code since that is becoming the (non-localized) standard and trendy:
https://en.wikipedia.org/wiki/Integer_literal#Digit_separato...
Learn somethin new every day.
And I would never have known this existed without hackernews
Interesting that Sweden explicitly do NOT use it... Not sure where i picked it up! :-)
Apostrophe are nice because they are not ambiguous. Started using them myself after getting used to them from C++ and learning that they are used in switzerland.