On 6/25/07, James Paige <[EMAIL PROTECTED]> wrote: > On Mon, Jun 25, 2007 at 07:38:05PM -0500, Mike Caron wrote: > > On 6/25/07, Keith Gable <[EMAIL PROTECTED]> wrote: > > > On 6/25/07, James Paige <[EMAIL PROTECTED]> wrote: > > > > > > > > I used to use VB, and I don't remember it lacking type suffixes, nor do > > > > I remember any restrictions on where you could use GOSUB/RETURN > > > > > > True, you can still Dim number$, word& if you want... But IIRC you can > > > still do something like this: > > > > > > Dim number$, word& > > > number = "This is a string" > > > word = 31337 > > > > > > Basically what I'm saying is that you don't have to use the $/& > > > suffixes; they're just used as a shortcut for Dim'ing variables. > > > > My main argument against suffixes is that it is possible to have i%, > > i&, i$ AND i# all being distinct variables. And, if you swear against > > doing that, why do you need the suffixes? > > > > I find that when I write in other languages, I often end up with a lot > of variables with names like query_string or break_string or > fatal_string. In Basic I would name those query$ break$ fatal$. Being > able to see type at a glance can be valuable. > > See also http://en.wikipedia.org/wiki/Hungarian_notation (which I never > use-- just an illustration of a similar concept)
Hungarian notation is a bane to all of existence. Well, maybe it's not that bad, but my variables are usually unadorned. -- Mike Caron Final Fantasy Q http://finalfantasyq.com _______________________________________________ ohrrpgce mailing list ohrrpgce@lists.motherhamster.org http://lists.motherhamster.org/listinfo.cgi/ohrrpgce-motherhamster.org