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

                  K Offline
                  K Offline
                  Kwazai
                  wrote on last edited by
                  #23

                  whole lot better than basicA... I like the easy access widgets and with dotnet you could always code alongside it in fortran(F#?). L8r

                  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

                    C Offline
                    C Offline
                    ClockMeister
                    wrote on last edited by
                    #24

                    The payroll rules engine I have is written in VB.Net. A few hundred thousand people from California to Puerto Rico get their paychecks as a result of that code. I don't think any of them care that it's written in VB.Net, do you? No apologies necessary and you don't have to keep a "low" profile. Code away pal! -CB

                    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

                      E Offline
                      E Offline
                      ed5756
                      wrote on last edited by
                      #25

                      Ah, I always enjoy another VB vs. C# discussion. As Woody Allen in one of his movies remembered his dad bickering with his mom, "OK! Have it it your way! The Atlantic Ocean is better than the Pacific!" As a programmer who cut his teeth on Fortran in the sixties, I have a number of languages under my belt, including the various dialects of C. My favorite was Pascal - now there was a readable language. I admit to having become a lazy man in my dotage. In these modern times I gravitate to VB.NET. My.Computer sure is handy! Yes, I run into incredulity and condescension from the young professional IT types (whippersnappers!), but the fact is the results are the same with either language and are not improved by curly brackets, no matter how many.

                      Ed Greenawald

                      1 Reply Last reply
                      0
                      • T Tieske8

                        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 Offline
                        J Offline
                        James Plotts
                        wrote on last edited by
                        #26

                        Exactly. I can speed read VB.

                        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

                          S Offline
                          S Offline
                          sir_download_alot
                          wrote on last edited by
                          #27

                          Nothing wrong with that! I even do maintenance on VB6 programs and VBA stuff (mainly in Excel)! Why? It works and nobody wants to spend a single buck more then absolutely needed. Just funny the client asked for a particular language!? "We don't have any business requirements yet and actually we are not sure what we want at all but it has to be written in VB.NET". Reminds my of some business departments in our company :laugh:

                          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

                            A Offline
                            A Offline
                            AdamNThompson
                            wrote on last edited by
                            #28

                            What do VB.NET and fat girls have in common? Just kidding.. If your any good at C# within a day or two you'll be cranking out VB.NET code like it's nothing. It's not a bad language at all, though it's a little verbose in my opinion. At the end of the day your writing against the same .NET framework you already know.

                            -Adam N. Thompson adam-thompson.com

                            1 Reply Last reply
                            0
                            • T Tieske8

                              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.

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

                              Yeah, I've seen recent C# code that will put shame to bad 90's VB code :sigh: I've also seen quite some bad VB code. Then again, I've seen bad English and bad Dutch... It's the skill of the programmer that matters, not the language (although having Option Strict Off by default is inviting people to write bad code in VB :sigh: ). I'm as proficient in C# as I am in VB, though I prefer the latter to read and write (if done well) :)

                              It's an OO world.

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

                              1 Reply Last reply
                              0
                              • A AspDotNetDev

                                GoSub? :rolleyes:

                                Thou mewling ill-breeding pignut!

                                A Offline
                                A Offline
                                Alan Burkhart
                                wrote on last edited by
                                #30

                                Don't forget

                                If blah blah Then GoSub

                                ... I worked as a developer back in the 80s (dBaseII, Lotus 123 macros, Wang Glossaries and MS Basic). But my toy at home was a TI-994a. I still have the old manual for TI Basic as a keepsake. When I left the depravity of office environments behind I didn't lose my love for coding, and I just sort of stuck with Basic. It's more intuitive (for me) than any other language I've ever tried. If you want to try something truly bizarre, download Presentation Wizard[^] and try AM's A.N.I.M.A.L. programming language. It's not overly complicated but the syntax is backasswards from anything else I've ever tried.

                                XAlan Burkhart

                                1 Reply Last reply
                                0
                                • P pt1401

                                  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 Offline
                                  A Offline
                                  Alan Burkhart
                                  wrote on last edited by
                                  #31

                                  :thumbsup:

                                  XAlan Burkhart

                                  1 Reply Last reply
                                  0
                                  • L ljw1004

                                    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 Offline
                                    M Offline
                                    mlouns
                                    wrote on last edited by
                                    #32

                                    As the announcer from NBA Jams you to say... "Boom shakka-lakka". Point, set, match.

                                    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