Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: A "but" operator.

by halley (Prior)
on Sep 28, 2004 at 16:02 UTC ( #394647=note: print w/replies, xml ) Need Help??

in reply to A "but" operator.

My mother refuses to touch computers. She's a secretary by trade, and still works on an IBM Selectric II typewriter, rather than do any word processing. She says it's because her eyes don't get along with CRTs, but some of it is just stubbornness.

But she's always had the technical and literal mindset which I find in computer geekdom. She conceptually invented the video tape recorder before they were available or even known to the public. She had to explain the concept of floppy disks and files to a guy who had just bought a Smith Corona word processor.

As far back as I can remember, my mom would playfully answer boolean questions in a boolean sense. "Do you want orange juice or apple juice?" "Yes." "Do you vote Republican or Democrat?" "Yes." She would always grin at this point, and the questioner was left to stare blankly or rephrase their question. She'd also rattle off phrases with many carefully counted negatives, "I don't want none of your not misbehaving nor being contrary," leaving us to unravel the intent of the sentence, to see if it matched by context what she really meant.

She loved all manner of word games, but I'm sure the logical word games alone are the key formative experience that led me to my current career. It didn't make choices for me, but shaped my thoughts and affinities to the point where computer programming was an obvious pursuit.

[ e d @ h a l l e y . c c ]

Replies are listed 'Best First'.
Re^2: A "but" operator.
by fraktalisman (Hermit) on Sep 30, 2004 at 17:12 UTC

    While travelling, I met a Japanese guy who answered just like that - "Tea or coffee?" - "Yes". To him, it seemed to be natural. Either that's his personal way of thinking, the Japanese culture, or his understanding of this kind of questions in a foreign language (English). Everybody who met the guy for the first time was quite surprised by his answers, and he didn't understand why.

    Back on topic: as 'but' seems to have so many different meanings, I doubt its introduction would make the language Perl clearer in any way. For me as a German speaker, I first think of 'but' indicating some sort of contradiction or distinction. 'But' in the sense of 'and' is also quite common, but that would make no difference to the existing operator 'and'. So I still don't really dig the possible benefits of a 'but' operator, and I'd most probably never use it.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://394647]
and !@monks...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (5)
As of 2018-06-21 14:26 GMT
Find Nodes?
    Voting Booth?
    Should cpanminus be part of the standard Perl release?

    Results (118 votes). Check out past polls.