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.
  • 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
          • 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
            #23

            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 TommyTomToms

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

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

              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
              • 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
                      • D Dan Neely

                        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 Offline
                        T Offline
                        TommyTomToms
                        wrote on last edited by
                        #29

                        :omg: Thanks for the info. I rather be flippin burgers at Macdonald than code in that abomination. Thank god for C# :-D

                        1 Reply Last reply
                        0
                        • T Todd Smith

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

                          Todd Smith

                          M Offline
                          M Offline
                          Miszou
                          wrote on last edited by
                          #30

                          option explicit option base 1 on error resume next #define (Macro with parameters, for super-awesome side-effects!)

                          The StartPage Randomizer - The Windows Cheerleader - Twitter

                          1 Reply Last reply
                          0
                          • T Todd Smith

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

                            Todd Smith

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

                            Scope creep.

                            Visit http://www.notreadytogiveup.com/[^] and do something special today.

                            1 Reply Last reply
                            0
                            • G Giorgi Dalakishvili

                              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 Offline
                              P Offline
                              Pete OHanlon
                              wrote on last edited by
                              #32

                              Parts of it - you can't do method invocation with it.

                              "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

                              B 1 Reply Last reply
                              0
                              • T Todd Smith

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

                                Todd Smith

                                N Offline
                                N Offline
                                Nougat H
                                wrote on last edited by
                                #33

                                something something {

                                more of that something

                                }

                                I know some like this kind of brace style but personally I can't stand it at all. It goes so far that I tend to reformat a piece of code with this brace style before reading it :-D.

                                ____________________________ I didn't know what to put in here.

                                D 1 Reply Last reply
                                0
                                • T Todd Smith

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

                                  Todd Smith

                                  C Offline
                                  C Offline
                                  Chris Maunder
                                  wrote on last edited by
                                  #34

                                  I mean - it's a pretty awful thing to wish upon a developer...

                                  cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP

                                  R B 2 Replies Last reply
                                  0
                                  • T Todd Smith

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

                                    Todd Smith

                                    R Offline
                                    R Offline
                                    Robert Surtees
                                    wrote on last edited by
                                    #35

                                    SIGSEGV

                                    J 1 Reply Last reply
                                    0
                                    • C Chris Maunder

                                      I mean - it's a pretty awful thing to wish upon a developer...

                                      cheers, Chris Maunder The Code Project Co-founder Microsoft C++ MVP

                                      R Offline
                                      R Offline
                                      Rama Krishna Vavilala
                                      wrote on last edited by
                                      #36

                                      So I guess at CP does not ask programmers to write documents. Are you hiring? :)

                                      C M 2 Replies Last reply
                                      0
                                      • T Todd Smith

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

                                        Todd Smith

                                        R Offline
                                        R Offline
                                        Rama Krishna Vavilala
                                        wrote on last edited by
                                        #37

                                        Judging by CP Posts: I will say is W*F where * = P, C, W

                                        1 Reply Last reply
                                        0
                                        • T Todd Smith

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

                                          Todd Smith

                                          M Offline
                                          M Offline
                                          Michael Dunn
                                          wrote on last edited by
                                          #38

                                          "solution" (which is now a programming term thanks to VS)

                                          --Mike-- Dunder-Mifflin, this is Pam

                                          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