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. I have fallen in disgrace, I am programming in VB.NET

I have fallen in disgrace, I am programming in VB.NET

Scheduled Pinned Locked Moved The Lounge
csharp
32 Posts 25 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.
  • V Vasily Tserekh

    Now I have to keep a low profile, everyone in my neighbourhood will make fun of me For the record it was project at work and the client asked for that particular language

    R Offline
    R Offline
    Rutvik Dave
    wrote on last edited by
    #3

    If you ever need protection, I am talking about cowboy style gunslinger stuff.... JSOP is your guy. :-D

    1 Reply Last reply
    0
    • V Vasily Tserekh

      Now I have to keep a low profile, everyone in my neighbourhood will make fun of me For the record it was project at work and the client asked for that particular language

      L Offline
      L Offline
      ljw1004
      wrote on last edited by
      #4

      If anyone asks, tell them you're using VB.Net because you wanted a language with iterator lambdas, and C# doesn't support them...

      Function Range(min As Integer, max As Integer) As IEnumerable(Of Integer)
      If min>max Then Throw New RangeException()
      Return Iterator Function()
      For i = min To max
      Yield i
      Next
      End Function()
      End Function

      M 1 Reply Last reply
      0
      • V Vasily Tserekh

        Now I have to keep a low profile, everyone in my neighbourhood will make fun of me For the record it was project at work and the client asked for that particular language

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #5

        There is nothing wrong in programming in VB.NET. It's a tool for developing apps with, and there's a lot of elitist claptrap surrounding people's opinions on it. One of the best developers I know wrote a lot of great apps with it. He ended up as a PM at Microsoft.

        *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

        "Mind bleach! Send me mind bleach!" - Nagy Vilmos

        CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

        S B R 3 Replies Last reply
        0
        • P Pete OHanlon

          There is nothing wrong in programming in VB.NET. It's a tool for developing apps with, and there's a lot of elitist claptrap surrounding people's opinions on it. One of the best developers I know wrote a lot of great apps with it. He ended up as a PM at Microsoft.

          *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

          "Mind bleach! Send me mind bleach!" - Nagy Vilmos

          CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

          S Offline
          S Offline
          S Houghtelin
          wrote on last edited by
          #6

          Thanks Pete, I think some people need to hear that coming from someone of your level of expertise. VB is my bread and butter language and they pay me a decent wage for for doing so. I'm also the GoTo guy for converting legacy VB 6 apps to C# or VB.NET. I still have a spot in my heart for VB 6, but I haven't forgotten thr frusrations of debuggung applications with undeclared or loosely declared variables.

          It was broke, so I fixed it.

          A M 2 Replies Last reply
          0
          • V Vasily Tserekh

            Now I have to keep a low profile, everyone in my neighbourhood will make fun of me For the record it was project at work and the client asked for that particular language

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

            I spent a year doing VB.net (that may be why my MVPhood hasn't recurred). I hope I never have to again, but if that's all I can get, I'll take it. It beats Java. :-D Shoot, I can't find the advice I got when I made a similar announcement, but it mentioned OPTION STRICT * and such. If you're a good developer, you can write good code in it. Just try to stay away from anything that is unique to VB. * Edit: /optionexplicit+ /optionstrict+ /optioninfer- http://www.codeproject.com/Lounge.aspx?msg=4096062[^]

            1 Reply Last reply
            0
            • V Vasily Tserekh

              Now I have to keep a low profile, everyone in my neighbourhood will make fun of me For the record it was project at work and the client asked for that particular language

              P Offline
              P Offline
              pt1401
              wrote on last edited by
              #8

              Hey, they're both development languages that precompile to IL. No big deal, there are some great VB programmers around. Don't ridicule the language because you prefer C# - personally it's my preference too, but a good developer should be comfortable writing in either, so look on it as time well spent.

              A 1 Reply Last reply
              0
              • S S Houghtelin

                Thanks Pete, I think some people need to hear that coming from someone of your level of expertise. VB is my bread and butter language and they pay me a decent wage for for doing so. I'm also the GoTo guy for converting legacy VB 6 apps to C# or VB.NET. I still have a spot in my heart for VB 6, but I haven't forgotten thr frusrations of debuggung applications with undeclared or loosely declared variables.

                It was broke, so I fixed it.

                A Offline
                A Offline
                AspDotNetDev
                wrote on last edited by
                #9

                S Houghtelin wrote:

                I'm also the GoTo guy for converting legacy VB 6 apps

                Make it stop! *Rocks back and forth in the fetal position in a dark corner.*

                Thou mewling ill-breeding pignut!

                S 1 Reply Last reply
                0
                • A AspDotNetDev

                  S Houghtelin wrote:

                  I'm also the GoTo guy for converting legacy VB 6 apps

                  Make it stop! *Rocks back and forth in the fetal position in a dark corner.*

                  Thou mewling ill-breeding pignut!

                  S Offline
                  S Offline
                  S Houghtelin
                  wrote on last edited by
                  #10

                  Is there

                  GoTo

                  Is there any other way to write that? :laugh:

                  It was broke, so I fixed it.

                  A R 2 Replies Last reply
                  0
                  • S S Houghtelin

                    Is there

                    GoTo

                    Is there any other way to write that? :laugh:

                    It was broke, so I fixed it.

                    A Offline
                    A Offline
                    AspDotNetDev
                    wrote on last edited by
                    #11

                    GoSub? :rolleyes:

                    Thou mewling ill-breeding pignut!

                    A 1 Reply Last reply
                    0
                    • S S Houghtelin

                      Thanks Pete, I think some people need to hear that coming from someone of your level of expertise. VB is my bread and butter language and they pay me a decent wage for for doing so. I'm also the GoTo guy for converting legacy VB 6 apps to C# or VB.NET. I still have a spot in my heart for VB 6, but I haven't forgotten thr frusrations of debuggung applications with undeclared or loosely declared variables.

                      It was broke, so I fixed it.

                      M Offline
                      M Offline
                      Mycroft Holmes
                      wrote on last edited by
                      #12

                      S Houghtelin wrote:

                      I still have a spot in my heart for VB 6

                      Soft spot in the head more likely, while I spent much of the 90s steeped in VB I do prefer C# and I loathe HTML!

                      Never underestimate the power of human stupidity RAH

                      R 1 Reply Last reply
                      0
                      • V Vasily Tserekh

                        Now I have to keep a low profile, everyone in my neighbourhood will make fun of me For the record it was project at work and the client asked for that particular language

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

                        Wash your hands often, and gargle before meeting with anyone with an IQ over room temperature; you'll get through this. Hang on, it can't last forever...

                        Will Rogers never met me.

                        1 Reply Last reply
                        0
                        • V Vasily Tserekh

                          Now I have to keep a low profile, everyone in my neighbourhood will make fun of me For the record it was project at work and the client asked for that particular language

                          Sander RosselS Offline
                          Sander RosselS Offline
                          Sander Rossel
                          wrote on last edited by
                          #14

                          Welcome to one of the nicest languages ever with some of the greatest flaws ever :D VB.NET isn't so bad once you get used to it. I prefer it over C#. Just enjoy not having to type (); manually at the end of each sentence... Or break; after each case of a switch statement, while falling through isn't allowed anyway... Or an opening and closing bracket after just about every other line of code... Just make sure you put Option Strict On and don't talk to VB programmers that have been around since the 90's ;p

                          It's an OO world.

                          public class Naerling : Lazy<Person>{
                          public void DoWork(){ throw new NotImplementedException(); }
                          }

                          T 1 Reply Last reply
                          0
                          • V Vasily Tserekh

                            Now I have to keep a low profile, everyone in my neighbourhood will make fun of me For the record it was project at work and the client asked for that particular language

                            F Offline
                            F Offline
                            Fred Flams
                            wrote on last edited by
                            #15

                            Well, don't listen to all that crap. You can answer to those people that a language is nothing more than a tool to use to build stuff. If they dislike VB, then that's their propblem, not yours. If the job requires to use an old, gnarly and obscure tool (not that's what I think of VB, I used to develop everyday using VB6 and VBScript, and contributed to great apps developped with it and I still nurture a foundness for that good old time :(( ) that they don't know, tell them it is no reason to make fun of you. No on should be laughed at because they did their job as per spec, nobody chooses what they really want to do (not at a corporate level at least, if you are an indie, that an other story). Walk with your head straight and keep your hight esteem of yourself. If you are able to develop in many different languages and they don't, then you're definitely better than them.

                            R 1 Reply Last reply
                            0
                            • P Pete OHanlon

                              There is nothing wrong in programming in VB.NET. It's a tool for developing apps with, and there's a lot of elitist claptrap surrounding people's opinions on it. One of the best developers I know wrote a lot of great apps with it. He ended up as a PM at Microsoft.

                              *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                              "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                              CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                              B Offline
                              B Offline
                              Brendan Costigan
                              wrote on last edited by
                              #16

                              Wow ... Prime Minister of Microsoft!! Maybe that company is getting too big for its boots.

                              All round good guy.

                              1 Reply Last reply
                              0
                              • Sander RosselS Sander Rossel

                                Welcome to one of the nicest languages ever with some of the greatest flaws ever :D VB.NET isn't so bad once you get used to it. I prefer it over C#. Just enjoy not having to type (); manually at the end of each sentence... Or break; after each case of a switch statement, while falling through isn't allowed anyway... Or an opening and closing bracket after just about every other line of code... Just make sure you put Option Strict On and don't talk to VB programmers that have been around since the 90's ;p

                                It's an OO world.

                                public class Naerling : Lazy<Person>{
                                public void DoWork(){ throw new NotImplementedException(); }
                                }

                                T Offline
                                T Offline
                                Tieske8
                                wrote on last edited by
                                #17

                                Couldn't agree more. A bad coder will write bad code in C# or any other language as well. It's the coder that makes the difference, not the language. fwiw; I like VB over C#, I hate all the curly braces. Especially when maintaining someoneelses code. I find it far easier to read VB code.

                                Cigarettes are a lot like hamsters. Perfectly harmless, until you put it in your mouth and light it on fire.

                                J Sander RosselS 2 Replies Last reply
                                0
                                • S S Houghtelin

                                  Is there

                                  GoTo

                                  Is there any other way to write that? :laugh:

                                  It was broke, so I fixed it.

                                  R Offline
                                  R Offline
                                  Rob Grainger
                                  wrote on last edited by
                                  #18

                                  In English (as opposed to coding), that's two words.

                                  1 Reply Last reply
                                  0
                                  • M Mycroft Holmes

                                    S Houghtelin wrote:

                                    I still have a spot in my heart for VB 6

                                    Soft spot in the head more likely, while I spent much of the 90s steeped in VB I do prefer C# and I loathe HTML!

                                    Never underestimate the power of human stupidity RAH

                                    R Offline
                                    R Offline
                                    Rob Grainger
                                    wrote on last edited by
                                    #19

                                    Mycroft Holmes wrote:

                                    and I loathe HTML!

                                    You're in good company... Alan Kay Interview with Dr Dobbs[^] "The Browser - A Lament" - even the section title says it all really.

                                    1 Reply Last reply
                                    0
                                    • F Fred Flams

                                      Well, don't listen to all that crap. You can answer to those people that a language is nothing more than a tool to use to build stuff. If they dislike VB, then that's their propblem, not yours. If the job requires to use an old, gnarly and obscure tool (not that's what I think of VB, I used to develop everyday using VB6 and VBScript, and contributed to great apps developped with it and I still nurture a foundness for that good old time :(( ) that they don't know, tell them it is no reason to make fun of you. No on should be laughed at because they did their job as per spec, nobody chooses what they really want to do (not at a corporate level at least, if you are an indie, that an other story). Walk with your head straight and keep your hight esteem of yourself. If you are able to develop in many different languages and they don't, then you're definitely better than them.

                                      R Offline
                                      R Offline
                                      Rob Grainger
                                      wrote on last edited by
                                      #20

                                      At least VB made visual design easy, HTML+JS is still a long way off on that front. I look at classic VB as similar to the position JavaScript is in now. While flawed, it enabled a whole new kind of application development. So many people queue up to knock VB, but just look at the god-awful, copy-and-paste-designed JS lurking behind many a web page and you'll find yourself wishing for a return to simpler days.

                                      1 Reply Last reply
                                      0
                                      • P Pete OHanlon

                                        There is nothing wrong in programming in VB.NET. It's a tool for developing apps with, and there's a lot of elitist claptrap surrounding people's opinions on it. One of the best developers I know wrote a lot of great apps with it. He ended up as a PM at Microsoft.

                                        *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

                                        "Mind bleach! Send me mind bleach!" - Nagy Vilmos

                                        CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

                                        R Offline
                                        R Offline
                                        Rage
                                        wrote on last edited by
                                        #21

                                        Pete O'Hanlon wrote:

                                        He ended up as a PM at Microsoft.

                                        And this is a perfect punishment ! :rolleyes:

                                        ~RaGE();

                                        I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

                                        1 Reply Last reply
                                        0
                                        • V Vasily Tserekh

                                          Now I have to keep a low profile, everyone in my neighbourhood will make fun of me For the record it was project at work and the client asked for that particular language

                                          M Offline
                                          M Offline
                                          Michael Haines
                                          wrote on last edited by
                                          #22

                                          Might I suggest writing your code in C# and then using one of the online converters to create the VB code? "I am rarely happier than when spending entire day programming my computer to perform automatically a task that it would otherwise take me a good ten seconds to do by hand." - Douglas Adams

                                          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