From a recent meeting:
Well, let's just chmod it to 777, what's the worst that could happen? I dont see any way anyone could exploit this
This was about a wordpress installation. I work with smart people, but I'm surprised at the amount of trust (or blindness) people place in the predictability of software. I mean fuck, there's so many possible inputs, saying something like "I dont know how this can be exploited, so it cant" seems so far fetched and funny, it's almost unreal.
But to be honest, let's think about it from the business side ie. the side that pays programmer's salaries: whether an application is exploitable, if it has a test suite, if it's updated, if it's meant to endure infrastructure failures (fucking 3rd party api going down or stalling on request = blocking the whole fucking application)
doesn't matter at fucking all. This is what kills me at my job. Nobody cares if the code you sling is a 1000 line long procedural pool of diarrhea if if-else block nested 7 levels deep - as long as the css transitions look nice and the html adheres to the psd, and it's delivered on time - you're the fucking man.
Sorry for the slight rant, but I've the had the opportunity... no, wait, the
joy of working with code from a senior developer whom everyone praises and I shit you not, this guy loaded a ton of logic into views (in an MVC based web app). Really, he couldn't take 30 minutes to refactor that out into a separate module that could be shared instead of duplicated?
That's when my enthusiasm for my current job broke - I wanted to do things the right way, to think of the next programmer on the project to make his/her life easier, but now I see that the only objective is pushing out eye-pleasing pages on time and fuck everything else. Well, then, fuck them too, I can ship shitty code too and I won't be anxious about barely meeting deadlines now.