Re: Looking for a way to convert dec to bin
- From: "Robert Morley" <rmorley@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 9 Mar 2007 22:40:43 -0500
The real question is: would you know one if you saw one. I've seen all
KINDS of code that doesn't use Exit For/Exit Do, and I've seen several
places that recommend you don't use multiple Exit Subs, but you don't tend
to notice when someone DOESN'T use these techniques; you most definitely
notice it when they do. To me, they stand out just as much as any GOTO.
But that aside, when we started this whole tangent, I said that my second
language was Pascal, and that it had affected my programming practices
immensely...were you expecting anything less than structured programming?
What's more, the use of Goto is STILL considered taboo in almost all modern
languages, so to some extent, all programmers follow structured
programming...it's just a matter of degree.
Finally, I don't know that I'd call myself a zealot. I don't push my
programming style on anybody else; it's simply what I practice for myself.
Rob
"Bob O`Bob" <filterbob@xxxxxxxxxxxxxxx> wrote in message
news:uzaezNsYHHA.1216@xxxxxxxxxxxxxxxxxxxxxxx
Robert Morley wrote:
I don't like Exit For/Exit Do because you can get out of the loop without
having satisfied the conditions for getting out of the loop. It might be
appropriate if you're dealing with something like an error condition, but
the only way out of 99% of my loops is to have satisfied their
conditions. I realize that not everyone thinks this bay, but to me,
having one or more Exit For's in addition to the loop condition is like
having two or more Exit Sub's in the same Sub...it's perfectly legit, but
in my books, it's bad form.
I see OOP zealots now and then these days, but it's been a decade, or
perhaps even two, since I've noticed a structured programming zealot.
Bob
--
.
- References:
- Looking for a way to convert dec to bin
- From: Kardon Coupé
- Re: Looking for a way to convert dec to bin
- From: Kardon Coupé
- Re: Looking for a way to convert dec to bin
- From: Michael C
- Re: Looking for a way to convert dec to bin
- From: Robert Morley
- Re: Looking for a way to convert dec to bin
- From: Jeff Johnson
- Re: Looking for a way to convert dec to bin
- From: Robert Morley
- Re: Looking for a way to convert dec to bin
- From: J French
- Re: Looking for a way to convert dec to bin
- From: Robert Morley
- Re: Looking for a way to convert dec to bin
- From: Michael C
- Re: Looking for a way to convert dec to bin
- From: Robert Morley
- Re: Looking for a way to convert dec to bin
- From: Michael C
- Re: Looking for a way to convert dec to bin
- From: Robert Morley
- Re: Looking for a way to convert dec to bin
- From: Larry Serflaten
- Re: Looking for a way to convert dec to bin
- From: Robert Morley
- Re: Looking for a way to convert dec to bin
- From: Michael C
- Re: Looking for a way to convert dec to bin
- From: Robert Morley
- Re: Looking for a way to convert dec to bin
- From: Bob O`Bob
- Looking for a way to convert dec to bin
- Prev by Date: Re: Looking for a way to convert dec to bin
- Next by Date: Re: Looking for a way to convert dec to bin
- Previous by thread: Re: Looking for a way to convert dec to bin
- Next by thread: Re: Looking for a way to convert dec to bin
- Index(es):
Relevant Pages
|