Re: VB5 Long & Double to VB.NET



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.





.



Relevant Pages

  • Re: why not enough lisp libraries?
    ... > than alternatives" without providing any evidence. ... If someone is expert in two programming languages, A and B, and tells ... me that they find language A allows them to get more done with fewer ... maybe they've even misjudged the productivity gain--I'd like to know ...
    (comp.lang.lisp)
  • Re: beginner: Java or .NET?
    ... Evidence? ... I remember about TIOBE index which does statistics in language popularity, which evidences java popularity as decreasing in the last years. ... Though it's debatable that this kind of changes can make a language more productive (in "Peopleware", "Programming wargames" somewhat demonstrated that there is no real difference in productivity among languages - except for Assembler). ...
    (comp.lang.java)
  • Re: Computer Programming Career
    ... > understanding the basic operations that a computer can do, ... language choice and the programmer's expertise in it often ... As evidence I ... of _Expert C Programming_ to clarifying pointer and array confusion? ...
    (comp.programming)
  • Re: Computer Programming Career
    ... a great image-recognition algorithm won't be ... >> evidence I offer the vast stretches of extant crap C code publically ... This problem is not limited to C, of course, but that's the language ... Arithmetic is a fundamental programming concept. ...
    (comp.programming)
  • Re: object system...
    ... for that you need machine language. ... isn't even as fast as other systems programming languages. ... Stroustrup's stated design goal was to enable ... all manner of elegance or abstraction can be sacrificed for speed, ...
    (comp.object)

Loading