http://qs321.pair.com?node_id=66288


in reply to Re: need help using split()
in thread need help using split()

Arrghhh!

Laziness is all well and good, but when you start to change the outside world in order to make your code simpler, then you're heading for problems. Forcing users to undestand 'R' to mean 'Th' is a case in point.

The point of programming is to encapsulate the complexity in our own code (where we know(?) that we can handle it), rather than downloading it on users. That way one person (the coder) is inconvenienced, rather than the entire user community.

Here endeth the pontification

Replies are listed 'Best First'.
Re: Re: Re: need help using split()
by amelinda (Friar) on Mar 22, 2001 at 23:05 UTC
    I thought it was pretty clear that the author was writing this just for himself. As he's the only user, why not change his perspective? Like I said, apply the principle of laziness in the most efficient manner. :grin:

    As for forcing users to use R to stand for Thursday, schools (well, tertiary, not secondary) across the country do it already. It's not exactly a sudden change. It generates a more consistent user interface (all days are one char). If you want to use multiple-char days, why not just go to all 2-char or all 3char?

    On a grand scale, putting the complexity into the program rather than in the interface is a good thing (from a user persective, at least). Yet would you truly paint all problems with the same brush?