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

    J Offline
    J Offline
    JasonPSage
    wrote on last edited by
    #47

    like the word gay has lost it's original meaning - a shame it is... so to is the word "net" ... now when I hear "net" or "dot net" I shrudder

    Know way too many languages... master of none!

    1 Reply Last reply
    0
    • R Rob Graham

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

      Y Offline
      Y Offline
      Yortw
      wrote on last edited by
      #48

      Awesome ! At least dropping the case sensitivity... I'm kinda used to the semi-colon now ;P

      1 Reply Last reply
      0
      • R Rama Krishna Vavilala

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

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

        Rama Krishna Vavilala wrote:

        So I guess at CP does not ask programmers to write documents.

        Nobody should ask programmers to write documents. Documents written by programmers are the bane of my existence.

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

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

          D Offline
          D Offline
          dmitri_sps
          wrote on last edited by
          #50

          Kidding ? :omg: Coding without it is like using FORTRAN: do not catch anything, or enclose all code in try/catch, just in case ;P

          E 1 Reply Last reply
          0
          • T Todd Smith

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

            Todd Smith

            K Offline
            K Offline
            keozcigisoft
            wrote on last edited by
            #51

            Java, COM, COM+, Interpreted languages, SOA

            1 Reply Last reply
            0
            • P Pete OHanlon

              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 Offline
              J Offline
              Jorgen Sigvardsson
              wrote on last edited by
              #52

              QueryInterface() was a part of IUnknown... ;P

              -- Kein Mitleid Für Die Mehrheit

              1 Reply Last reply
              0
              • R Robert Surtees

                SIGSEGV

                J Offline
                J Offline
                Jorgen Sigvardsson
                wrote on last edited by
                #53

                SIGBUS wasn't so hot either.

                -- Kein Mitleid Für Die Mehrheit

                1 Reply Last reply
                0
                • T Todd Smith

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

                  Todd Smith

                  B Offline
                  B Offline
                  Brady Kelly
                  wrote on last edited by
                  #54

                  StartDate nvarchar(20) default ''

                  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

                    B Offline
                    B Offline
                    Brady Kelly
                    wrote on last edited by
                    #55

                    I got over that very quickly and now can't figure why people miss it. Just use a short named local.

                    1 Reply Last reply
                    0
                    • P Pete OHanlon

                      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 Offline
                      B Offline
                      Brady Kelly
                      wrote on last edited by
                      #56

                      You can use an initialiser for your Nodes collection as well.

                      1 Reply Last reply
                      0
                      • P PIEBALDconsult

                        Extension Method.

                        B Offline
                        B Offline
                        Brady Kelly
                        wrote on last edited by
                        #57

                        Are you mad Sir?

                        P 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

                          B Offline
                          B Offline
                          Brady Kelly
                          wrote on last edited by
                          #58

                          I like writing documents. :)

                          D D 2 Replies Last reply
                          0
                          • B Brady Kelly

                            Are you mad Sir?

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

                            (There was supposed to be some sexual connotation in there. :~ ) But I do dislike the prolific use of the things.

                            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

                              D Offline
                              D Offline
                              dazfuller
                              wrote on last edited by
                              #60

                              Anything where there is a comment reading something like

                              // This is a temporary fix, remove as soon as possible

                              But it's still in there 3 years later!

                              1 Reply Last reply
                              0
                              • I Ian Shlasko

                                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 Offline
                                C Offline
                                codemunkeh
                                wrote on last edited by
                                #61

                                You so could write it like that in VB. But it would be tantamount to num *= 2 err I mean num = num * 2 Curses to VB and it's lack of shorthand arithmetic operators!


                                Ninja (the Nerd)
                                Confused? You will be...

                                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
                                  reshi999
                                  wrote on last edited by
                                  #62

                                  Interoperability

                                  1 Reply Last reply
                                  0
                                  • P PIEBALDconsult

                                    (There was supposed to be some sexual connotation in there. :~ ) But I do dislike the prolific use of the things.

                                    B Offline
                                    B Offline
                                    Brady Kelly
                                    wrote on last edited by
                                    #63

                                    Prolific maybe, but between them and partial classes, I get quite extended.

                                    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

                                      I Offline
                                      I Offline
                                      ian__lindsay 0
                                      wrote on last edited by
                                      #64

                                      Showing my age here: - anything in setjmp.h - ie setjmp, longjmp, etc basically a goto on steroids! - VARIANT_BOOL .... why oh why is VARIANT_TRUE -1 not 1 which is what TRUE is defined as, source of much pain in the past - oh and anything COM related actually! - MFC (need I say more...)

                                      1 Reply Last reply
                                      0
                                      • C codemunkeh

                                        You so could write it like that in VB. But it would be tantamount to num *= 2 err I mean num = num * 2 Curses to VB and it's lack of shorthand arithmetic operators!


                                        Ninja (the Nerd)
                                        Confused? You will be...

                                        D Offline
                                        D Offline
                                        dawmail333
                                        wrote on last edited by
                                        #65

                                        If you actually bothered to check, VB.Net HAS had that shorthand since .Net 1.1. Check your facts mate! And he was talking about the case sensitivity in C# (my main gripe with it): so that num <> Num <> NUM, so that num = Num + NUM is NOT num *= 2

                                        C 1 Reply Last reply
                                        0
                                        • D dawmail333

                                          If you actually bothered to check, VB.Net HAS had that shorthand since .Net 1.1. Check your facts mate! And he was talking about the case sensitivity in C# (my main gripe with it): so that num <> Num <> NUM, so that num = Num + NUM is NOT num *= 2

                                          C Offline
                                          C Offline
                                          codemunkeh
                                          wrote on last edited by
                                          #66

                                          I could've sworn it didn't have it when I used it in .NET 2, odd.. And I meant VB when I said num *= 2. I was trying to highlight my gripe with my last (apparently inaccurate) experience of VB, how it lacks in things I like using. Sorry if that wasn't clear. Edit: definitely my bad. I had somehow confused *= with ++. I tried writing some VB about 5 minutes ago and automatically put ; at the end of every line. :doh:


                                          Ninja (the Nerd)
                                          Confused? You will be...

                                          modified on Wednesday, August 19, 2009 6:23 AM

                                          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