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.
  • 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
                              • R Rama Krishna Vavilala

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

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

                                The point is that I'm evil.

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

                                1 Reply Last reply
                                0
                                • T Todd Smith

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

                                  Todd Smith

                                  E Offline
                                  E Offline
                                  Ennis Ray Lynch Jr
                                  wrote on last edited by
                                  #40

                                  Senior Developer with 3 years experience and contract rates that are less than full-time w/ benefits compensation but that is just me.

                                  Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. A man said to the universe: "Sir I exist!" "However," replied the universe, "The fact has not created in me A sense of obligation." --Stephen Crane

                                  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
                                    Philip Laureano
                                    wrote on last edited by
                                    #41

                                    public void InSpace()
                                    {
                                    try
                                    {
                                    // Scream...
                                    you.Scream();
                                    }
                                    catch(Exception ex)
                                    {
                                    // No one can hear you...
                                    }
                                    }

                                    Do you know...LinFu?

                                    1 Reply Last reply
                                    0
                                    • T Todd Smith

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

                                      Todd Smith

                                      S Offline
                                      S Offline
                                      Steve Ungstad
                                      wrote on last edited by
                                      #42

                                      1. Any code that uses disk files for temporary variable storage. It means speed is throttled by disk IO, which makes delayed write required, which threatens the entire system file system. 2. Yes: "Option base 1" is such a bad idea. 3. Any do-nothing wait loop without an abort mechanism: the HP/RMB BASIC "WAIT {seconds}" would stop the whole machine, including the display and IO while it did nothing. 4. Any compiler that allows uninitialized variables. Random values cause unpredictable behavior/crashes. 5. Any (real time/ ISR) code that will stack overflow if the CPU is too slow. ...etc

                                      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[^]?

                                        V Offline
                                        V Offline
                                        Vikram A Punathambekar
                                        wrote on last edited by
                                        #43

                                        Really? I loved checked exceptions when I was programming in Java. I have the backing of at least one more highly-respected CPian. :)

                                        Cheers, Vikram. (Proud to have finally cracked a CCC!)

                                        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

                                          R Offline
                                          R Offline
                                          Rajesh R Subramanian
                                          wrote on last edited by
                                          #44

                                          Sleep(1000); X|

                                          It is a crappy thing, but it's life -^ Carlo Pallini

                                          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