Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Why is VB being forsaken?

Why is VB being forsaken?

Scheduled Pinned Locked Moved The Lounge
csharplearningc++dotnet
103 Posts 50 Posters 4 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Oakman

    Fabio Franco wrote:

    that code wasn't written by me

    Just so you don't think I was accusing you of writing it, I knew that. I meant that it seemed possible that your inexperience with the language made you hesitant about making a judgement that wouldn't have been the case had you known it as well as I assume you know C#

    Fabio Franco wrote:

    I guess this in the end comes to personal experiences

    I ended up working for 3 fortune 500's in a row. They had been mostly writing for minis that talked to mainframes and after Y2K had senior developers who they wanted to convert to writing code for WIN Server. It seemed that in every case they wanted to be "C" programmers, not "VB" so they had taken a developmentor course in C# and were happily writing COBOL procedurals in .NET. :rolleyes:

    The 3-legged stool of understanding is held up by history, languages, and mathematics. Equipped with these three you can learn anything you want to learn. But if you lack any one of them you are just another ignorant peasant with dung on your boots. R. A. H.

    F Offline
    F Offline
    Fabio Franco
    wrote on last edited by
    #93

    Oakman wrote:

    I meant that it seemed possible that your inexperience with the language made you hesitant about making a judgement that wouldn't have been the case had you known it as well as I assume you know C#

    You got it.

    Oakman wrote:

    were happily writing COBOL procedurals in .NET.

    :~

    "To alcohol! The cause of, and solution to, all of life's problems" - Homer Simpson

    1 Reply Last reply
    0
    • J jim norcal

      All the programming I have done has been with VB then VB.NET. Microsoft keeps continues to develop and release it along side C# and the rest. However, over the last few years, I have seen very little new information out there regarding VB. Very few articles on Code Project and other sites. Oh, and I'm a subscriber to MSDN magazine and I haven't seen a single line of VB.NET code in .. in .. I can't even remember the last issue. I can say at least the last four issues there hasn't been anything in VB.NET. It's all been C#, C++ and even F# but no VB! Is Microsoft trying to push it to the side so it whithers and dies and hope that no one notices or pays attention? Even here on Code Project I've noted next to nothing new on VB. Every week I get the newsletter with all the new articles and rarely do I see anything on VB.NET. There may be one article among the 30 C# articles but that's on a good week. So, what am I supposed to do? Just stop using it, pick up a "Learning C# For Lonely, Left Behind VB.NET Programmers" and just think of VB.NET as fond memories of long ago? I have a hard time with such a concept. VB.NET has evolved into a good language and is capable of doing pretty much anything C# can do (using the .net framework, of course) so why isn't it promoted more by MS and others?

      K Offline
      K Offline
      Kenneth Kasajian
      wrote on last edited by
      #94

      I honestly don't get this kind of thinking. Why do you have a hard time learning a new language? You learn new technologies all the time, why not a new language? And why only use one language? Use many. Don't just stick with C#. Everyone should look at languages like Python and Scheme. It will make you a better programmer, no matter what language you use.

      ken@kasajian.com / www.kasajian.com

      1 Reply Last reply
      0
      • P PIEBALDconsult

        Not necessarily, for instance: VB.net has certain restrictions on how you can format your code (e.g. linebreaks) that C-like languages just don't have. C-like languages have multi-line comments, VB.net does not. In C# I can make an event based on a delegate that returns a value, in VB.net you can't. While that's not something most situations require, it's nice to know I can when I need to. C# has auto-implemented properties, VB.net does not (at least not in the version I have to use at work). That's what comes to mind at the moment and my dinner is getting cold.

        R Offline
        R Offline
        Randy R Jackson
        wrote on last edited by
        #95

        C-like languages have multi-line comments, VB.net does not.

        P 1 Reply Last reply
        0
        • R Randy R Jackson

          C-like languages have multi-line comments, VB.net does not.

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #96

          Wow, deja vu.

          1 Reply Last reply
          0
          • L ljw1004

            I'm Lucian Wischik, the VB language PM at Microsoft. Since VS2010 we've put a huge amount of resources behind VB. We haven't announced all the new features, but here are just some of the new VB features we've already announced: * Async programming, developed absolutely equally with C#. * Iterators, like C#, but also allowing lambda iterators and yield inside try blocks which C# doesn't have. * VBCore - removes the dependency on Microsoft.VisualBasic.dll, so VB is as easy for 3rd-parties to use as C#. * New platforms - VB support added to Windows Phone 7, to the Micro Framework (i.e. Netduino), to XNA. * (and smaller fixes, like no longer prettylisting that blasted "ByVal" in front of everything, and emitting minimally-qualified names) And of course all of these features benefit from the things we know and love about VB, like QuickFixes and XML. Here's an interesting code snippet which ties together several unique VB features at the same time:

            Sub Main()
            Dim xml =

                  <%= Iterator Function()
                        For Each robot In {"alpha", "beta", "gamma"}
                          Yield *   Robot <%= robot %> reporting in for duty
                        Next
                      End Function()
                   %>
            

            Console.WriteLine(xml)
            End Sub

            What this shows is code that on the surface looks similar in structure to ASP/PHP, but is actually fully typesafe. Personally, I've switched over all my hobby web-services from python to this kind of VB because I can code them quicker and with fewer bugs thanks to the type safety. -- Lucian Wischik, VB language PM

            R Offline
            R Offline
            Randy R Jackson
            wrote on last edited by
            #97

            Oh man... I've been programming in VB versions since VB ver3. I use C# when nessarry but squirly braces are just visual noise to me after so many years of VB. It's just my personal preference. I've written programs in VB.net that manage some of our primary military services. That code will be around for a while. My experience is that it's the programmer's experience and ability to get the job done right that makes a differnce. I usually end up firing language snots and anyway C# is a too alternative lifestyle. Hanky please...

            modified on Tuesday, August 2, 2011 5:44 PM

            1 Reply Last reply
            0
            • C Chris Boss

              I won't comment about Microsofts reasons or motives in changing VB, but I will comment about the Basic language and why some may prefer not to switch to C#. BASIC has a very, very long history and despite all the criticism it has received it has endured. Why ? Because Basic is a more natural language as far as its syntax. Even non-programmers can examine Basic code and make some sense of what it is doing, unlike C code which is an acquired taste. I have been programming in Basic since 1975. I learned some Fortran, gotten plenty of books on C (interested) and even purchased a C compiler or two, but just never picked up the language. Very quickly the syntax of the language (C) was counter intuitive to my first language Basic. Now I did take the time to learn some machine language (wrote a compiler using Basic for the 6502 CPU for the commodore 64). I also learned some intel assembler and wrote some library code for use with PDS 7.1 using assembler. To me machine language and assembler was easier to pick up than C. Over the years I moved on to VB 1.0, 2.0 and finally 5.0 Pro (stopped there). Amazingly, it was all the OOP stuff which I began to dislike. While OOP has its place, OOP is not the programming panacea it was first thought to be. I personally prefer more procedural style coding over OOP and I am far more productive with such code. I still love the Basic language and it still lives despite dot.net. For the last 10 years I have used PowerBasic, rather than any Microsoft Basic. I still like VB, but it has changed too much for me and is not efficient enough for me. From my experience I find it is best not to learn too many different programming languages. You know the old saying, "jack of all trades, but master of none". I find it better to pick the language you are most productive in and to become an expert in it. If you want to learn a second language, I would recommend it be assembler (or machine language). Learning machine language makes one appreciate what a compiler does even more. One of the beauties of Basic is its readability. One can pick up code written years ago and quickly make sense of it. Now one good reason the Basic language should not be changed (the core language left alone), but rather simply add new features to it, is that if languages keep changing every few years, then much time is lost in having to rewrite code for a new syntax. When you can have perfect code which was written years ago, simply reused today, then you don't have to reinvent the wheel all the time. Sure

              R Offline
              R Offline
              Randy R Jackson
              wrote on last edited by
              #98

              Thank you Chris. That's what I meant to say.

              1 Reply Last reply
              0
              • K KP Lee

                GuyThiebaut wrote:

                A friend of mine was very much into object orientation with a langauge called REXX.

                That's interesting, I haven't used REXX for over 8 years now. When I did, it was on an IBM/TSO mainframe and had no coorelation to OO whatsoever. (Similar in style to vbs.)

                G Offline
                G Offline
                GuyThiebaut
                wrote on last edited by
                #99

                My understanding is that a group of developers either bought it up or branched it off into OO. It may be called OO REXX now... It is open source and still an interpreted language although you can create a wrapper for it to run as a exe.

                Continuous effort - not strength or intelligence - is the key to unlocking our potential.(Winston Churchill)
                1 Reply Last reply
                0
                • J jim norcal

                  All the programming I have done has been with VB then VB.NET. Microsoft keeps continues to develop and release it along side C# and the rest. However, over the last few years, I have seen very little new information out there regarding VB. Very few articles on Code Project and other sites. Oh, and I'm a subscriber to MSDN magazine and I haven't seen a single line of VB.NET code in .. in .. I can't even remember the last issue. I can say at least the last four issues there hasn't been anything in VB.NET. It's all been C#, C++ and even F# but no VB! Is Microsoft trying to push it to the side so it whithers and dies and hope that no one notices or pays attention? Even here on Code Project I've noted next to nothing new on VB. Every week I get the newsletter with all the new articles and rarely do I see anything on VB.NET. There may be one article among the 30 C# articles but that's on a good week. So, what am I supposed to do? Just stop using it, pick up a "Learning C# For Lonely, Left Behind VB.NET Programmers" and just think of VB.NET as fond memories of long ago? I have a hard time with such a concept. VB.NET has evolved into a good language and is capable of doing pretty much anything C# can do (using the .net framework, of course) so why isn't it promoted more by MS and others?

                  U Offline
                  U Offline
                  User 5775657
                  wrote on last edited by
                  #100

                  I have been programming in VB for years and face the same concerns. Microsoft have said that VB and C# would join at some point and I have found that both Languages have many things in common and more so as time goes on. What both VB and C# programmers are facing is the many changes in technology as I believe Steve Jobs said he would be aggressive in all technology as we are in a technology overhaul and by having your teams in all technologies you should have a chance of staying in the technology race. Currently I have invested lots of time and money in Silver-light with no true understanding of which of these technologies will survive. Like VB I not sure that Silverlight will survive like many of the new product that seem to come weekly. I don’t think Microsoft can give us a clear answer to what will happen in the future as they too like us don’t know what the future holds.

                  1 Reply Last reply
                  0
                  • J jim norcal

                    All the programming I have done has been with VB then VB.NET. Microsoft keeps continues to develop and release it along side C# and the rest. However, over the last few years, I have seen very little new information out there regarding VB. Very few articles on Code Project and other sites. Oh, and I'm a subscriber to MSDN magazine and I haven't seen a single line of VB.NET code in .. in .. I can't even remember the last issue. I can say at least the last four issues there hasn't been anything in VB.NET. It's all been C#, C++ and even F# but no VB! Is Microsoft trying to push it to the side so it whithers and dies and hope that no one notices or pays attention? Even here on Code Project I've noted next to nothing new on VB. Every week I get the newsletter with all the new articles and rarely do I see anything on VB.NET. There may be one article among the 30 C# articles but that's on a good week. So, what am I supposed to do? Just stop using it, pick up a "Learning C# For Lonely, Left Behind VB.NET Programmers" and just think of VB.NET as fond memories of long ago? I have a hard time with such a concept. VB.NET has evolved into a good language and is capable of doing pretty much anything C# can do (using the .net framework, of course) so why isn't it promoted more by MS and others?

                    M Offline
                    M Offline
                    Matt McGuire
                    wrote on last edited by
                    #101

                    Maybe the C# guys have too much free personal time to make the articals and code examples. after a work day, I have a family and hobbies that in no way include computers; not that i haven't thought about writing up an article a time or two for VB. Stick with VB.net, it's a nice language. I've tried C#, I just feels like another knockoff of C, or Java adapted for modern times. Why MS doesn't promote VB more, I don't know, maybe thay just figure VB'ers will stick around. C# gets lots of add time to try and entice Java, C++ and others over to .NET. VB doesn't realy have any 'half cousins' sharing the same synthax to pull from.

                    1 Reply Last reply
                    0
                    • J jim norcal

                      All the programming I have done has been with VB then VB.NET. Microsoft keeps continues to develop and release it along side C# and the rest. However, over the last few years, I have seen very little new information out there regarding VB. Very few articles on Code Project and other sites. Oh, and I'm a subscriber to MSDN magazine and I haven't seen a single line of VB.NET code in .. in .. I can't even remember the last issue. I can say at least the last four issues there hasn't been anything in VB.NET. It's all been C#, C++ and even F# but no VB! Is Microsoft trying to push it to the side so it whithers and dies and hope that no one notices or pays attention? Even here on Code Project I've noted next to nothing new on VB. Every week I get the newsletter with all the new articles and rarely do I see anything on VB.NET. There may be one article among the 30 C# articles but that's on a good week. So, what am I supposed to do? Just stop using it, pick up a "Learning C# For Lonely, Left Behind VB.NET Programmers" and just think of VB.NET as fond memories of long ago? I have a hard time with such a concept. VB.NET has evolved into a good language and is capable of doing pretty much anything C# can do (using the .net framework, of course) so why isn't it promoted more by MS and others?

                      X Offline
                      X Offline
                      XDotNet
                      wrote on last edited by
                      #102

                      With a little work and surfing you can convert 99% of the C# articles to VB.NET. You might not be able to copy paste a whole program like with C# but divide it up, run it through a converter or figure out what each slice is doing and piece it back together. Even if most of your code is VB.NET, you can educate yourself by converting C# to VB.NET. You won't *KNOW* C# but you will be able to look and teach yourself to figure out what it going on in either lanugage. C# and VB.NET are so close now that soon I expect...and hope we will be able to click a checkbox or something to convert back and forth in the IDE. I'd also like to see the IDE allow C# and VB code live together. Why not? You can de-compile a VB or C# program from its machine code and get the correct language right? I know it's not *THAT* simple, but personally i'd like to stick with VB but toss in C# when I need it. We *should* be able to write this in the same class and have it work....Microsoft...hint..hint

                      Private Sub GetNumber()
                      Dim number As Integer
                      number = ReturnNumber(2, 2)
                      MessageBox.Show(CStr(number))
                      End Sub

                      private int ReturnNumber(int n1, int n2)
                      {
                      return n1 + n2;
                      }

                      A Cup empty of myself.

                      1 Reply Last reply
                      0
                      • J jim norcal

                        All the programming I have done has been with VB then VB.NET. Microsoft keeps continues to develop and release it along side C# and the rest. However, over the last few years, I have seen very little new information out there regarding VB. Very few articles on Code Project and other sites. Oh, and I'm a subscriber to MSDN magazine and I haven't seen a single line of VB.NET code in .. in .. I can't even remember the last issue. I can say at least the last four issues there hasn't been anything in VB.NET. It's all been C#, C++ and even F# but no VB! Is Microsoft trying to push it to the side so it whithers and dies and hope that no one notices or pays attention? Even here on Code Project I've noted next to nothing new on VB. Every week I get the newsletter with all the new articles and rarely do I see anything on VB.NET. There may be one article among the 30 C# articles but that's on a good week. So, what am I supposed to do? Just stop using it, pick up a "Learning C# For Lonely, Left Behind VB.NET Programmers" and just think of VB.NET as fond memories of long ago? I have a hard time with such a concept. VB.NET has evolved into a good language and is capable of doing pretty much anything C# can do (using the .net framework, of course) so why isn't it promoted more by MS and others?

                        J Offline
                        J Offline
                        James Lonero
                        wrote on last edited by
                        #103

                        There are still plenty of VB articles in Visual Studio Magazine. Try it.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • World
                        • Users
                        • Groups