[Date Prev][Date Next][Thread Prev][Thread Next]
[Search]
[Date Index]
[Thread Index]
Re: [FWP] Goal oriented programming
- To: jdporter@min.net (John Porter)
- Subject: Re: [FWP] Goal oriented programming
- From: "Edward M. Perry" <eperry@learjet.com>
- Date: Wed, 30 Jun 1999 13:07:17 CDT
- Cc: fwp@technofile.org
- In-Reply-To: <199906301748.NAA09460@min.net>; from "John Porter" at Jun 30, 99 1:48 pm
> > > You are making the mistake of thinking that order of execution has
> > > any relation to "importance". It does not, as illustrated by the
> > > following program:
> > >
> > > $| = 1;
> > > unlink '/vmunix';
> > >
> > > "importance" is only meaningful for humans; the computer simply does
> > > what it's told. Thankfully we have a programming language which allows
> > > the human to express the algorithm in a way that can include emphasis
> > > of "importance". Perl works for us, instead of us having to bend
> > > to Perl. (Only true to an extent, of course; but to a greater extent
> > > than other popular languages.)
> >
> > You would have really convinced me if you wrote a conditional statement
> > where the conditional was processed last, but you wrote two unrelated
> > statements. So what?
>
> So order of execution has no relation to "importance", and therefore
> your claim that "my computer thinks the conditional is more important
> because it processes it first" is bogus, even silly.
Wow, you sure know how to beat a straw man.
> Then presumable you would have a hard time getting your mind around the
> following code:
>
> sub foo(@) { print "foo(@_)\n"; () }
> sub bar(@) { print "bar(@_)\n"; () }
>
> {
> foo 1,
> bar 2,
> foo 3,
> bar 4,
> }
I understand you can do this, I don't understand why you want to.
Is this you form of job security?
==== Want to unsubscribe from Fun With Perl?
==== Well, if you insist... Send mail with body "unsubscribe" to
==== fwp-request@technofile.org