Re: Perl loops should use break, not last
From: gargoyle (gargoyle_at_no.spam)
Date: 01/31/05
- Next message: Abigail: "Re: Perl loops should use break, not last"
- Previous message: PerlFAQ Server: "FAQ 5.24 How do I set a file's timestamp in perl?"
- In reply to: A. Sinan Unur: "Re: Perl loops should use break, not last"
- Next in thread: Abigail: "Re: Perl loops should use break, not last"
- Reply: Abigail: "Re: Perl loops should use break, not last"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 Jan 2005 23:12:30 GMT
On 2005-01-30, A. Sinan Unur <1usa@llenroc.ude.invalid> wrote:
>> I think that's fairly logical,
>
> That is because you have grown used to it.
I grew used to it because the C book told me that's how it works. It's
true that's arbitrary, and they could have gone either way.
I think they chose the most convenient path though. Makes it easy to
write simple one-line statments and omit braces. Stuff like that comes
up all the time in my code, but in Perl I'm bound to the { and } keys.
Ouch, did you hear my pinky scream out in pain? It's in agony from all
those keypresses. ;-)
> But there is a language that depends on indentation to figure out what's
> going on. It is Python.
I do not wish to convert to a bondage/S&M language. ;-)
> But your coding preferences are not at issue here.
I know it's about language design and all that. So I'll not critisize
Larry's decision, whatever he goes with is probably for the best.
- Next message: Abigail: "Re: Perl loops should use break, not last"
- Previous message: PerlFAQ Server: "FAQ 5.24 How do I set a file's timestamp in perl?"
- In reply to: A. Sinan Unur: "Re: Perl loops should use break, not last"
- Next in thread: Abigail: "Re: Perl loops should use break, not last"
- Reply: Abigail: "Re: Perl loops should use break, not last"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|