Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: poll ideas quest 2016 (bad code line)

by chacham (Prior)
on Jan 28, 2016 at 19:17 UTC ( #1153913=note: print w/replies, xml ) Need Help??


in reply to poll ideas quest 2016

When you see a bad/stupid line of code in someone else's code, what are you most likely to do?

  • Fix it
  • Make a note to fix it
  • Complain about it
  • Make fun of it
  • Confront the author and suggest a fix
  • Leave a comment about it
  • Blog about it
  • Try to exploit it
  • It depends on...(please explain)
  • Other

Related, perhaps:When my script doesn't work, I ...

  • Comment on Re: poll ideas quest 2016 (bad code line)

Replies are listed 'Best First'.
Re^2: poll ideas quest 2016 (bad code line)
by choroba (Archbishop) on Jan 28, 2016 at 23:01 UTC
    It depends on where it happens: at work, on GitHub, in a CPAN module, in the script I discovered after my server was hacked...
    ($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

      Good point. It also may likely depends on the coder as well. Known or unknown. Friends, coworker, boss, et al. Added an "it depends" option.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1153913]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2019-12-10 04:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?