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. Programming's Foul Language

Programming's Foul Language

Scheduled Pinned Locked Moved The Lounge
tutorialquestion
111 Posts 61 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.
  • M Mustafa Ismail Mustafa

    Throws, as in the Java notation :thumbsdown:

    If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?

    P Offline
    P Offline
    Pete OHanlon
    wrote on last edited by
    #9

    Ooh yes - definitely. I completely forgot that.

    "WPF has many lovers. It's a veritable porn star!" - Josh Smith

    As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

    My blog | My articles | MoXAML PowerToys | Onyx

    1 Reply Last reply
    0
    • J Jim Crafton

      The entire Visual Basic syntax.

      ¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow

      I Offline
      I Offline
      Ian Shlasko
      wrote on last edited by
      #10

      Hey, VB has one remaining virtue... Optional/Named parameters... C# doesn't get 'em until .NET 4.0

      Proud to have finally moved to the A-Ark. Which one are you in? Developer, Author (Guardians of Xen)

      P 1 Reply Last reply
      0
      • T Todd Smith

        What programming terms would you consider equivalent to foul language? For example: Legacy Code

        Todd Smith

        0 Offline
        0 Offline
        0x3c0
        wrote on last edited by
        #11

        Variant. dynamic. IUnknown.

        Between the motion And the act Falls the Shadow

        P 1 Reply Last reply
        0
        • I Ian Shlasko

          Hey, VB has one remaining virtue... Optional/Named parameters... C# doesn't get 'em until .NET 4.0

          Proud to have finally moved to the A-Ark. Which one are you in? Developer, Author (Guardians of Xen)

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #12

          Actually, I'd rather like the with statement as well.

          "WPF has many lovers. It's a veritable porn star!" - Josh Smith

          As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

          My blog | My articles | MoXAML PowerToys | Onyx

          I P B 3 Replies Last reply
          0
          • 0 0x3c0

            Variant. dynamic. IUnknown.

            Between the motion And the act Falls the Shadow

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #13

            IUnkown was fine - it was IQueryInterface that introduced all the problems. ;P

            "WPF has many lovers. It's a veritable porn star!" - Josh Smith

            As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

            My blog | My articles | MoXAML PowerToys | Onyx

            J 1 Reply Last reply
            0
            • P Pete OHanlon

              Actually, I'd rather like the with statement as well.

              "WPF has many lovers. It's a veritable porn star!" - Josh Smith

              As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

              My blog | My articles | MoXAML PowerToys | Onyx

              I Offline
              I Offline
              Ian Shlasko
              wrote on last edited by
              #14

              Oh right... Good point. Let's steal that for C# too.

              Proud to have finally moved to the A-Ark. Which one are you in? Developer, Author (Guardians of Xen)

              R 1 Reply Last reply
              0
              • M Mustafa Ismail Mustafa

                Throws, as in the Java notation :thumbsdown:

                If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?

                M Offline
                M Offline
                Mark_Wallace
                wrote on last edited by
                #15

                Mustafa Ismail Mustafa wrote:

                Throws, as in the Anything in Java notation

                IFYPFY

                I wanna be a eunuchs developer! Pass me a bread knife!

                M 1 Reply Last reply
                0
                • T Todd Smith

                  What programming terms would you consider equivalent to foul language? For example: Legacy Code

                  Todd Smith

                  T Offline
                  T Offline
                  TommyTomToms
                  wrote on last edited by
                  #16

                  "Brain F$%k" is pretty foul [^]

                  D 1 Reply Last reply
                  0
                  • M Mark_Wallace

                    Mustafa Ismail Mustafa wrote:

                    Throws, as in the Anything in Java notation

                    IFYPFY

                    I wanna be a eunuchs developer! Pass me a bread knife!

                    M Offline
                    M Offline
                    Mustafa Ismail Mustafa
                    wrote on last edited by
                    #17

                    Quite true.

                    Mark Wallace wrote:

                    I wanna be a eunuchs developer! Pass me a bread knife!

                    EVERY time I read your signature, I cringe :shudder: It is funny though :)

                    If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?

                    M 1 Reply Last reply
                    0
                    • T Todd Smith

                      What programming terms would you consider equivalent to foul language? For example: Legacy Code

                      Todd Smith

                      D Offline
                      D Offline
                      Dalek Dave
                      wrote on last edited by
                      #18

                      COBOL!

                      ------------------------------------ "When Belly Full, Chin Hit Chest" Confucius 502BC

                      J 1 Reply Last reply
                      0
                      • I Ian Shlasko

                        DBNull.Value

                        Proud to have finally moved to the A-Ark. Which one are you in? Developer, Author (Guardians of Xen)

                        M Offline
                        M Offline
                        Mustafa Ismail Mustafa
                        wrote on last edited by
                        #19

                        Right?! I'm sick and tired of that silly thing, why by the most nebulous star shine weren't they able to make it equal to DBNull or just plain null?!

                        If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?

                        1 Reply Last reply
                        0
                        • I Ian Shlasko

                          Oh right... Good point. Let's steal that for C# too.

                          Proud to have finally moved to the A-Ark. Which one are you in? Developer, Author (Guardians of Xen)

                          R Offline
                          R Offline
                          Rob Graham
                          wrote on last edited by
                          #20

                          Next you'll be wanting to drop the semicolon and case sensitivity.

                          I Y 2 Replies Last reply
                          0
                          • P Pete OHanlon

                            Actually, I'd rather like the with statement as well.

                            "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                            As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                            My blog | My articles | MoXAML PowerToys | Onyx

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

                            No! The only time I've wanted something like that was when trying to copy values from one instance(?) to another A.X = B.X and with only saves typing one of the names, I'd want to save both with ( A , B ) X = X (or something)

                            P 1 Reply Last reply
                            0
                            • T Todd Smith

                              What programming terms would you consider equivalent to foul language? For example: Legacy Code

                              Todd Smith

                              H Offline
                              H Offline
                              Henry Minute
                              wrote on last edited by
                              #22

                              APL. RPG. Java.

                              Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

                              1 Reply Last reply
                              0
                              • T TommyTomToms

                                "Brain F$%k" is pretty foul [^]

                                D Offline
                                D Offline
                                Dan Neely
                                wrote on last edited by
                                #23

                                BF doesn't hold a candle to Malbolge[^] for horror. "Malbolge was so difficult to understand when it arrived that it took two years for the first Malbolge program to appear. The program was not even written by a human being: it was generated by a beam search algorithm designed by Andrew Cooke and implemented in Lisp." "it took many years before the first non-terminating one was introduced. A correct 99 Bottles of Beer program, which deals with non-trivial loops and conditions, was not announced for eight years; the first correct one was by Hisashi Iizawa in 2007." (this isn't talking about adding a language feature; this is just figuring out how to do it in the existing malbolge language.)

                                The European Way of War: Blow your own continent up. The American Way of War: Go over and help them.

                                T 1 Reply Last reply
                                0
                                • R Rob Graham

                                  Next you'll be wanting to drop the semicolon and case sensitivity.

                                  I Offline
                                  I Offline
                                  Ian Shlasko
                                  wrote on last edited by
                                  #24

                                  Drop the semi-colon? And be forced _ to resort to VB's _ horrible style of _ line continuations!?!? No thanks. Though the case sensitivity... I wouldn't have to deal with code where people name the private variables the same as the exposed properties, with just case differences... Or better yet, gems like:

                                  int num = Num + NUM;

                                  Thankfully, I've never actually seen a line that bad, but imagine a program written like that... There's something you can't do in VB.

                                  Proud to have finally moved to the A-Ark. Which one are you in? Developer, Author (Guardians of Xen)

                                  C S E 3 Replies Last reply
                                  0
                                  • T Todd Smith

                                    What programming terms would you consider equivalent to foul language? For example: Legacy Code

                                    Todd Smith

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

                                    Extension Method.

                                    B 1 Reply Last reply
                                    0
                                    • P PIEBALDconsult

                                      No! The only time I've wanted something like that was when trying to copy values from one instance(?) to another A.X = B.X and with only saves typing one of the names, I'd want to save both with ( A , B ) X = X (or something)

                                      P Offline
                                      P Offline
                                      Pete OHanlon
                                      wrote on last edited by
                                      #26

                                      There are times that I'd like

                                      with (MyClass myClass = new myClass())
                                      {
                                      .Value = 10;
                                      .ComputeValues(22);
                                      with (.Nodes)
                                      {
                                      .InsertItem(10, 20);
                                      }
                                      }

                                      "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                                      As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                                      My blog | My articles | MoXAML PowerToys | Onyx

                                      G 1 Reply Last reply
                                      0
                                      • P Pete OHanlon

                                        There are times that I'd like

                                        with (MyClass myClass = new myClass())
                                        {
                                        .Value = 10;
                                        .ComputeValues(22);
                                        with (.Nodes)
                                        {
                                        .InsertItem(10, 20);
                                        }
                                        }

                                        "WPF has many lovers. It's a veritable porn star!" - Josh Smith

                                        As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

                                        My blog | My articles | MoXAML PowerToys | Onyx

                                        G Offline
                                        G Offline
                                        Giorgi Dalakishvili
                                        wrote on last edited by
                                        #27

                                        You can do it with object initializers can't you?

                                        Giorgi Dalakishvili #region signature My Articles Asynchronous Registry Notification Using Strongly-typed WMI Classes in .NET [^] My blog #endregion

                                        P 1 Reply Last reply
                                        0
                                        • T Todd Smith

                                          What programming terms would you consider equivalent to foul language? For example: Legacy Code

                                          Todd Smith

                                          J Offline
                                          J Offline
                                          Joe Woodbury
                                          wrote on last edited by
                                          #28

                                          COM

                                          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