News for hackers. Stuff that matters.
Re:Yagni Exceptions (2021) by robertlagrant on Monday October 17, 2022 @04:55AM (#33231193)
True, although at least on mobile I think this is a button press in the IDE. Maybe Javascript/non-mobile native apps have it harder.
Re:Yagni Exceptions (2021) by taink on Monday October 17, 2022 @05:50AM (#33231494)
Yes, I can think of Android Studio which pushes you into using Android's string resources[0], which have out-of-the-box support for i18n and are essentially big XML files.

[0]: https://developer.android.com/guide/topics/resources/string-...

Re:Yagni Exceptions (2021) by hinkley on Monday October 17, 2022 @01:57PM (#33237363)
I haven't worked in Android, but a quick perusal at least passes my giggle test, which frankly too many languages do not.

This is essentially a refinement of the i18n support that has been in Java for ages. I probably would not have stuck with Java as long as I did if their localization support wasn't as good as it was (not to say it's perfect, because it's a bit clunky). Google has made a few of the examples into a more concrete requirement, which is nice.