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. It's Official

It's Official

Scheduled Pinned Locked Moved The Lounge
52 Posts 20 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.
  • C Christian Graus

    Pointers are almost never used in C#, but the concept is really very simple, compared to what they could be used for in C++. My point was that whatever you're used to, is not screwy. C# makes perfect sense to me, VB does not.

    Christian Graus Driven to the arms of OSX by Vista.

    P Offline
    P Offline
    Paul Conrad
    wrote on last edited by
    #35

    Christian Graus wrote:

    C# makes perfect sense to me, VB does not.

    Out of curiosity, what part of the VB syntax does not make sense? I am not too sure about the whole With .... End With bit, and sometimes my students have trouble with it. If there's one thing in the VB syntax I'd get rid of, that would be it.

    "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

    1 Reply Last reply
    0
    • P Paul Conrad

      gajatko wrote:

      So I cannot "name a few" habits

      You can't name any specific bad habit?

      gajatko wrote:

      I can point at bad VB projects

      Like-wise for any programming language out there. My point is not to blame the language but the person using the language. I've seen good, elegant code written in VB.NET, C#, PHP, Java, and likewise just as bad of code written in the same said languages by some clown who picked up a for dummies style book and tries to be a programmer overnight.

      "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

      R Offline
      R Offline
      Rama Krishna Vavilala
      wrote on last edited by
      #36

      I agree. In my case one of the best code/design I have seen has been in VB6. Why? Because the programmer who did it was very good and believed in programming into teh language not program in a language.

      Proud to be a CPHog user

      P 1 Reply Last reply
      0
      • P Paul Conrad

        Mycroft Holmes wrote:

        C64 doesn't count

        Hey, hey, hey, Commodore Basic was fine for its time :laugh:

        "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

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

        Sure but mixing up the tapes really pissed me off.

        Never underestimate the power of human stupidity RAH

        1 Reply Last reply
        0
        • M Mycroft Holmes

          Nah, your'e all just a bunch on evangellical language bigots. If we all used the same language there wouldn't be anyone for you to belittle and how boring would that be? What got up your nose recently that you had to pen your irritation with VB?

          Never underestimate the power of human stupidity RAH

          P Offline
          P Offline
          Paul Conrad
          wrote on last edited by
          #38

          Mycroft Holmes wrote:

          What got up your nose recently that you had to pen your irritation with VB?

          I think it stems from an article done in VB.NET that he was trying to convert the code to C#, and was ranting about the author and his programming practices.

          "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

          M 1 Reply Last reply
          0
          • T thrakazog

            I try do avoid VB now days. But I really do miss how they handled the Select statement and case insensitive/auto correcting variables and keywords. C# aggravates the hell out of me with the prehistoric Switch statement and case sensitivity.

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

            Case sensitivity - you just nailed the reason I took so long to start using C#, what a really f@#cking stupid idea. And not sticking the (); on the end of a statement, what you want me to type!

            Never underestimate the power of human stupidity RAH

            1 Reply Last reply
            0
            • P Paul Conrad

              Mycroft Holmes wrote:

              What got up your nose recently that you had to pen your irritation with VB?

              I think it stems from an article done in VB.NET that he was trying to convert the code to C#, and was ranting about the author and his programming practices.

              "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

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

              Bloody hell, I hope it wasn't mine although I guess the author has already had an earfull from him.

              Never underestimate the power of human stupidity RAH

              P R 2 Replies Last reply
              0
              • R realJSOP

                I hate Visual Basic in all of its forms, and consider that anyone calling themselves a proponent of the language must have the intellect of a two-slice toaster.

                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                -----
                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                D Offline
                D Offline
                DaveX86
                wrote on last edited by
                #41

                'There are many copies...and they have a plan'

                1 Reply Last reply
                0
                • R realJSOP

                  I hate Visual Basic in all of its forms, and consider that anyone calling themselves a proponent of the language must have the intellect of a two-slice toaster.

                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                  -----
                  "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                  H Offline
                  H Offline
                  Henry Minute
                  wrote on last edited by
                  #42

                  If Not VB Is Nothing Then What Is End If

                  Henry Minute Never read Medical books. You could die of a misprint. - Mark Twain

                  1 Reply Last reply
                  0
                  • M Mycroft Holmes

                    Bloody hell, I hope it wasn't mine although I guess the author has already had an earfull from him.

                    Never underestimate the power of human stupidity RAH

                    P Offline
                    P Offline
                    Paul Conrad
                    wrote on last edited by
                    #43

                    It was this article[^]...

                    "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

                    M 1 Reply Last reply
                    0
                    • R Rama Krishna Vavilala

                      I agree. In my case one of the best code/design I have seen has been in VB6. Why? Because the programmer who did it was very good and believed in programming into teh language not program in a language.

                      Proud to be a CPHog user

                      P Offline
                      P Offline
                      Paul Conrad
                      wrote on last edited by
                      #44

                      One shop I worked at several years ago, did their VB6 coding quite well and that was due to strict in-house coding policies.

                      "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

                      1 Reply Last reply
                      0
                      • P Paul Conrad

                        It was this article[^]...

                        "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

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

                        apparently his coding is no better than his form design and colour selection!

                        Never underestimate the power of human stupidity RAH

                        P 1 Reply Last reply
                        0
                        • M Mycroft Holmes

                          apparently his coding is no better than his form design and colour selection!

                          Never underestimate the power of human stupidity RAH

                          P Offline
                          P Offline
                          Paul Conrad
                          wrote on last edited by
                          #46

                          Yep. I actually recall giving the guy a decent vote based more on concept than UI/code cosmetics. I must've had a few :beer:s that day when I voted it a five :rolleyes: :laugh: Beer, helping ugly GUI look better since {put-any-year-you-want-here}

                          "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

                          1 Reply Last reply
                          0
                          • R realJSOP

                            I hate Visual Basic in all of its forms, and consider that anyone calling themselves a proponent of the language must have the intellect of a two-slice toaster.

                            "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                            -----
                            "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                            N Offline
                            N Offline
                            NatoObserver
                            wrote on last edited by
                            #47

                            VB the curse of windows programming, I consider users of VB, non-programmers.

                            1 Reply Last reply
                            0
                            • P Paul Conrad

                              John Simmons / outlaw programmer wrote:

                              it's a fact that VB instills bad programming habits

                              Name a few...

                              "The clue train passed his station without stopping." - John Simmons / outlaw programmer "Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon "Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham

                              R Offline
                              R Offline
                              realJSOP
                              wrote on last edited by
                              #48

                              I can only point at one VB app and shout OMFG! You can deduce the rest.

                              "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                              -----
                              "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                              1 Reply Last reply
                              0
                              • M Mycroft Holmes

                                Bloody hell, I hope it wasn't mine although I guess the author has already had an earfull from him.

                                Never underestimate the power of human stupidity RAH

                                R Offline
                                R Offline
                                realJSOP
                                wrote on last edited by
                                #49

                                No, it wasn't one of yours. Normally, I would look elsewhere if converting from VB was the only way to get the code in a format I want, but like I told the author, the code works well, but his programming practices suck. Consider that the vast majority of people here that code in .Net do so using C#. If I was a VB programmer and knew that, I'd certainly take steps to make the conversion a little less painful, especially when we're talking almost 5000 lines of code that have to be gone through one line at a time. Sure, the Quick Replace function in the IDE takes care of some stuff, but you STILL have to go back through the code and make sure everything is converted correctly. At the outset, I'm fairly annoyed that I have to convert the code. Add to that the veritable complete lack of comments, giving variables the same name as the type they represent (I HATE that), and the realization that he could have made it easier to convert with little effort, and I'm edging toward full-on pissed off. I spent all day on it yesterday, and I'm only about halfway through with the initial conversion. I'll probably be working on this until lunch on Wednesday.

                                "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                -----
                                "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                M 1 Reply Last reply
                                0
                                • R realJSOP

                                  I hate Visual Basic in all of its forms, and consider that anyone calling themselves a proponent of the language must have the intellect of a two-slice toaster.

                                  "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                  -----
                                  "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                  P Offline
                                  P Offline
                                  peterchen
                                  wrote on last edited by
                                  #50

                                  John Simmons / outlaw programmer wrote:

                                  forms

                                  pun! :D

                                  Burning Chrome ^ | Linkify!| FoldWithUs! | sighist

                                  1 Reply Last reply
                                  0
                                  • R realJSOP

                                    No, it wasn't one of yours. Normally, I would look elsewhere if converting from VB was the only way to get the code in a format I want, but like I told the author, the code works well, but his programming practices suck. Consider that the vast majority of people here that code in .Net do so using C#. If I was a VB programmer and knew that, I'd certainly take steps to make the conversion a little less painful, especially when we're talking almost 5000 lines of code that have to be gone through one line at a time. Sure, the Quick Replace function in the IDE takes care of some stuff, but you STILL have to go back through the code and make sure everything is converted correctly. At the outset, I'm fairly annoyed that I have to convert the code. Add to that the veritable complete lack of comments, giving variables the same name as the type they represent (I HATE that), and the realization that he could have made it easier to convert with little effort, and I'm edging toward full-on pissed off. I spent all day on it yesterday, and I'm only about halfway through with the initial conversion. I'll probably be working on this until lunch on Wednesday.

                                    "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                    -----
                                    "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

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

                                    John Simmons / outlaw programmer wrote:

                                    I'd certainly take steps to make the conversion a little less painful

                                    Now there is you mistake, I (as a VB dev) would not consider the conversion aspect of the code when doing an article nor would I change my coding style to make it easier. Mind you I actually have a style and stick to it in VB. I am yet to settle on one in C# (part of the cross training process I guess) His article code was reasonably commented, I did not download the source. I one had someone use "date" in an enum and could not work out why my dates turned to 2 X|. So by now you should be in quite a snit having spent most of a second day on it. Hope it works Ok now go and enjoy a couple of quiet ales afterwards.

                                    Never underestimate the power of human stupidity RAH

                                    1 Reply Last reply
                                    0
                                    • R realJSOP

                                      I hate Visual Basic in all of its forms, and consider that anyone calling themselves a proponent of the language must have the intellect of a two-slice toaster.

                                      "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                                      -----
                                      "...the staggering layers of obscenity in your statement make it a work of art on so many levels." - Jason Jystad, 10/26/2001

                                      S Offline
                                      S Offline
                                      Scott Barbour
                                      wrote on last edited by
                                      #52

                                      While I am a VB programmer myself, I have to admit that there are dim-witted people who claim to have a firm grasp on the language. I had the pleasure yesterday of watching someone with the title of "Sr. Customer Technology Consultant" for a major US shipping company attempt to modify some VBA code on our shipping terminal. I could have easily done it in about 10-20 minutes, but she had to make at least three phone calls to other programmers at the company, all of whom opened remote sessions to the machine to attempt to change the code. To top it off, they broke another function that is critical to our needs. I don't consider myself to be a great programmer, but perhaps I should apply there... "In the land of the blind, the one-eyed man is king." Oh, and what would have taken me 10-20 minutes at most, took at least 4 "programmers" 3 hours to do half-assed.

                                      I don't claim to be a know it all, for I know that I am not...

                                      I usually have an answer though.

                                      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