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. C# vs C++ arguments don't hold for C# vs VB.NET

C# vs C++ arguments don't hold for C# vs VB.NET

Scheduled Pinned Locked Moved The Lounge
csharpdotnetc++java
48 Posts 19 Posters 0 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.
  • N Nish Nishant

    This is a continuation of a chat I had with Paul Watson today earlier on Sonork. I was wondering aloud why people who use VB now would want to switch to C#. I am aware that MC++ allows you to mix managed and unmanaged code and allows you the privilege of code optimizations before IL-ing which are not available in the other .NET compilers. Thus there is always a good reason for using MC++ instead of C#. But the same argument won’t hold for C# over VB.NET. Any C# program can be converted line by line [and line for line] into VB.NET or even Fortran.NET. Cause they both totally use the .NET framework classes. So can someone give me 3 good reasons [playing safe here ;-)] why any VB 6 programmer should try C# instead of VB.NET? A Console.WriteLine in any .NET language would smell as sweet and probably taste as good. In fact I find something else very puzzling. C++ programmers are making a big fuss over C#. Also Java programmers. Neither of these people are affected at all. Java programmers can use J# and C++ coders can use MC++. But think of the poor VB 6 programmers. VB.NET is so totally different for them from VB 6 and yet they suffer in silence. We don;t hear any complaints or any fuss made. I find it amazing that I havent found VB 6 coders compaining abt the HUGE jump they need to make to adjust to VB.NET even as C++ coders are making a big deal over nothing. Regards Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org

    J Offline
    J Offline
    Jason Gerard
    wrote on last edited by
    #4

    Becuase I, as a VB6 programmer, would much rather write:

    if(something)
    {
    // do something
    }

    than write:

    IF something THEN
    'do something
    END IF

    The ability to use block comments alone is enough of a reason for me to switch. Jason Gerard

    N 1 Reply Last reply
    0
    • C Chris Losinger

      Nish [BusterBoy] wrote: and yet they suffer in silence. you're listening in the wrong place. VB programmers are very upset about the changes (or, they were a year ago when the changes were announced). Nish [BusterBoy] wrote: So can someone give me 3 good reasons [playing safe here ] why any VB 6 programmer should try C# instead of VB.NET? 1. since MS has submitted C# to a standards body, there's less of a chance they'll do to C# the kinds of things they can to VB: change fundamental aspects of the language at will. though i suppose, given MS's record on such things, they'll probably extend the C# language whenever it suits their marketing needs. 2. it has "C" in the name. if they learn C#, they can pretend they're playing with the big boys, C and C++. 3. there is no Fight Club -c


      Smaller Animals Software, Inc. You're the icing - on the cake - on the table - at my wake. Modest Mouse

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #5

      Chris Losinger wrote: you're listening in the wrong place. VB programmers are very upset about the changes That is perhaps true. I don't visit VB forums at all. The only VB people I know are Paul, Tweety and Roger W. Roger and Tweety seem totally unaware that C# exists and Paul sounds quite enthusiastic about it. Chris Losinger wrote: there is no Fight Club You mean VB.NET will fight with VB 6 and C++ will fight MC++. But since C# is a first-timer, there won't be fights? If so I disagree. Everyone from VB to C++ coders [even those abominable Java guys] have a problem with C# or seem to have a problem at any case. Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org

      C R 2 Replies Last reply
      0
      • C Chris Losinger

        Nish [BusterBoy] wrote: and yet they suffer in silence. you're listening in the wrong place. VB programmers are very upset about the changes (or, they were a year ago when the changes were announced). Nish [BusterBoy] wrote: So can someone give me 3 good reasons [playing safe here ] why any VB 6 programmer should try C# instead of VB.NET? 1. since MS has submitted C# to a standards body, there's less of a chance they'll do to C# the kinds of things they can to VB: change fundamental aspects of the language at will. though i suppose, given MS's record on such things, they'll probably extend the C# language whenever it suits their marketing needs. 2. it has "C" in the name. if they learn C#, they can pretend they're playing with the big boys, C and C++. 3. there is no Fight Club -c


        Smaller Animals Software, Inc. You're the icing - on the cake - on the table - at my wake. Modest Mouse

        J Offline
        J Offline
        Jon Sagara
        wrote on last edited by
        #6

        Chris Losinger wrote: 3. there is no Fight Club :-D Excellent movie. Jon Sagara What about :bob:? Sonork ID: 100.9999 jonsagara

        N 1 Reply Last reply
        0
        • N Nish Nishant

          Jon Sagara wrote: Excellent movie. :confused: :confused: :confused: That is indeed a very peculiar response, I say. Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org

          J Offline
          J Offline
          Jon Sagara
          wrote on last edited by
          #7

          Haven't you ever seen the movie Fight Club? The number one rule of Fight Club is There Is No Fight Club. (If I remember correctly) Jon Sagara What about :bob:? Sonork ID: 100.9999 jonsagara

          N T K 3 Replies Last reply
          0
          • F Fazlul Kabir

            Nish [BusterBoy] wrote: But think of the poor VB 6 programmers. VB.NET is so totally different for them from VB 6 and yet they suffer in silence. We don;t hear any complaints or any fuss made. The infamous VB6 rants // Fazlul


            Get RadVC today! Play RAD in VC++ http://www.capitolsoft.com

            N Offline
            N Offline
            Nish Nishant
            wrote on last edited by
            #8

            Fazlul Kabir wrote: The infamous VB6 rants Thanks :-) Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org

            1 Reply Last reply
            0
            • J Jon Sagara

              Chris Losinger wrote: 3. there is no Fight Club :-D Excellent movie. Jon Sagara What about :bob:? Sonork ID: 100.9999 jonsagara

              N Offline
              N Offline
              Nish Nishant
              wrote on last edited by
              #9

              Jon Sagara wrote: Excellent movie. :confused: :confused: :confused: That is indeed a very peculiar response, I say. Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org

              J 1 Reply Last reply
              0
              • N Nish Nishant

                Chris Losinger wrote: you're listening in the wrong place. VB programmers are very upset about the changes That is perhaps true. I don't visit VB forums at all. The only VB people I know are Paul, Tweety and Roger W. Roger and Tweety seem totally unaware that C# exists and Paul sounds quite enthusiastic about it. Chris Losinger wrote: there is no Fight Club You mean VB.NET will fight with VB 6 and C++ will fight MC++. But since C# is a first-timer, there won't be fights? If so I disagree. Everyone from VB to C++ coders [even those abominable Java guys] have a problem with C# or seem to have a problem at any case. Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org

                C Offline
                C Offline
                Chris Maunder
                wrote on last edited by
                #10

                Nish [BusterBoy] wrote: there is no Fight Club You've never seen the movie Fight Club? cheers, Chris Maunder

                N 1 Reply Last reply
                0
                • J Jason Gerard

                  Becuase I, as a VB6 programmer, would much rather write:

                  if(something)
                  {
                  // do something
                  }

                  than write:

                  IF something THEN
                  'do something
                  END IF

                  The ability to use block comments alone is enough of a reason for me to switch. Jason Gerard

                  N Offline
                  N Offline
                  Nish Nishant
                  wrote on last edited by
                  #11

                  Jason Gerard wrote: Becuase I, as a VB6 programmer, would much rather write: if(something){ // do something} than write:IF something THEN 'do somethingEND IF Huh? Then why didnt you jump to C++? C++ existed for so long and you wait till now? Jason Gerard wrote: The ability to use block comments alone is enough of a reason for me to switch Yeah, that sucks big-time. I find that a problem when I do ASP. Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org

                  A D 2 Replies Last reply
                  0
                  • N Nish Nishant

                    Jon Sagara wrote: Haven't you ever seen the movie Fight Club? No, I haven't. I am not exactly a movie buff. Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org

                    J Offline
                    J Offline
                    Jon Sagara
                    wrote on last edited by
                    #12

                    OIC. Well, if you like movies directed at the 18-34 year old male demographic, then you'll probably like this flick. Jon Sagara What about :bob:? Sonork ID: 100.9999 jonsagara

                    N 1 Reply Last reply
                    0
                    • J Jon Sagara

                      Haven't you ever seen the movie Fight Club? The number one rule of Fight Club is There Is No Fight Club. (If I remember correctly) Jon Sagara What about :bob:? Sonork ID: 100.9999 jonsagara

                      N Offline
                      N Offline
                      Nish Nishant
                      wrote on last edited by
                      #13

                      Jon Sagara wrote: Haven't you ever seen the movie Fight Club? No, I haven't. I am not exactly a movie buff. Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org

                      J B 2 Replies Last reply
                      0
                      • J Jon Sagara

                        Haven't you ever seen the movie Fight Club? The number one rule of Fight Club is There Is No Fight Club. (If I remember correctly) Jon Sagara What about :bob:? Sonork ID: 100.9999 jonsagara

                        T Offline
                        T Offline
                        Tom Archer
                        wrote on last edited by
                        #14

                        Actually the first rule of Fight Club is that you DO NOT TALK ABOUT FIGHT CLUB. We just both broke the rule :omg: Cheers, Tom Archer Author, Inside C#

                        J B 2 Replies Last reply
                        0
                        • T Tom Archer

                          Actually the first rule of Fight Club is that you DO NOT TALK ABOUT FIGHT CLUB. We just both broke the rule :omg: Cheers, Tom Archer Author, Inside C#

                          J Offline
                          J Offline
                          Jon Sagara
                          wrote on last edited by
                          #15

                          :-D Looks like it's time for me to rent Fight Club again. Jon Sagara What about :bob:? Sonork ID: 100.9999 jonsagara

                          1 Reply Last reply
                          0
                          • N Nish Nishant

                            Chris Maunder wrote: You've never seen the movie Fight Club? Hmmm. I fail to see why this should be a surprise to you. Jon Sagara seemed quite shocked by this as well. Yes I am guilty regarding that. I have not watched that movie yet :-) I even went to that link Jon posted but it gave me a page not found error when I clicked on a link that said quarter page quick time. I didnt dare to click the full page quick time link. Now can someone kindly tell me what this movie is all about an dwhy it puzzles people that I havent seen it? Is it about a C++ programmer who is tormented by his step-mother who forces him to use VB? If so, I better skip it. I am a sensitive guy ;-) Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org

                            T Offline
                            T Offline
                            Tom Archer
                            wrote on last edited by
                            #16

                            Here's a description along with about 900 reviews :) Amazon Reviews Cheers, Tom Archer Author, Inside C#

                            N 1 Reply Last reply
                            0
                            • C Chris Maunder

                              Nish [BusterBoy] wrote: there is no Fight Club You've never seen the movie Fight Club? cheers, Chris Maunder

                              N Offline
                              N Offline
                              Nish Nishant
                              wrote on last edited by
                              #17

                              Chris Maunder wrote: You've never seen the movie Fight Club? Hmmm. I fail to see why this should be a surprise to you. Jon Sagara seemed quite shocked by this as well. Yes I am guilty regarding that. I have not watched that movie yet :-) I even went to that link Jon posted but it gave me a page not found error when I clicked on a link that said quarter page quick time. I didnt dare to click the full page quick time link. Now can someone kindly tell me what this movie is all about an dwhy it puzzles people that I havent seen it? Is it about a C++ programmer who is tormented by his step-mother who forces him to use VB? If so, I better skip it. I am a sensitive guy ;-) Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org

                              T C R 3 Replies Last reply
                              0
                              • J Jon Sagara

                                OIC. Well, if you like movies directed at the 18-34 year old male demographic, then you'll probably like this flick. Jon Sagara What about :bob:? Sonork ID: 100.9999 jonsagara

                                N Offline
                                N Offline
                                Nish Nishant
                                wrote on last edited by
                                #18

                                Jon Sagara wrote: Well, if you like movies directed at the 18-34 year old male demographic, then you'll probably like this flick. Hmmm. Dunno what kind of movies fall into that category. I kinda like these types of movies :- Terminator - 2 LA Story Big Daddy True Lies Commando Tango and Cash Rambo series Police Story - 3 Lethal Weapon - 4 Omen - 2 Jewel of the nile etc.... Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org

                                J 1 Reply Last reply
                                0
                                • T Tom Archer

                                  Here's a description along with about 900 reviews :) Amazon Reviews Cheers, Tom Archer Author, Inside C#

                                  N Offline
                                  N Offline
                                  Nish Nishant
                                  wrote on last edited by
                                  #19

                                  Tom Archer wrote: Here's a description along with about 900 reviews Amazon Reviews Thanks :-) Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org

                                  1 Reply Last reply
                                  0
                                  • N Nish Nishant

                                    Jon Sagara wrote: Well, if you like movies directed at the 18-34 year old male demographic, then you'll probably like this flick. Hmmm. Dunno what kind of movies fall into that category. I kinda like these types of movies :- Terminator - 2 LA Story Big Daddy True Lies Commando Tango and Cash Rambo series Police Story - 3 Lethal Weapon - 4 Omen - 2 Jewel of the nile etc.... Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org

                                    J Offline
                                    J Offline
                                    Jon Sagara
                                    wrote on last edited by
                                    #20

                                    Of course I can't speak for you, but by looking at your list of likes, I'd say that you'll probably like Fight Club. Jon Sagara What about :bob:? Sonork ID: 100.9999 jonsagara

                                    1 Reply Last reply
                                    0
                                    • N Nish Nishant

                                      This is a continuation of a chat I had with Paul Watson today earlier on Sonork. I was wondering aloud why people who use VB now would want to switch to C#. I am aware that MC++ allows you to mix managed and unmanaged code and allows you the privilege of code optimizations before IL-ing which are not available in the other .NET compilers. Thus there is always a good reason for using MC++ instead of C#. But the same argument won’t hold for C# over VB.NET. Any C# program can be converted line by line [and line for line] into VB.NET or even Fortran.NET. Cause they both totally use the .NET framework classes. So can someone give me 3 good reasons [playing safe here ;-)] why any VB 6 programmer should try C# instead of VB.NET? A Console.WriteLine in any .NET language would smell as sweet and probably taste as good. In fact I find something else very puzzling. C++ programmers are making a big fuss over C#. Also Java programmers. Neither of these people are affected at all. Java programmers can use J# and C++ coders can use MC++. But think of the poor VB 6 programmers. VB.NET is so totally different for them from VB 6 and yet they suffer in silence. We don;t hear any complaints or any fuss made. I find it amazing that I havent found VB 6 coders compaining abt the HUGE jump they need to make to adjust to VB.NET even as C++ coders are making a big deal over nothing. Regards Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org

                                      J Offline
                                      J Offline
                                      Jon Sagara
                                      wrote on last edited by
                                      #21

                                      Nish [BusterBoy] wrote: Paul Watson Is he in hiding? Haven't heard from him in a while. Jon Sagara What about :bob:? Sonork ID: 100.9999 jonsagara

                                      N 1 Reply Last reply
                                      0
                                      • J Jon Sagara

                                        Nish [BusterBoy] wrote: Paul Watson Is he in hiding? Haven't heard from him in a while. Jon Sagara What about :bob:? Sonork ID: 100.9999 jonsagara

                                        N Offline
                                        N Offline
                                        Nish Nishant
                                        wrote on last edited by
                                        #22

                                        Jon Sagara wrote: Paul Watson Is he in hiding? Haven't heard from him in a while. I think he's busy with some urgent dead lines. He was muttering about some kind of 7 day schedule. Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org

                                        1 Reply Last reply
                                        0
                                        • N Nish Nishant

                                          Jason Gerard wrote: Becuase I, as a VB6 programmer, would much rather write: if(something){ // do something} than write:IF something THEN 'do somethingEND IF Huh? Then why didnt you jump to C++? C++ existed for so long and you wait till now? Jason Gerard wrote: The ability to use block comments alone is enough of a reason for me to switch Yeah, that sucks big-time. I find that a problem when I do ASP. Nish Nish was here, now Nish has gone; He left his soul, to turn you on; Those who knew Nish, knew him well; Those who didn't, can go to hell. I like to :jig: on the Code Project Sonork ID 100.9786 voidmain www.busterboy.org

                                          A Offline
                                          A Offline
                                          AndyG
                                          wrote on last edited by
                                          #23

                                          Not all working developers chose the tools they use. Sometimes you have to think of things from the employers perspective. Is a C++ developer most costly/more difficult to replace than a VB developer? I think most would say yes. My company won't let me use C++ because if I left no one else on the team has the skillset to take over or maintain my code. But if your company is moving to .NET, as VB developers you may as well just switch to C#. The jump from VB to VB.NET is roughly the same as the jump from VB to C#. C# has the ability to write unsafe code, overload operators, and the syntax for writing OO code seems cleaner in C# than VB. And if want block comments in classic ASP you can use JScript. Andy Gaskell, MCSD

                                          J R 2 Replies 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