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. VB haters, look away

VB haters, look away

Scheduled Pinned Locked Moved The Lounge
csharpc++rubylearning
138 Posts 40 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.
  • Z ZurdoDev

    I'm reading a C# book that was recommended on here recently and found this gem in the beginning.

    Quote:

    The truth of the matter is that many of C#’s syntactic constructs are modeled after various aspects of Visual Basic (VB) and C++. TROELSEN, ANDREW; Japikse, Philip. C# 6.0 and the .NET 4.6 Framework (Kindle Locations 3123-3124). Apress. Kindle Edition.

    :-\

    There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

    M Offline
    M Offline
    Marc Clifton
    wrote on last edited by
    #51

    RyanDev wrote:

    and found this gem in the beginning.

    That sounds like Veritable Bull**** ;) Marc

    Latest Article - Create a Dockerized Python Fiddle Web App Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

    J 1 Reply Last reply
    0
    • C CodeWraith

      Lopatir wrote:

      C# (C, C++...) messed up, who counts anything from zero? It's unnatural, zero simply does not exist.

      Uhm, no. The understanding of the number zero was one of the most important discoveries to get mathmatics on the way and that was thousands of years ago. It's not at all as insignificant as you think. Except for BASIC fans, of course. :-) Then, you are confusing an index with counting. As any machine code or assembly programmer can tell you, you must address the first value in an array at BaseAddress + 0, and the nth value at BaseAddress + ((n-1) * sizeof(type)), or short: The index for the nth element always is (n-1). Except for BASIC fans, of course. :-)

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

      CodeWraith wrote:

      Except for BASIC fans, of course.

      Some of whom refuse to acknowledge the existence of the zeroth element in their arrays even though it sits there sadly awaiting a value that will never arrive. :^)

      C 1 Reply Last reply
      0
      • C Clifford Nelson

        Was happy that they finally updated the switch in C# to have be as flexible as the Visual Basic Select Case. Waited a long time for that one.

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

        I disagree.

        R 1 Reply Last reply
        0
        • C Chris Losinger

          CodeWraith wrote:

          Variants, anybody?

          they're called "var", in C#

          image processing toolkits | batch image processing

          C Offline
          C Offline
          CodeWraith
          wrote on last edited by
          #54

          They are not the same thing, but I still don't like them at all. I prefer code that's readable without the help of costly tools like Visual Studio or Intellisense.

          P F 2 Replies Last reply
          0
          • P PIEBALDconsult

            CodeWraith wrote:

            Except for BASIC fans, of course.

            Some of whom refuse to acknowledge the existence of the zeroth element in their arrays even though it sits there sadly awaiting a value that will never arrive. :^)

            C Offline
            C Offline
            CodeWraith
            wrote on last edited by
            #55

            Indexing != counting, no discussion there. I assume that BASIC interpreters and compilers automatically adjusted the index. especially in the days of 8 bit computers they had no memory to waste.

            P 1 Reply Last reply
            0
            • Z ZurdoDev

              Jeremy Falcon wrote:

              C# has a lot of Java influence.

              Never implied otherwise. But you don't seem to be the only one taking it that way. If you look closely at what the book says, it reads "many of C#’s syntactic constructs" come from VB influence. Not that the entire language does.

              Jeremy Falcon wrote:

              if this was a joke,

              No, but I think some of you are hastily reading the message. :)

              There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

              J Offline
              J Offline
              Jeremy Falcon
              wrote on last edited by
              #56

              RyanDev wrote:

              No, but I think some of you are hastily reading the message.

              It's how we roll up in this joint. :laugh: :laugh: :laugh:

              Jeremy Falcon

              Z 1 Reply Last reply
              0
              • M Marc Clifton

                RyanDev wrote:

                and found this gem in the beginning.

                That sounds like Veritable Bull**** ;) Marc

                Latest Article - Create a Dockerized Python Fiddle Web App Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802

                J Offline
                J Offline
                Jeremy Falcon
                wrote on last edited by
                #57

                Oh, such a Voracious Bite you have there mister. I like it.

                Jeremy Falcon

                1 Reply Last reply
                0
                • J Jeremy Falcon

                  RyanDev wrote:

                  No, but I think some of you are hastily reading the message.

                  It's how we roll up in this joint. :laugh: :laugh: :laugh:

                  Jeremy Falcon

                  Z Offline
                  Z Offline
                  ZurdoDev
                  wrote on last edited by
                  #58

                  Indeed. :thumbsup:

                  There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

                  1 Reply Last reply
                  0
                  • Z ZurdoDev

                    I'm reading a C# book that was recommended on here recently and found this gem in the beginning.

                    Quote:

                    The truth of the matter is that many of C#’s syntactic constructs are modeled after various aspects of Visual Basic (VB) and C++. TROELSEN, ANDREW; Japikse, Philip. C# 6.0 and the .NET 4.6 Framework (Kindle Locations 3123-3124). Apress. Kindle Edition.

                    :-\

                    There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

                    K Offline
                    K Offline
                    KarstenK
                    wrote on last edited by
                    #59

                    I rescued a VB 6.0 book from the garbage to enlight myself in the depth of this "zombie language" :suss:

                    Press F1 for help or google it. Greetings from Germany

                    1 Reply Last reply
                    0
                    • Z ZurdoDev

                      I'm reading a C# book that was recommended on here recently and found this gem in the beginning.

                      Quote:

                      The truth of the matter is that many of C#’s syntactic constructs are modeled after various aspects of Visual Basic (VB) and C++. TROELSEN, ANDREW; Japikse, Philip. C# 6.0 and the .NET 4.6 Framework (Kindle Locations 3123-3124). Apress. Kindle Edition.

                      :-\

                      There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

                      T Offline
                      T Offline
                      theoldfool
                      wrote on last edited by
                      #60

                      VB Love is easily cured. In fact, it usually passes shortly after puberty. :cool:

                      Arguing with a woman is like reading the Software License Agreement. In the end, you ignore everything and click "I agree". Anonymous

                      D 1 Reply Last reply
                      0
                      • Z ZurdoDev

                        I'm reading a C# book that was recommended on here recently and found this gem in the beginning.

                        Quote:

                        The truth of the matter is that many of C#’s syntactic constructs are modeled after various aspects of Visual Basic (VB) and C++. TROELSEN, ANDREW; Japikse, Philip. C# 6.0 and the .NET 4.6 Framework (Kindle Locations 3123-3124). Apress. Kindle Edition.

                        :-\

                        There are two kinds of people in the world: those who can extrapolate from incomplete data. There are only 10 types of people in the world, those who understand binary and those who don't.

                        R Offline
                        R Offline
                        RedDk
                        wrote on last edited by
                        #61

                        Ok. Lemme gat back to you in two six 62.5 hours. Right. (Click) [chirp chirp chirp chirp ...] [edit] (Sorry, miscalculation) (bigger miscalculation (calculator in HEX mode)) [end edit]

                        1 Reply Last reply
                        0
                        • P PIEBALDconsult

                          I disagree.

                          R Offline
                          R Offline
                          Rainbird Developer
                          wrote on last edited by
                          #62

                          Well your certainly have the right to not use the new features. How about something about why you do not like the changes to the switch statement.

                          1 Reply Last reply
                          0
                          • T theoldfool

                            VB Love is easily cured. In fact, it usually passes shortly after puberty. :cool:

                            Arguing with a woman is like reading the Software License Agreement. In the end, you ignore everything and click "I agree". Anonymous

                            D Offline
                            D Offline
                            dandy72
                            wrote on last edited by
                            #63

                            If only. Unfortunately, for some people, it's a life-long affliction.

                            1 Reply Last reply
                            0
                            • C CodeWraith

                              Indexing != counting, no discussion there. I assume that BASIC interpreters and compilers automatically adjusted the index. especially in the days of 8 bit computers they had no memory to waste.

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

                              Have you read the original 1964 spec of BASIC?

                              C 1 Reply Last reply
                              0
                              • C CodeWraith

                                They are not the same thing, but I still don't like them at all. I prefer code that's readable without the help of costly tools like Visual Studio or Intellisense.

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

                                Hear hear!

                                1 Reply Last reply
                                0
                                • S Slacker007

                                  Now we must talk about the Oracle at Delphi. Sheesh.... :)

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

                                  I'm just glad Delphi wasn't at (from) Oracle.

                                  1 Reply Last reply
                                  0
                                  • C CodeWraith

                                    They are not the same thing, but I still don't like them at all. I prefer code that's readable without the help of costly tools like Visual Studio or Intellisense.

                                    F Offline
                                    F Offline
                                    Forogar
                                    wrote on last edited by
                                    #67

                                    Quote:

                                    costly tools like Visual Studio or Intellisense.

                                    I use the community edition of VS 2015 at home for free and it has intellisense built it for free. Did I mention it was free? Not costly at all.

                                    - I would love to change the world, but they won’t give me the source code.

                                    C 1 Reply Last reply
                                    0
                                    • P PIEBALDconsult

                                      Have you read the original 1964 spec of BASIC?

                                      C Offline
                                      C Offline
                                      CodeWraith
                                      wrote on last edited by
                                      #68

                                      Was there a formal spec back then or has it been written afterwards as for most languages of that time?

                                      P 1 Reply Last reply
                                      0
                                      • C Chris Losinger

                                        CodeWraith wrote:

                                        Variants, anybody?

                                        they're called "var", in C#

                                        image processing toolkits | batch image processing

                                        Richard DeemingR Offline
                                        Richard DeemingR Offline
                                        Richard Deeming
                                        wrote on last edited by
                                        #69

                                        No, they're called dynamic in C#. ;P Using var, your variable is still strongly-typed; you're just letting the compiler work out what that type is.


                                        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                                        "These people looked deep within my soul and assigned me a number based on the order in which I joined" - Homer

                                        1 Reply Last reply
                                        0
                                        • F Forogar

                                          Quote:

                                          costly tools like Visual Studio or Intellisense.

                                          I use the community edition of VS 2015 at home for free and it has intellisense built it for free. Did I mention it was free? Not costly at all.

                                          - I would love to change the world, but they won’t give me the source code.

                                          C Offline
                                          C Offline
                                          CodeWraith
                                          wrote on last edited by
                                          #70

                                          Don't call Rome just yet. The Microsofties may all be absolutely selfless may have performed enough miracles, but they have to be dead to be made saints by the Pope. Personally, I have already moved on and would not want to invest any time or money in Microsoft anymore. There are far more interesting things to do than keeping up with their escapades.

                                          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