
19 Jan
2005
19 Jan
'05
3:38 a.m.
Marcin 'Qrczak' Kowalczyk
This suggests that making global parameters available only as arguments of main would be a bad idea. But they should be settable, to account for the rare case of wanting to substitute something else to a library which reads them itself.
Isn't it common for e.g. GUI frameworks to process argv[], interpreting and removing the arguments they use. So I'm not sure it is such a 'rare case'. (I guess you could do it differently in Haskell, e.g. have the library init return the list of updated args) -kzm -- If I haven't seen further, it is by standing in the footprints of giants