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

    Eddy Vluggen wrote:

    VB7 runtime, known as .NET.

    Sorry, I can't find anything to support this statement. Care to share a link or two. Thanks.

    L Offline
    L Offline
    Lost User
    wrote on last edited by
    #33

    No, I don't care :) There was this quote saying "we needed another curly braces language" at the introduction of C#, which coincided with the release of the renamed VB7. VB6 already introduced compiling to P-code, a runtime/framework that needed be installed. Also take into account that C# code can be automatically translated (search & replace-kind of simple) to VB. C# is nothing more than a cleaned up VB6.

    Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

    1 Reply Last reply
    0
    • S Slacker007

      Funny, C# was modeled mostly after Java and C++, but no one ever mentions the Java part.

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

      Agreed. I heard through the grapevine that MS even hired some top Java guys to help design C#. Never heard of the VB thing. Methinks its the author's wishful thinking.

      Jeremy Falcon

      1 Reply Last reply
      0
      • C CodeWraith

        Sure, but even C# 1.0 took some things further than Java did at that time.

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

        Yeah, but the point is, it was based on Java. Way more than VB. I think that book author is just biased. I don't have citations, but I always heard that even MS hired some top Java guys to help with the initial design of C#. As much as we love to hate Java, we still have it thank for what we use.

        Jeremy Falcon

        L K 2 Replies Last reply
        0
        • P PIEBALDconsult

          Not a citation, but... When I first read the C# spec in 1999, someone asked me, "isn't that just Microsoft Java?"

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

          It was. I think the book author is misinformed. Unfortunately people assume that just because something is printed its always correct.

          Jeremy Falcon

          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
            Jose A Pascoa
            wrote on last edited by
            #37

            Anders Hejlsberg came from Borland/Delphi/Pascal to Microsoft to develop C#. The idea was to sunk Delphi, the only real competitor in the RAD arena. Well, they almost did.

            1 Reply Last reply
            0
            • Z ZurdoDev

              Slacker007 wrote:

              C# was modeled mostly after Java and C++

              Says you. :-D Here is another quote from a few pages later:

              Quote:

              Because C# is a hybrid of numerous languages, the result is a product that is as syntactically clean (if not cleaner) as Java, is about as simple as VB, and provides just about as much power and flexibility as C + +. TROELSEN, ANDREW; Japikse, Philip. C# 6.0 and the .NET 4.6 Framework (Kindle Locations 3129-3131). Apress. Kindle Edition.

              And

              Quote:

              For example, like VB, C# supports the notion of class properties (as opposed to traditional getter and setter methods) and optional parameters. TROELSEN, ANDREW; Japikse, Philip. C# 6.0 and the .NET 4.6 Framework (Kindle Locations 3124-3125). 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
              #38

              I don't think the book author is properly informed. Just because its printed material doesn't make it accurate. C# has a lot of Java roots.[^]

              Jeremy Falcon

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