Re: [Rest2web-develop] ConfigObj Commit
Brought to you by:
mjfoord
From: Nicola L. <ni...@te...> - 2005-07-08 09:29:11
|
> But seeing as you *specify* what you want, in these cases you probably > want to leave it as a string. See below about the fact that I'm not > *really* suggesting *automatic* type conversion. > > As you say in the other email - it's a bit like duck typing, the > conversion is only done if you actually need (specify) it. And that's as it should be. :-) > I can write enough general case functions that will cover all the above > examples - and anything else that you will need. I can write something too sometimes, you know, even if it doesn't look like that. ;-) > According to YAGNI I shouldn't write anything you don't actually want - > so give me your use cases and I'll work to those..... The above ones are > obvious though I guess..... You shouldn't write anything that *you* don't actually want. I'll take care of my use cases in due course, your hands are full enough already. :-) -- Nicola Larosa - ni...@te... Adding things just because you can leads to monstrosities like Common LISP, PL/I, Algol 68 and Perl 6. Adding features only when they add functionality (or better yet, by removing restrictions) leads to jewels like Python, Scheme and Eiffel. -- Mike Meyer, comp.lang.python, April 2005 |