[go: up one dir, main page]

|
|
Log in / Subscribe / Register

Little things that matter in language design

Little things that matter in language design

Posted Jun 8, 2013 16:29 UTC (Sat) by nlucas (subscriber, #33793)
In reply to: Little things that matter in language design by l0b0
Parent article: Little things that matter in language design

I'm not advocating the use of the programmer locale in a programming language. Excel, with it's "locale aware" macro functions shown us that is a very bad thing!

But just for the sake of discussion, on countries where the decimal separator is a comma, they just use ";" as the list separator (at least in my country, don't know about others). E.g. instead of func(1.2,1.3), just do func(1,2;1,3). It's just the same as what is done on mathematics (e.g. a range [-1.2,+1.3] would be [-1,2;+1,3]).


to post comments


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds