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. Other Discussions
  3. The Weird and The Wonderful
  4. VB.NET -> C# ?

VB.NET -> C# ?

Scheduled Pinned Locked Moved The Weird and The Wonderful
csharpc++comarchitecture
16 Posts 12 Posters 168 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.
  • B Bradml

    VB.NET is the devil. There, I said it.


    Brad Australian - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

    V Offline
    V Offline
    Vasudevan Deepak Kumar
    wrote on last edited by
    #7

    Yup. I prefer C#. It is elegant.

    Vasudevan Deepak Kumar Personal Homepage Tech Gossips

    S 1 Reply Last reply
    0
    • B Bradml

      VB.NET is the devil. There, I said it.


      Brad Australian - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

      P Offline
      P Offline
      Pascal Ganaye
      wrote on last edited by
      #8

      If C++ is heaven and VB.Net is hell then C# is probably purgatory.

      F J 2 Replies Last reply
      0
      • C Christian Graus

        I work on an app that was started by someone else in VB.NET. I hope it was the conversion to C# that causes me to still find code like: for(int i = 0; i <= myObject.Length - 1; ++ i) or, even better: int g = item.Count - 1 + 1; I find examples of both of these almost every time I wander into the guts of stuff I've not had to touch before, like some of the basic controls we suddenly decide to change after 2 years.

        Christian Graus - Microsoft MVP - C++ Metal Musings - Rex and my new metal blog "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        M Offline
        M Offline
        Marcus J Smith
        wrote on last edited by
        #9

        Christian Graus wrote:

        int g = item.Count - 1 + 1;

        Well this is no help for your cause but I upgraded some custom paging code written in ASP to VB.NET. If intPageLength <= (intTotalPages/intPageLength - 1) + 1 it took me forever to fix that crap.


        CleaKO

        "I think you'll be okay here, they have a thin candy shell. 'Surprised you didn't know that." - Tommy Boy
        "Fill it up again! Fill it up again! Once it hits your lips, it's so good!" - Frank the Tank (Old School)

        1 Reply Last reply
        0
        • V Vasudevan Deepak Kumar

          Yup. I prefer C#. It is elegant.

          Vasudevan Deepak Kumar Personal Homepage Tech Gossips

          S Offline
          S Offline
          Sam Loveridge
          wrote on last edited by
          #10

          There's nothing more frustrating than maintaining crappy code :) Elegance is in the hands of the coder. You can write efficient and elegant code in pretty much any language (VB.NET is no exception), just as you can write jibberish, inefficient code in pretty much any language (C# is no exception). Unfortunately it sounds like from this forum that VB.NET is the language of preference for hacks, which disappointingly gives the language a bad name.

          S D 2 Replies Last reply
          0
          • P Pascal Ganaye

            If C++ is heaven and VB.Net is hell then C# is probably purgatory.

            F Offline
            F Offline
            Fernando A Gomez F
            wrote on last edited by
            #11

            Amen :)

            A polar bear is a bear whose coordinates has been changed in terms of sine and cosine. Personal Site

            1 Reply Last reply
            0
            • S Sam Loveridge

              There's nothing more frustrating than maintaining crappy code :) Elegance is in the hands of the coder. You can write efficient and elegant code in pretty much any language (VB.NET is no exception), just as you can write jibberish, inefficient code in pretty much any language (C# is no exception). Unfortunately it sounds like from this forum that VB.NET is the language of preference for hacks, which disappointingly gives the language a bad name.

              S Offline
              S Offline
              Shog9 0
              wrote on last edited by
              #12

              Eduardo Fandangle wrote:

              Unfortunately it sounds like from this forum that VB.NET is the language of preference for hacks, which disappointingly gives the language a bad name.

              The language was designed for hacks. Literally. Important design choices were made to support VB6 hacks. A bastardized upgrade to a bastardization of a bastard language. Little surprise that the hacks seem more comfortable...

              ----

              It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.

              --Raymond Chen on MSDN

              A 1 Reply Last reply
              0
              • B Bradml

                ?That sounds like the kind of moment where you wish the ESC button worked.


                Brad Australian - Christian Graus on "Best books for VBscript" A big thick one, so you can whack yourself on the head with it.

                M Offline
                M Offline
                Muammar
                wrote on last edited by
                #13

                :laugh::laugh:


                Smile: A curve that can set a lot of things straight! (\ /) (O.o) (><)

                1 Reply Last reply
                0
                • S Sam Loveridge

                  There's nothing more frustrating than maintaining crappy code :) Elegance is in the hands of the coder. You can write efficient and elegant code in pretty much any language (VB.NET is no exception), just as you can write jibberish, inefficient code in pretty much any language (C# is no exception). Unfortunately it sounds like from this forum that VB.NET is the language of preference for hacks, which disappointingly gives the language a bad name.

                  D Offline
                  D Offline
                  DA_Loring
                  wrote on last edited by
                  #14

                  Hear hear Eduardo!

                  David Loring !! Keep Music Live !!

                  1 Reply Last reply
                  0
                  • S Shog9 0

                    Eduardo Fandangle wrote:

                    Unfortunately it sounds like from this forum that VB.NET is the language of preference for hacks, which disappointingly gives the language a bad name.

                    The language was designed for hacks. Literally. Important design choices were made to support VB6 hacks. A bastardized upgrade to a bastardization of a bastard language. Little surprise that the hacks seem more comfortable...

                    ----

                    It appears that everybody is under the impression that I approve of the documentation. You probably also blame Ken Burns for supporting slavery.

                    --Raymond Chen on MSDN

                    A Offline
                    A Offline
                    AndrewVos
                    wrote on last edited by
                    #15

                    I love vb.net ;) You're all just jealous of not having My.Settings :> Ok, I'm just joking. Noone freak out


                    www.wickedorange.com

                    1 Reply Last reply
                    0
                    • P Pascal Ganaye

                      If C++ is heaven and VB.Net is hell then C# is probably purgatory.

                      J Offline
                      J Offline
                      jhwurmbach
                      wrote on last edited by
                      #16

                      Pascal Ganaye wrote:

                      C++ is heaven and VB.Net is hell

                      VB.NET might be hell - I can't comment on that. But C++ is certainly not heaven. Its more like the treadmill of everyday life: Somtimes fun and really exiting, somtimes making you mad, but most of the time just plain boring and repetitive.


                      Failure is not an option - it's built right in.

                      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