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.
  • 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
                            • 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#

                              B Offline
                              B Offline
                              Bruce Duncan
                              wrote on last edited by
                              #24

                              And the second rule of Fight Club is you DO NOT TALK ABOUT FIGHT CLUB. Oh sh*t, I did it as well. :omg: Are they gonna come for our balls or is that just if we ask questions about 'PROJECT MAYHEM' ?

                              Bruce Duncan - Digital Delirium

                              honk() if $you->love(PERL);

                              G 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

                                G Offline
                                G Offline
                                Giles
                                wrote on last edited by
                                #25

                                I totally agree. You know what it means...that many mono lingual VB programmers will be trapped, and that it will be the likes of us who get their jobs in the future. I've seen some shoddy VB code in my time. I like VB, but I also write good vb that handles errors well, rather than just dying with VB Runtime Error : 1004 Object Not Found or what ever it is for 1004. I've seen it a million times.:laugh: Giles

                                N 1 Reply Last reply
                                0
                                • C ColinDavies

                                  Nish [BusterBoy] wrote: Now can someone kindly tell me what this movie is all about an dwhy it puzzles people that I havent seen it? Is Nish, don't panic I don't believe I ahve seen it also. No panic needed. Regardz Colin J Davies

                                  Sonork ID 100.9197:Colin

                                  28 th Law of Computing: Anything that can go wr# Segmentation violation -- Core dumped

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

                                  Colin Davies wrote: Nish, don't panic I don't believe I ahve seen it also. No panic needed. OK. I've re-started my breathing. 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
                                  • B Bruce Duncan

                                    And the second rule of Fight Club is you DO NOT TALK ABOUT FIGHT CLUB. Oh sh*t, I did it as well. :omg: Are they gonna come for our balls or is that just if we ask questions about 'PROJECT MAYHEM' ?

                                    Bruce Duncan - Digital Delirium

                                    honk() if $you->love(PERL);

                                    G Offline
                                    G Offline
                                    Giles
                                    wrote on last edited by
                                    #27

                                    Right, thats it, your off to the soap factory, and your not coming back.:laugh: Giles

                                    B 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

                                      C Offline
                                      C Offline
                                      ColinDavies
                                      wrote on last edited by
                                      #28

                                      Nish [BusterBoy] wrote: Now can someone kindly tell me what this movie is all about an dwhy it puzzles people that I havent seen it? Is Nish, don't panic I don't believe I ahve seen it also. No panic needed. Regardz Colin J Davies

                                      Sonork ID 100.9197:Colin

                                      28 th Law of Computing: Anything that can go wr# Segmentation violation -- Core dumped

                                      N C 2 Replies Last reply
                                      0
                                      • G Giles

                                        I totally agree. You know what it means...that many mono lingual VB programmers will be trapped, and that it will be the likes of us who get their jobs in the future. I've seen some shoddy VB code in my time. I like VB, but I also write good vb that handles errors well, rather than just dying with VB Runtime Error : 1004 Object Not Found or what ever it is for 1004. I've seen it a million times.:laugh: Giles

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

                                        Giles wrote: I like VB, but I also write good vb that handles errors well, rather than just dying with VB Runtime Error : 1004 Object Not Found or what ever it is for 1004. Hmmm. Jus put this on top of each file.

                                        on error resume next

                                        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
                                        • A AndyG

                                          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 Offline
                                          J Offline
                                          Joaquin M Lopez Munoz
                                          wrote on last edited by
                                          #30

                                          C# has the ability to write unsafe code... If by "unsafe" you mean what MS calls "unmanaged", then I thought C++ was the only language in the band with such capabilities. Anyone enlighten me? Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

                                          N 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