in reply to Re: Re: Would you use 'goto' here?
in thread Would you use 'goto' here?
Just so everyone understands that you're not just afraid of goto, let's take a look at a few pieces of syntax:
But, in fact, they're all fairly idiomatic and common Perl. One programmer's "trick" is another programmer's tool. When does a "trick" become an idiom?
I'd use any of them in a heartbeat if it was the appropriate tool for the job. I would hope you would too. Coding for clarity is one thing, wearing shackles is quite another. If the syntax is there, documented, and not deprecated -- use it.
Those that fear and are unable to deal with large languages should stick to C.
|
---|