Re: VB5 Long & Double to VB.NET
- From: "Stephany Young" <noone@localhost>
- Date: Thu, 25 Jan 2007 10:19:10 +1300
Did you never seen a Convert.ToInteger()?
Of course not! For the same reason that there is no Convert.Toint method.
The Convert class is part of the Framework and therefore it's methods are
the same regardless of which language you are using.
If you want to use declare 'Int32' or more correctly 'System.Int32', in your
code, instead of Integer then that is up to you but do not try to tell
people that they must do as you do.
Referring to your question: do you know if it will change?
Of course not! I do not have any evidence that it will and I do not have any
evidence that it will not. In the abscence of any such evidence then we can
only be guided by the status quo.
If you have any evidence that there will be a change then present it by all
means.
"Fabio" <znt.fabio@xxxxxxxxxxx> wrote in message
news:u9D5ua$PHHA.1248@xxxxxxxxxxxxxxxxxxxxxxx
"Stephany Young" <noone@localhost> ha scritto nel messaggio
news:OjVSrc5PHHA.3944@xxxxxxxxxxxxxxxxxxxxxxx
Well, if you don't know, then don't pontificate!.
Just following your kindness: are you joking or are you a serious idiot?
Integer is a synonym for System.Int32 just as, in C#, int is a synonym
for System.Int32 and that's all there is to it.
In VB.net 2005 may be, but
Referring to your question: do you know if it will change? If not (unless
you're a prophet and I don't really think) you would prefere the more
clear way.
How many times VB6 programmers tell that they have an unbalanced call
stack due to the "obvious" Integer IS 32 bits?
Why does MICROSOFT guidelines (not mine!) tell you to use language
indipendent data type names when you're working with different languages?
Int32 not Integer or int, DateTime not Date, Int16 not Short or short,
Byte not byte.
Did you never seen a Convert.ToInteger()? In your trash code maybe.
But it's just MORE clear, and this would be enought to make you use it.
I don't know why VB NGs are full of people that think that a VB6
programmer is a real code master and don't need to follow "stupid" basic
programming rules that all the rest of the programming world are used to.
.
- References:
- VB5 Long & Double to VB.NET
- From: Terry
- Re: VB5 Long & Double to VB.NET
- From: Tom Shelton
- Re: VB5 Long & Double to VB.NET
- From: Terry
- Re: VB5 Long & Double to VB.NET
- From: Fabio Z
- Re: VB5 Long & Double to VB.NET
- From: Armin Zingler
- Re: VB5 Long & Double to VB.NET
- From: Fabio
- Re: VB5 Long & Double to VB.NET
- From: Stephany Young
- Re: VB5 Long & Double to VB.NET
- From: Fabio
- VB5 Long & Double to VB.NET
- Prev by Date: Re: VB5 Long & Double to VB.NET
- Next by Date: Re: Scanning data into a textbox
- Previous by thread: Re: VB5 Long & Double to VB.NET
- Next by thread: Re: VB5 Long & Double to VB.NET
- Index(es):
Relevant Pages
|
Loading