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 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
                            • J Joaquin M Lopez Munoz

                              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 Offline
                              N Offline
                              Nish Nishant
                              wrote on last edited by
                              #31

                              Joaquín M López Muñoz wrote: 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? unsafe and unmanaged are different stuff. in unsafe code programmers are allowed to de-reference ref addresses. in unmanaged code they can do anything just as if the clr was a dummy Nish p.s. MY shift key is not working proper :-( 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
                              • G Giles

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

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

                                Hehe, I think they could get more than a couple of bars of soap out of me. :laugh: Good scene that, at the liposuction clinic X|

                                Bruce Duncan - Digital Delirium

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

                                R G 2 Replies Last reply
                                0
                                • J Joaquin M Lopez Munoz

                                  I see the light!! I see the light!! Thanks for the terminology explanation. Curious thing that this capability is being called "unsafe". In my days it was simply named "powerful" :) Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

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

                                  Joaquín M López Muñoz wrote: I see the light!! I see the light!! Joaquín M López Muñoz wrote: In my days it was simply named "powerful" :) :) :) :) :) :) 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

                                    Joaquín M López Muñoz wrote: 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? unsafe and unmanaged are different stuff. in unsafe code programmers are allowed to de-reference ref addresses. in unmanaged code they can do anything just as if the clr was a dummy Nish p.s. MY shift key is not working proper :-( 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
                                    Joaquin M Lopez Munoz
                                    wrote on last edited by
                                    #34

                                    I see the light!! I see the light!! Thanks for the terminology explanation. Curious thing that this capability is being called "unsafe". In my days it was simply named "powerful" :) Joaquín M López Muñoz Telefónica, Investigación y Desarrollo

                                    N 1 Reply 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

                                      B Offline
                                      B Offline
                                      Brigg Thorp
                                      wrote on last edited by
                                      #35

                                      Nish [BusterBoy] wrote: No, I haven't. I am not exactly a movie buff. That's because you spend all your time here!!! :) Brigg Thorp Software Engineer Timex Corporation

                                      1 Reply Last reply
                                      0
                                      • B Bruce Duncan

                                        Hehe, I think they could get more than a couple of bars of soap out of me. :laugh: Good scene that, at the liposuction clinic X|

                                        Bruce Duncan - Digital Delirium

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

                                        R Offline
                                        R Offline
                                        Roger Wright
                                        wrote on last edited by
                                        #36

                                        Why can't we recycle the byproducts of liposuction? Save the Whales!

                                        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

                                          K Offline
                                          K Offline
                                          Klaus Probst
                                          wrote on last edited by
                                          #37

                                          The first part of your post makes no sense. You are certain you can convert COBOL.Net or Fortran.Net to C# by running a wizard or something? Have you tried to do that already? 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? I don't get it. Are you implying that they should or shouldn't? Nish [BusterBoy] wrote: 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. VB.Net is a new language, period. Most people who write or manage VB applications will be smart enough to recognize this and make a decision about whether or not to jump. One thing is certain - there's going to be very little porting as there was VB4 to VB5 and VB6. That capability has pretty much been killed off by Microsoft. Whether that is good or bad remains to be seen. Nish [BusterBoy] wrote: 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. I think someone already posted a link to KEP's rants page. Over the last year or so we (the VB MVPs) have been "roughing it out" with the MS developer/management team for VB.Net to minimize the impact changes will have on existing code. One example is the Caption property in controls, which was removed in the PDC bits that were first released. We got that back by Beta 2. And there are tons of examples like that one. We won a few battles but eventually lost the war (to be fair I wasn't as involved in that process, at least not publicly. I arguably have a different take on .NET than most VB developers). In any case, like I said VB.Net is not VB7 by any stretch of the imagination. Companies will have to decide if they want to make the jump or not, and in many cases they'll see that going to C# is about as painful in any case and do that instead. If you're sitting in your house coding for fun this is not a big issue, but when you have millions of dollars invested in existing software infrastructure things get more complicated. ___________ Klaus [www.vbbox.com]

                                          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