
29 Mar
2016
29 Mar
'16
3:25 a.m.
On 27.03.2016 00:38, Greg Ewing wrote:
I'm wondering how often literal pathames are really used in actual programs.
Don't underestimate what made Python great. Exploration is very important.
In my experience, most pathnames are received as arguments, read from config files, etc. Most literals are just fragments that get concatenated with existing pathnames, and that's already covered by operations between path objects and strings.
True, matured programs usually work this way. But as we all know, agile is better than waterfall, so we might start with literals and replacing them with config variables later when needed.
Best, Sven