GROOVY-12147 and default locales
Jochen Theodorou <[email protected]> Sat, 11 Jul 2026 07:16:12 +0200
| Newsgroups | gmane.comp.lang.groovy.devel |
|---|---|
| Message-ID | <[email protected]> |
Hi, the pull request for this was already closed so I had no chance to=20 comment on it itself. I think there is a discussion about default locales I would like to start. My personal reality is that the default locale is useless. In fact it is= =20 actually a pain to work around it and very often I have to use multiple=20 formats even for the same language. Not even the tests for GROOVY-12147,= =20 which also adds methods based on default locals, test based on the=20 default locale. And I think they should. I would like to start a potentially controversial discussion: Do not support methods depending on the default Locale in GDM. If we want to have a convenience variant without formatter or locale,=20 then let's define one format. I would especially remove that currency=20 variant introduced in that PR. What do you guys think? I am especially interested in the opinion of=20 people that do not program for just one country/region. I for example=20 have very often programs in swiss/german/italian/french/english at the=20 same time. At least if it is more than just a small command line script.= =20 Already when writing log files I may need a different format than what=20 my locale says. bye Jochen