Re: Looking for a way to convert dec to bin
- From: erewhon@xxxxxxxxxx (J French)
- Date: Thu, 08 Mar 2007 09:08:49 GMT
On Wed, 7 Mar 2007 13:17:07 -0500, "Robert Morley"
<rmorley@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote:
Hehehe. I have no objection to the idea at all; I just learned a certain
rigidity, and despite bitching about it at the time, have found that it
works for me in general. I also don't randomly jump out of loops with
things like Exit Do or Exit For. They're effectively a form of GoTo, and
like Pascal taught, I find they're absolutely never necessary (and only very
rarely even useful) once you wrap your mind around doing without them. Like
I said, Pascal influenced my programming style significantly. :)
Interesting - Pascal does contain GoTo
- I don't object to it, but /only/ if it simplifies the code,
otherwise I loathe it
Pascal also has Break and Exit
That said, I also follow popular conventions of the language to some degree.
So, if I WERE working in VB.NET, or I think C++ supports it as well, I might
well initialize variables at declaration time. I've also seen such
strangeness in VB.NET as only dimensioning variables inside an If...Then
structure. Not sure I'll ever wrap my mind around that, but if it's popular
in the language,
Ghastly !
I might get used to it. (PS, I know you can do exactly the
same thing in VB6, but I've seen it a lot more in the VB.NET examples I've
seen than I ever have in VB6/VBA.)
I'm very much against declaring variables anywhere other than at the
top of a block, I prefer to see at a glance what is going to be used.
.
- Follow-Ups:
- Re: Looking for a way to convert dec to bin
- From: Michael C
- Re: Looking for a way to convert dec to bin
- From: Ralph
- Re: Looking for a way to convert dec to bin
- 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
- 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: where ItemData in ComboBox?
- 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
|