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

    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
      • M Mustafa Ismail Mustafa

        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 Offline
        M Offline
        Mark_Wallace
        wrote on last edited by
        #45

        Mustafa Ismail Mustafa wrote:

        EVERY time I read your signature, I cringe :shudder:

        These days, I have a hard time cutting bread without cringing.

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

        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
          Kr0d
          wrote on last edited by
          #46

          COM and Interop

          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
            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
                                        • 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
                                          #62

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

                                          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