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 21 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.
  • K Kevin Marois

    Having properties doesn't mean anything. Other languages have properties. Doesn't mean they're the basis for some other language

    If it's not broken, fix it until it is. Everything makes sense in someone's mind. Ya can't fix stupid.

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

    Unfortunately, people assume that just because something is printed it's truth. I don't think the book author was properly informed or else we're just not hearing the whole story from the book. C# has more Java roots than VB roots.

    Jeremy Falcon

    1 Reply Last reply
    0
    • P peterkmx

      Perhaps Delphi should be mentioned here ... [Anders Hejlsberg - Wikipedia](https://en.wikipedia.org/wiki/Anders\_Hejlsberg) Regards,

      J Offline
      J Offline
      Jose A Pascoa
      wrote on last edited by
      #40

      I just mentioned that, before reading your post.

      P 1 Reply Last reply
      0
      • S Slacker007

        Lopatir wrote:

        zero simply does not exist.

        0 - Wikipedia[^] Zero is a number and makes perfect sense to use it as an index in a collection/array.

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

        Slacker007 wrote:

        makes perfect sense to use it as an index in offset into a collection/array

        FTFY

        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.

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

          This is the truth. C# has a lot of Java influence. Sure it borrows from bits and pieces in places from everywhere, but its main influence is from Java. It was created by Java people. This is the truth. If the book says otherwise it's just wrong. C Sharp (programming language) - Wikipedia[^] Now, where VB comes into play a lot... the VB IDE. When .NET first came out Dev Studio for C++ and Dev Studio VB were two different apps. Entirely different. What Microsoft did at first was take the IDE for VB and use it as the basis for the .NET IDE and tossed the old C++ one out the door. So, it had a VBish feel and inspection on it with tools like Spy++ had VB all over the place with class names, etc. This is not to say C# didn't have "some" VB influences, I'm sure it did. But the truth is, most of it's influence is from Java. And the largest VB knock off I've seen with it was with the IDE itself. My source? About a quarter century of programming stuff. Oh, and if this was a joke, then I completely missed it. :laugh:

          Jeremy Falcon

          Z 1 Reply Last reply
          0
          • S Slacker007

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

            P Offline
            P Offline
            peterkmx
            wrote on last edited by
            #43

            Indeed ... sounds good

            1 Reply Last reply
            0
            • N Nish Nishant

              Well, Java was based off C++ so there's that too.

              Nish Nishant Consultant Software Architect Ganymede Software Solutions LLC www.ganymedesoftwaresolutions.com

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

              And now we've come full circle. :laugh: :laugh: :laugh:

              Jeremy Falcon

              1 Reply Last reply
              0
              • J Jose A Pascoa

                I just mentioned that, before reading your post.

                P Offline
                P Offline
                peterkmx
                wrote on last edited by
                #45

                which means ... we are both correct - that's great :-D Regards,

                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.

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

                  > many of C#’s syntactic constructs are modeled after various aspects of Visual Basic (VB) and C++. "Modeled after" sometimes means "things that were intentionally avoided".

                  Z 1 Reply Last reply
                  0
                  • L Lost User

                    Arrays start at 1 - just like when counting your fingers. C# (C, C++...) messed up, who counts anything from zero? It's unnatural, zero simply does not exist.

                    Sin tack the any key okay

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

                    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 1 Reply Last reply
                    0
                    • J Jeremy Falcon

                      This is the truth. C# has a lot of Java influence. Sure it borrows from bits and pieces in places from everywhere, but its main influence is from Java. It was created by Java people. This is the truth. If the book says otherwise it's just wrong. C Sharp (programming language) - Wikipedia[^] Now, where VB comes into play a lot... the VB IDE. When .NET first came out Dev Studio for C++ and Dev Studio VB were two different apps. Entirely different. What Microsoft did at first was take the IDE for VB and use it as the basis for the .NET IDE and tossed the old C++ one out the door. So, it had a VBish feel and inspection on it with tools like Spy++ had VB all over the place with class names, etc. This is not to say C# didn't have "some" VB influences, I'm sure it did. But the truth is, most of it's influence is from Java. And the largest VB knock off I've seen with it was with the IDE itself. My source? About a quarter century of programming stuff. Oh, and if this was a joke, then I completely missed it. :laugh:

                      Jeremy Falcon

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

                      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 1 Reply Last reply
                      0
                      • D dandy72

                        > many of C#’s syntactic constructs are modeled after various aspects of Visual Basic (VB) and C++. "Modeled after" sometimes means "things that were intentionally avoided".

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

                        Could be. :-D

                        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
                        • C CodeWraith

                          Who cares as long as they don't model anything after time honored VB practices. Variants, anybody?

                          C Offline
                          C Offline
                          Chris Losinger
                          wrote on last edited by
                          #50

                          CodeWraith wrote:

                          Variants, anybody?

                          they're called "var", in C#

                          image processing toolkits | batch image processing

                          C Richard DeemingR 2 Replies 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.

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