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

    Global variables! Shirley you like global variables!

    OriginalGriffO Offline
    OriginalGriffO Offline
    OriginalGriff
    wrote on last edited by
    #9

    How could they possibly have omitted On Error Resume Next from the C# spec?

    Bad command or file name. Bad, bad command! Sit! Stay! Staaaay... AntiTwitter: @DalekDave is now a follower!

    "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
    "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

    1 Reply Last reply
    0
    • S Slacker007

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

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

      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.

      S K J 3 Replies Last reply
      0
      • C CodeWraith

        Global variables! Shirley you like global variables!

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

        Simple problems should have simple solutions. Complex problems should too.

        1 Reply 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?"

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

          I think everyone thought that at the time.. :) [C Sharp (programming language) - Wikipedia](https://en.wikipedia.org/wiki/C\_Sharp\_(programming\_language)#History)

          Quote:

          James Gosling, who created the Java programming language in 1994, and Bill Joy, a co-founder of Sun Microsystems, the originator of Java, called C# an "imitation" of Java; Gosling further said that "[C# is] sort of Java with reliability, productivity and security deleted."[17][18] Klaus Kreft and Angelika Langer (authors of a C++ streams book) stated in a blog post that "Java and C# are almost identical programming languages.

          Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.

          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.

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

            Medical fact - quitting VB now will greatly increase your lifespan. No citations needed. :-D

            A 1 Reply 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?"

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

              That's what I meant. When they did not want the licenses for J anymore and replaced it with C#, everyone claimed that C# was just a Java clone, totally ignoring that there were plenty of things that went further from the beginning (no primitive data types, a common CLR across .Net languages, properties for objects...)

              J 1 Reply Last reply
              0
              • L Lost User

                [Visual J++ - Wikipedia](https://en.wikipedia.org/wiki/Visual\_J%2B%2B)

                Quote:

                Microsoft later developed the C# ("C Sharp") language as the primary language for the .NET platform, which was in many ways influenced by Java; subsequently the .NET Framework shares many ideas in common with Java. Much like Java, C# is compiled to a type of bytecode (called CIL), and runs on top of a virtual machine called the Common Language Runtime in .NET. Visual Studio 2005 was the last release to include J#.

                Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.

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

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

                L J 2 Replies Last reply
                0
                • S Slacker007

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

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

                  C# is a dialect for the VB7 runtime, known as .NET. It's basicly just basic with some updated syntax, a new name and some marketing.

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

                  S P 2 Replies Last reply
                  0
                  • C CodeWraith

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

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

                    I agree, there was good (and new) stuff from the start - it was kind of like an improved C++/Java language from day one and has evolved from their ever since. J++ had some improvements over Java too, it was just a really poor choice of name that put off both Java and C++ developers from the start.

                    Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.

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

                      K Offline
                      K Offline
                      Kevin Marois
                      wrote on last edited by
                      #18

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

                        C# is a dialect for the VB7 runtime, known as .NET. It's basicly just basic with some updated syntax, a new name and some marketing.

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

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

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

                          I agree, there was good (and new) stuff from the start - it was kind of like an improved C++/Java language from day one and has evolved from their ever since. J++ had some improvements over Java too, it was just a really poor choice of name that put off both Java and C++ developers from the start.

                          Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.

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

                          The improvements on J++ were the reason for abandoning J++. Did they not put Microsoft before the choice of removing them or else losing the license for J++?

                          L 1 Reply Last reply
                          0
                          • C CodeWraith

                            Global variables! Shirley you like global variables!

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

                            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

                            P F S C B 8 Replies Last reply
                            0
                            • C CodeWraith

                              The improvements on J++ were the reason for abandoning J++. Did they not put Microsoft before the choice of removing them or else losing the license for J++?

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

                              It looks like it was more of a legal thing with Sun.. from 2002, [Sun, Microsoft settle Java suit - CNET](https://www.cnet.com/uk/news/sun-microsoft-settle-java-suit/)

                              Quote:

                              A Microsoft representative said the dispute lingered for too long. "We don't think anyone wins, but considering the lawsuit has been ongoing for three years, this is a good conclusion to this controversy," said Microsoft spokesman Jim Cullinan. With the deal struck, Cullinan said Microsoft will be allowed to continue to offer its existing Java products, including its popular J++ development tool, for the next seven years. Microsoft product manager Tony Goodhew said the company will include J++ as a separate CD with the next version of Visual Studio.

                              Now is it bad enough that you let somebody else kick your butts without you trying to do it to each other? Now if we're all talking about the same man, and I think we are... it appears he's got a rather growing collection of our bikes.

                              J S 2 Replies Last reply
                              0
                              • L Lost User

                                C# is a dialect for the VB7 runtime, known as .NET. It's basicly just basic with some updated syntax, a new name and some marketing.

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

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

                                Thems fightin' words...

                                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

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

                                  Arrays in BASIC have always begun at zero... Though not many practitioners are smart enough to realize it.

                                  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

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

                                    Quote:

                                    zero simply does not exist.

                                    I have nothing to say to that! ...or in C#... I have null to say to that! ;P

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

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