Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight

Re: Re: need help using split()

by Tyke (Pilgrim)
on Mar 22, 2001 at 14:05 UTC ( #66288=note: print w/replies, xml ) Need Help??

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


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?

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://66288]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2023-02-01 16:45 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (11 votes). Check out past polls.