What are the Advantages of VB.NET? - Page 2


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Page 2 of 10 FirstFirst 1234 ... LastLast
Results 16 to 30 of 143

Thread: What are the Advantages of VB.NET?

  1. #16
    Dan Barclay Guest

    Re: What are the Advantages of VB.NET?

    On 6 Feb 2003 06:07:56 -0800, "Patrick Troughton"
    <Patrick@Troughton.com> wrote:

    >Yes, but most of the .NOTers want to achieve compatibility by eliminating
    >some of the improvements made to VB.


    Please name "some of the improvements" that folks want to eliminate.

    Dan
    Language Stability is a *feature* I wish VB had!
    (#6)/(#1!)
    Error 51
    Error 3
    Error 9
    ....

  2. #17
    Bob Guest

    Re: What are the Advantages of VB.NET?


    Dan Barclay <Dan@MVPs.org> wrote:
    >On 6 Feb 2003 06:07:56 -0800, "Patrick Troughton"
    ><Patrick@Troughton.com> wrote:
    >
    >>Yes, but most of the .NOTers want to achieve compatibility by eliminating
    >>some of the improvements made to VB.

    >
    >Please name "some of the improvements" that folks want to eliminate.
    >
    >Dan
    >Language Stability is a *feature* I wish VB had!
    > (#6)/(#1!)
    >Error 51
    >Error 3
    >Error 9
    >....

    The obsolete GoSub command, for one.
    Language *evolution* is a feature I'm glad VB has!
    No Error 51
    No Error 3
    No Error 9
    Named exceptions rule

  3. #18
    Patrice Scribe Guest

    Re: What are the Advantages of VB.NET?

    Integers being now 32 bits ? (C++ bigotry thread)

    "Dan Barclay" <Dan@MVPs.org> a écrit dans le message de news:
    htb54v05pvs12c517sv9s4ajalq08qpqcn@4ax.com...
    > On 6 Feb 2003 06:07:56 -0800, "Patrick Troughton"
    > <Patrick@Troughton.com> wrote:
    >
    > >Yes, but most of the .NOTers want to achieve compatibility by eliminating
    > >some of the improvements made to VB.

    >
    > Please name "some of the improvements" that folks want to eliminate.
    >
    > Dan
    > Language Stability is a *feature* I wish VB had!
    > (#6)/(#1!)
    > Error 51
    > Error 3
    > Error 9
    > ...




  4. #19
    Dan Barclay Guest

    Re: What are the Advantages of VB.NET?

    On 6 Feb 2003 11:25:10 -0800, "Bob" <vb@127.0.0.1> wrote:

    >>....

    >The obsolete GoSub command, for one.


    Does the presence of the GoSub command somehow force you to use it?
    That's very strange. Most people only use the tools they need. Why
    not eliminate GoTo as well?

    Please name "some of the improvements" that folks want to eliminate.

    Dan
    Language Stability is a *feature* I wish VB had!
    (#6)/(#1!)
    Error 51
    Error 3
    Error 9
    ....

  5. #20
    Dan Barclay Guest

    Re: What are the Advantages of VB.NET?

    On Thu, 6 Feb 2003 20:30:35 +0100, "Patrice Scribe" <scribe@chez.com>
    wrote:

    >Integers being now 32 bits ? (C++ bigotry thread)


    I, for one, have proposed they introduce a SysInt to be an integer
    designed to be tied to best size for the underlying system. This
    would allow you to use an "optimized" integer if you want, or a
    known-sized integer if you want.

    In doing that, what improvement would you lose?

    Dan


    >
    >"Dan Barclay" <Dan@MVPs.org> a écrit dans le message de news:
    >htb54v05pvs12c517sv9s4ajalq08qpqcn@4ax.com...
    >> On 6 Feb 2003 06:07:56 -0800, "Patrick Troughton"
    >> <Patrick@Troughton.com> wrote:
    >>
    >> >Yes, but most of the .NOTers want to achieve compatibility by eliminating
    >> >some of the improvements made to VB.

    >>
    >> Please name "some of the improvements" that folks want to eliminate.
    >>
    >> Dan
    >> Language Stability is a *feature* I wish VB had!
    >> (#6)/(#1!)
    >> Error 51
    >> Error 3
    >> Error 9
    >> ...

    >


    Language Stability is a *feature* I wish VB had!
    (#6)/(#1!)
    Error 51
    Error 3
    Error 9
    ....

  6. #21
    Patrick Troughton Guest

    Re: What are the Advantages of VB.NET?


    Hi Dan,

    >Why
    >not eliminate GoTo as well?


    There's no way in VB to advance to the next iteration of a loop without GoTo.
    But if VB gets a Continue statement, this reason is gone.

    /Pat
    --------------------------
    It's the platform, stupid.
    --------------------------


  7. #22
    Mark Jerde Guest

    Re: What are the Advantages of VB.NET?

    > There's no way in VB to advance to the next iteration of a loop without
    GoTo.

    Other than an if block, which I have used to avoid GoTo.

    -- Mark



  8. #23
    Dan Barclay Guest

    Re: What are the Advantages of VB.NET?

    On 6 Feb 2003 15:19:04 -0800, "Patrick Troughton"
    <Patrick@Troughton.com> wrote:

    >
    >>Why
    >>not eliminate GoTo as well?

    >
    >There's no way in VB to advance to the next iteration of a loop without GoTo.
    >But if VB gets a Continue statement, this reason is gone.


    Yup, maybe you should look for that change in the next version.
    Getting rid of that will keep people from writing nasty spaghetti
    code.

    Dan
    Language Stability is a *feature* I wish VB had!
    (#6)/(#1!)
    Error 51
    Error 3
    Error 9
    ....

  9. #24
    Dan Barclay Guest

    Re: What are the Advantages of VB.NET?

    On Thu, 6 Feb 2003 18:47:22 -0500, "Mark Jerde"
    <jerde@sanspamcompuserve.com> wrote:

    >> There's no way in VB to advance to the next iteration of a loop without

    >GoTo.
    >
    >Other than an if block, which I have used to avoid GoTo.


    You don't need that old fashioned "If" either. You can use the newer
    Select Case instead.

    Dan

    Language Stability is a *feature* I wish VB had!
    (#6)/(#1!)
    Error 51
    Error 3
    Error 9
    ....

  10. #25
    Patrick Troughton Guest

    Re: What are the Advantages of VB.NET?


    Hi Dan,

    That would be fine with me. The only time I use GoTo is in the situation
    I just described...

    While blnCondition = False
    'do some processing

    'if some condition then
    GoTo Continue
    'end if
    'do some processing

    Continue:
    End While

    If VB ever gets a Continue statement, getting rid of GoTo would be very easy
    for me to do. It pays to think ahead. Also, if I even need to port VB.NET
    code to C#, again, it would be very easy to do.

    /Pat
    --------------------------
    It's the platform, stupid.
    --------------------------

    Dan Barclay <Dan@MVPs.org> wrote:
    >On 6 Feb 2003 15:19:04 -0800, "Patrick Troughton"
    ><Patrick@Troughton.com> wrote:
    >
    >
    >Yup, maybe you should look for that change in the next version.
    >Getting rid of that will keep people from writing nasty spaghetti
    >code.
    >
    >Dan
    >Language Stability is a *feature* I wish VB had!
    > (#6)/(#1!)
    >Error 51
    >Error 3
    >Error 9
    >....



  11. #26
    Bob Butler Guest

    Re: What are the Advantages of VB.NET?

    "Dan Barclay" <Dan@MVPs.org> wrote in message
    news:shu54vkcaqldushac67pbo0epd1b8dfmtn@4ax.com
    > On 6 Feb 2003 15:19:04 -0800, "Patrick Troughton"
    > <Patrick@Troughton.com> wrote:
    >
    >>
    >>> Why
    >>> not eliminate GoTo as well?

    >>
    >> There's no way in VB to advance to the next iteration of a loop
    >> without GoTo. But if VB gets a Continue statement, this reason is
    >> gone.

    >
    > Yup, maybe you should look for that change in the next version.
    > Getting rid of that will keep people from writing nasty spaghetti
    > code.


    Good idea. They can replace "Next" with "End For" and then re-use "Next"
    for that purpose! <g>




  12. #27
    Mark Jerde Guest

    Re: What are the Advantages of VB.NET?

    > You don't need that old fashioned "If" either. You can use the newer
    > Select Case instead.


    <g>

    -- Mark



  13. #28
    David Rothgery Guest

    Re: What are the Advantages of VB.NET?


    "Dan Barclay" <Dan@MVPs.org> wrote in message
    news:gmu54vg8qg0lho2apqb52euhea3bboa9gt@4ax.com...
    > On Thu, 6 Feb 2003 18:47:22 -0500, "Mark Jerde"
    > <jerde@sanspamcompuserve.com> wrote:
    >
    > >> There's no way in VB to advance to the next iteration of a
    > >> loop without GoTo.

    > >
    > >Other than an if block, which I have used to avoid GoTo.

    >
    > You don't need that old fashioned "If" either. You can use the newer
    > Select Case instead.


    And when you can find an 'If considered harmful' paper by someone as
    reputable as Djikstra, we'll talk.


    --
    Dave Rothgery
    drothgery@alum.wpi.edu




  14. #29
    Miguel Santos Guest

    Re: What are the Advantages of VB.NET?

    >
    > If you read my previous posts in this newsgroup you'll realize that this
    > doesn't apply to me.
    >


    I was going to leave the subject as it was (ie, time will decide), but I was
    reading some of the older posts and there are good news for you. You said
    you use a lot of usercontrols, which was indeed a nice feature of VB5 and
    beyond. I also had lots of specialized controls (numeric, currency, picture,
    isbn, etc input boxes and many others), and it was a shame I was going to
    lose all my hard work porting them to .NET. Well, the good news is it isn't
    really hard work anymore. You sometimes mentioned your user controls were
    'subclassed controls', but I guess you were only delegating to a child
    control via a usercontrol (or were you really hacking with WndProc? even so,
    read on). Well, in .NET I found that inheriting from a textbox (or another
    base control) and just overriding some behaviours is not only cleaner, but
    also easier and with much less code. And what's more, you end up with a
    'real' textbox, that does everything the base control does plus your extra
    bits (there were some behaviours impossible to reproduce if you delegate to
    a childcontrol in VB6, like multiline, borderstyle, etc...).

    As for a specific case, my currency control came from about 400 lines of
    code in some 30 subs, to a mere 40 lines in 2 subs! For me this was clearly
    a case where I couldn't care less if the old code worked. The new solutions
    is more elegant, smaller and faster.

    And now I'll return to the 'I already tried to explain him, let him do
    whatever he wants' mode. Good luck with your career.

    >
    > Paulo Costa
    > -----------
    > VB.net could have been implemented without
    > losing *Language Compatibility* with VB6.
    >


    Regards,

    Miguel Santos



  15. #30
    blob Guest

    Re: What are the Advantages of VB.NET?


    "Bob" <vb@127.0.0.1> wrote:
    >
    >Sandhya
    >
    >Dont' listen to Kent, he's a Java fanatic only here to troll this newsgroup.
    >
    >
    >VB.Net has several advantages over C# such as better Intelisense, no case
    >sensitivity, many little convenient features missing from C#, such as With
    >blocks, Select Case blocks, code completion, etc. plus high (but not perfect)
    >code compatibility with VB6.
    >
    >Java is more portable than .Net right now, but likely not for long. If you
    >are writing server apps, Java is a good choice but if your writing desktop
    >apps, .Net is far better.


    Yeah, tell him the truth. It adds all the **** that you mentioned so you
    don't have to use real programming languages and actually learn something.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center