Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

My code is most likely broken because:

by Eily (Prior)
on Nov 02, 2018 at 14:34 UTC ( #1225104=poll: print w/replies, xml ) Need Help??

vote on My code is most likely broken because:

The spec is broken
[bar] 17/5%
The doc is broken
[bar] 2/1%
The duck is broken
[bar] 21/6%
My keyboard is broken
[bar] 0/0%
My chair is broken
[bar] 7/2%
<Module name> is broken
[bar] 6/2%
perl is broken
[bar] 18/5%
The coffee machine is broken
[bar] 27/8%
My internet connection is broken
[bar] 6/2%
The world is stone
[bar] 10/3%
It's written in VB (Very Broken)
[bar] 11/3%
I wrote it using only a hammer
[bar] 19/5%
I'm an idiot
[bar] 138/40%
They just keep finding better idiots
[bar] 14/4%
It's not a bug, it's a feature
[bar] 51/15%
347 total votes
Replies are listed 'Best First'.
Re: My code is most likely broken because:
by perldigious (Curate) on Nov 02, 2018 at 16:27 UTC

    Because I didn't RTFM, because I reinvented the wheel, because I used a bunch of shoddy workarounds, because yes that is a magic number, because that comment made sense ten versions ago but now it's just confusing gibberish and I'm to lazy to update it, because I didn't properly use Google or PM Super Search, because I didn't indent properly, because I used "or/and" instead of "||/&&", because I told myself "I'll clean that up later", because I didn't properly listen and understand what the other monks told me, because I decided to do it quickly instead of correctly, and because I stubbornly refused to learn how to use the module that would just do that correctly for me every time in favor of doing the code equivalent of insisting on screwing together IKEA furniture using a coin from my pocket just so I don't have to walk 10 feet to the closet to get a screwdriver...

    ...Oh, yes, and because I'm an idiot. :-)

    Just another Perl hooker - My clients appreciate that I keep my code clean but my comments dirty.

      Don't forget that famous saying: The road to hell is paved with that's just a throwaway script

Re: My code is most likely broken because:
by Tux (Abbot) on Nov 02, 2018 at 16:29 UTC

    Voted "They just keep finding better idiots", because I eat my own dogfood and find myself being a better idiot than I was before way too often.


    Enjoy, Have FUN! H.Merijn

      Please, a little respect... for I am Costanza, Lord of the Idiots. :-)

      Just another Perl hooker - My clients appreciate that I keep my code clean but my comments dirty.

        ... but surely enough a new contender is always just around the corner

Re: My code is most likely broken because:
by stevieb (Abbot) on Nov 02, 2018 at 16:22 UTC

    - I drank too much beer whilst writing it

    I voted for "I'm an idiot".

      You just need to do another Raspberry Pi project that combines a blood alcohol sensor and intravenous drip controller such that each person who uses it, including yourself, can properly tune it to maintain their specific Ballmer Peak. :-)

      Just another Perl hooker - My clients appreciate that I keep my code clean but my comments dirty.

        That's a *brilliant* idea! I love coding for new, random sensors and ICs.

        To that end: "Your Amazon.ca order of "2" x OSEPP MQ-3 Alcohol Gas Sensor Module".

        Can I drive? *blows into device* ... "nope!"

        Can I code? *blows into device* ... "although the inability to stand doesn't preclude you from coding, you might really piss off your collaborators if you do!"

      - I drank too much beer the night before

      I also voted for "I'm an idiot".

      Clearly, you haven't yet found the Ballmer Peak. (gratuitous xkcd link)

        Hahaha literally as I'm writing the backend C code for the new Perl Breathalyzer.

        Want to get it done in time for my family visitors near Christmas. I'm going to throw a quick Dancer2 wrapper around it, and have a display on a TV with <insert random way of displaying the results in a silly method> visual appearance.

        Accuracy will be directly related to my BAC as I'm finalizing the mathematics within the C code.

Re: My code is most likely broken because:
by LanX (Archbishop) on Nov 03, 2018 at 17:01 UTC
    • Komments in gebroken Englisch

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

Re: My code is most likely broken because:
by dbuckhal (Friar) on Nov 03, 2018 at 16:48 UTC

    Ha! My vote only adds to the obvious leader. Coders must be humble.

    signed, A Humble Idiot

      Or, only humble coders answer the poll because it requires admitting your code is broken.

      The conclusion would then be: Humble coders are idiots

Re: My code is most likely broken because:
by davies (Prior) on Nov 08, 2018 at 14:09 UTC

    I was typing in the wrong language - in my case, I spend far too much time trying to write Perl when my brain is outputting VBA. My variant on "I'm an idiot".

    Regards,

    John Davies

Re: My code is most likely broken because:
by bliako (Deacon) on Nov 08, 2018 at 17:18 UTC

    There are so far 25 comments (08/11/2018) and already 9 counts of the word i-d-i-o-t.

    While the vote tally gives "I am an idiot" more than a third of the votes, and to "they just keep finding better idiots [than me presumably]" only a twentieth of the votes.

    I have for a few minutes contemplated if this site was instead called PoliceMonks, BankMonks or even SportfanMonks, each founded by and dedicated to the corresponding, namesake group of fellow human beings. It looks to me that the count of "I am an idiot" would be an absolute zero.

    p.s. In escaping an open-square-bracket I used &#091;. Lazy to look the reference again, I guessed that &#092; would be its closing counterpart. But I guessed wrong, it is &#093;. Someone is an idiot.

      "they just keep finding better idiots [than me presumably]"
      It's a reference to the quote "If you make something idiot-proof, someone will just make a better idiot." So it's either someone stupid beyond what you can yourself be, or stupid beyond the idiots you have encountered so far

      About the ] thing. It only needs to be escaped when it comes after a [ so as long as the left bracket is properly escaped, the right one can be bare.

        thanks for the info. Even an idiot can learn one new thing every day! generally speaking...

Re: My code is most likely broken because:
by Ratazong (Monsignor) on Nov 08, 2018 at 10:56 UTC

    Wisdom says: A programmer is a machine that turns coffee into code.

    Last month they disabled the coffee-machine on our floor - we are all doomed!

        A vague and approximative search showed a dose of twice as much caffeine in 1g of chocolate coffee beans as in 1g of espresso. But now I'm curious about how it turned out. Did you fail to fall asleep mid-meating, therefore ruining your plan to complain about how much work you have to do?

Re: My code is most likely broken because:
by blue_cowdawg (Monsignor) on Nov 21, 2018 at 17:17 UTC

    Too bad those are radio buttons and not checkboxes because I get bitten all the time by several of those cases.

    • Spec is broken
        Our naming convention that must be followed is... and a week later I find a host that violates the naming convention.
    • Doc is broken
        Here are the packages this application is dependent on. And they left out (no exaggeration here) 25 other dependencies and the dependencies the dependencies had.
    • They keep inventing an upgraded idiot.


    Peter L. Berghold -- Unix Professional
    Peter -at- Berghold -dot- Net; Blog: http://blog.berghold.net Warning: No political correctness allowed.
Re: My code is most likely broken because:
by mtmcc (Hermit) on Nov 12, 2018 at 22:58 UTC
    Because thereís definitely something OBVIOUS wrong with it as soon as I spot it. Because Iím not meticulous enough when I write. Because Iím nearly broken.
Re: My code is most likely broken because:
by james28909 (Deacon) on Nov 08, 2018 at 00:01 UTC
    atleast im in the majority!
Re: My code is most likely broken because:
by papidave (Pilgrim) on Nov 30, 2018 at 21:22 UTC
    In truth, my code is most likely broken because I had to use a programming language that believes in the One True Way. Nothing makes you appreciate TMTOWTDI more than a week programming in something other than Perl.
Re: My code is most likely broken because:
by Anonymous Monk on Nov 10, 2018 at 07:53 UTC

View List Of Past Polls


Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (10)
As of 2018-12-17 12:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many stories does it take before you've heard them all?







    Results (72 votes). Check out past polls.

    Notices?
    • (Sep 10, 2018 at 22:53 UTC) Welcome new users!