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. Why I hate Perl today

Why I hate Perl today

Scheduled Pinned Locked Moved The Lounge
javaphpperlquestion
25 Posts 13 Posters 2 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 Maximilien

    Andrei Straut wrote:

    #@$%$@@# #$@^^@ ^#(%$@!%^# ^*&#@#& (*$%$#&*

    You just found the ultimate regular-expression ... dump that into perl and it outputs 42.

    Watched code never compiles.

    A Offline
    A Offline
    Andrei Straut
    wrote on last edited by
    #9

    That actually squeezed out a laugh. 10x :laugh:

    Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

    1 Reply Last reply
    0
    • B BobJanova

      Did you know that it's impossible in Perl to tell the difference between '1' and 1.0? The language knows that one is a string and one is a number, but (unlike PHP which has similar flexible typing) it won't tell you which something is! This is rather annoying when trying to interface with another language (Java, in this case) where that kind of matters.

      A Offline
      A Offline
      Andrei Straut
      wrote on last edited by
      #10

      BobJanova wrote:

      The language knows that one is a string and one is a number, but it won't tell you which something is

      When programming languages start keeping secrets, you know the world is truly elephanted Here, have a cookie.

      Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

      K 1 Reply Last reply
      0
      • D Dalek Dave

        Richard MacCutchan wrote:

        innocent developers

        ?

        --------------------------------- I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link suspended until further notice. It can be reached at www.greystarling.co.uk/ccc.htm This is due to the Spam Cockup.

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

        I was once innocent. ;)

        One of these days I'm going to think of a really clever signature.

        D N B 3 Replies Last reply
        0
        • L Lost User

          I was once innocent. ;)

          One of these days I'm going to think of a really clever signature.

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

          I was innocent, just the once.

          --------------------------------- I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link suspended until further notice. It can be reached at www.greystarling.co.uk/ccc.htm This is due to the Spam Cockup.

          1 Reply Last reply
          0
          • L Lost User

            I was once innocent. ;)

            One of these days I'm going to think of a really clever signature.

            N Offline
            N Offline
            Nagy Vilmos
            wrote on last edited by
            #13

            Good lawyer?


            Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

            D 1 Reply Last reply
            0
            • N Nagy Vilmos

              Good lawyer?


              Panic, Chaos, Destruction. My work here is done. Drink. Get drunk. Fall over - P O'H OK, I will win to day or my name isn't Ethel Crudacre! - DD Ethel Crudacre I cannot live by bread alone. Bacon and ketchup are needed as well. - Trollslayer Have a bit more patience with newbies. Of course some of them act dumb - they're often *students*, for heaven's sake - Terry Pratchett

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

              Bent Lawyer!

              --------------------------------- I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link suspended until further notice. It can be reached at www.greystarling.co.uk/ccc.htm This is due to the Spam Cockup.

              M 1 Reply Last reply
              0
              • A Andrei Straut

                I'm particularly in hate with PHP today (more so than usually), so I feel your pain :thumbsup: I think we should get a special forum where we can f*** #@$%$@@# #$@^^@ ^#(%$@!%^# ^*&#@#& (*$%$#&* till calm sets in

                Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

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

                I just read your signature. Quick question: Are you ever half-fledged?

                A 1 Reply Last reply
                0
                • L Lost User

                  Did you know that Perl is an abomination, invented to cause anger and distress to innocent developers?

                  One of these days I'm going to think of a really clever signature.

                  C Offline
                  C Offline
                  CPallini
                  wrote on last edited by
                  #16

                  Yes, he knows that, but won't tell you.

                  Veni, vidi, vici.

                  1 Reply Last reply
                  0
                  • L Lost User

                    I just read your signature. Quick question: Are you ever half-fledged?

                    A Offline
                    A Offline
                    Andrei Straut
                    wrote on last edited by
                    #17

                    Yes, I have a love-hate relationship with SQL (be it my, Oracle or MS). I also have mixed feelings for Win8 and WinPhone 7/.5 Besides that and in general, yes, I'm a half-fledged developer :) But usually, when I hate or love something, I do it fully, and no arguments can convince me :)

                    Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

                    1 Reply Last reply
                    0
                    • L Lost User

                      I was once innocent. ;)

                      One of these days I'm going to think of a really clever signature.

                      B Offline
                      B Offline
                      BobJanova
                      wrote on last edited by
                      #18

                      Aye ... the day before you started developing :)

                      L 1 Reply Last reply
                      0
                      • B BobJanova

                        Aye ... the day before you started developing :)

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

                        :-D

                        One of these days I'm going to think of a really clever signature.

                        1 Reply Last reply
                        0
                        • A Andrei Straut

                          I'm particularly in hate with PHP today (more so than usually), so I feel your pain :thumbsup: I think we should get a special forum where we can f*** #@$%$@@# #$@^^@ ^#(%$@!%^# ^*&#@#& (*$%$#&* till calm sets in

                          Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

                          F Offline
                          F Offline
                          Florin Jurcovici
                          wrote on last edited by
                          #20

                          Judging by your signature, you are also fully-fledged security-unaware. More secure: Google, Java, Apple, YM. Less secure: skype, MS, PHP.

                          1 Reply Last reply
                          0
                          • B BobJanova

                            Did you know that it's impossible in Perl to tell the difference between '1' and 1.0? The language knows that one is a string and one is a number, but (unlike PHP which has similar flexible typing) it won't tell you which something is! This is rather annoying when trying to interface with another language (Java, in this case) where that kind of matters.

                            D Offline
                            D Offline
                            dpminusa
                            wrote on last edited by
                            #21

                            If you are interested, CPAN has modules you can add that help minimize this issue. Look for the scalar modules. Maybe not 100% but easy to use for most situations. Maybe this will reduce your frustration somewhat. Cheers.

                            "Courtesy is the product of a mature, disciplined mind ... ridicule is lack of the same - DPM"

                            1 Reply Last reply
                            0
                            • B BobJanova

                              Did you know that it's impossible in Perl to tell the difference between '1' and 1.0? The language knows that one is a string and one is a number, but (unlike PHP which has similar flexible typing) it won't tell you which something is! This is rather annoying when trying to interface with another language (Java, in this case) where that kind of matters.

                              K Offline
                              K Offline
                              Kirk Wood
                              wrote on last edited by
                              #22

                              TryParse. You can't go wrong.

                              1 Reply Last reply
                              0
                              • A Andrei Straut

                                BobJanova wrote:

                                The language knows that one is a string and one is a number, but it won't tell you which something is

                                When programming languages start keeping secrets, you know the world is truly elephanted Here, have a cookie.

                                Full-fledged Java/.NET lover, full-fledged PHP hater. Full-fledged Google/Microsoft lover, full-fledged Apple hater. Full-fledged Skype lover, full-fledged YM hater.

                                K Offline
                                K Offline
                                Kirk Wood
                                wrote on last edited by
                                #23

                                Actually, either of them can be used as a string or a number in Perl. If a string converts then it can easily be used as a number. You simply can't make what looks like a number not act like a number. (Nor can you ever stip something from being treated as a string.) I would encourage you to really learn a language instead of learning its syntax.

                                1 Reply Last reply
                                0
                                • B BobJanova

                                  Did you know that it's impossible in Perl to tell the difference between '1' and 1.0? The language knows that one is a string and one is a number, but (unlike PHP which has similar flexible typing) it won't tell you which something is! This is rather annoying when trying to interface with another language (Java, in this case) where that kind of matters.

                                  T Offline
                                  T Offline
                                  thomas michaud
                                  wrote on last edited by
                                  #24

                                  Old issue: http://www.perlmonks.org/?node\_id=766000

                                  1 Reply Last reply
                                  0
                                  • D Dalek Dave

                                    Bent Lawyer!

                                    --------------------------------- I will never again mention that I was the poster of the One Millionth Lounge Post, nor that it was complete drivel. Dalek Dave CCC Link suspended until further notice. It can be reached at www.greystarling.co.uk/ccc.htm This is due to the Spam Cockup.

                                    M Offline
                                    M Offline
                                    mpmansell
                                    wrote on last edited by
                                    #25

                                    Type cast lawyer ?

                                    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