in reply to (Ovid) Re(2): Microsoft vs. Perl and sloppy programming - Wildly OT
in thread Microsoft vs. Perl and sloppy programming - Wildly OT
I don't think VB produces unpredictable results. That the return value of a function depends on the data passed to it isn't strange at all. Lots of function in lots of languages do so! As for the setting of locale, well, that's a parameter as well. Does Perl also have unpredictable results because the return value of uc and lc depend on locale? sort depends on locale as well, and some regexes too. Does that make Perl unpredictable? What about binary | and ^, where it matters whether the operands are strings or numbers. Or post/pre increment, where it can matter whether something was used in numeric context or not. I'd say that's far more "unpredictable" than the date function in VB.
The solution is of course here. I believe that DWIM is a powerful feature. But just like powertools, they aren't for everyone. They are powerful in the hands of a master, and dangerous for those who cannot deal with them.
-- Abigail
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Microsoft vs. Perl and sloppy programming - Wildly OT
by iakobski (Pilgrim) on Jun 22, 2001 at 18:13 UTC |