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

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

    W Offline
    W Offline
    W Balboos GHB
    wrote on last edited by
    #26

    Well - maybe because: what was Java modeled after ?

    Ravings en masse^

    "The difference between genius and stupidity is that genius has its limits." - Albert Einstein

    "If you are searching for perfection in others, then you seek disappointment. If you are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010

    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.

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

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

      S J G B 4 Replies 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

        S Offline
        S Offline
        Slacker007
        wrote on last edited by
        #28

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

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

          S Offline
          S Offline
          Slacker007
          wrote on last edited by
          #29

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

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

            R Offline
            R Offline
            RickZeeland
            wrote on last edited by
            #30

            Hear, hear !

            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.

              C Offline
              C Offline
              Clifford Nelson
              wrote on last edited by
              #31

              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 B K 3 Replies Last reply
              0
              • S Slacker007

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

                N Offline
                N Offline
                Nish Nishant
                wrote on last edited by
                #32

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

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

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