[Python-Dev] Re: String substitution: compile-time versus runtime

Greg Ewing greg@cosc.canterbury.ac.nz
Tue, 25 Jun 2002 13:07:15 +1200 (NZST)


pinard@iro.umontreal.ca:

> I really, really think that with enough and proper care, Python
> could be set so internationalisation of Python scripts is just
> unobtrusive routine.  There should not be one way to write Python when
> one does not internationalise, and another different way to use it
> when one internationalises.

As long as you have a Turing-complete programming language
available for constructing strings, there will always be
ways to write code that defies any straightforward means
of internationalisation.

Or in other words, if internationalisation is a goal, you'll
always have to keep it in mind when coding, one way
or another.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+