Andy Lester graciously wrote:
Never mind automated linters, how many times have you seen this exchange?
“You should always use strict and warnings.”
“I used to have those but they caused a lot of errors and my code wouldn't run so I took them out.”
How many times have I seen that
particular exchange, Andy? As many times as there are grains of sand in the sea! Especially if you count including -Wall
in your Makefile
But I can top that. I’ve actually seen this, and not just once, either:
Manager: “We can’t have any more coredumps from our C programs. It makes us look bad and interferes with production.”
Programmer: signal(SIGSEGV, SIG_IGN);
I dearly wish I were kidding; I’m not.
I see stuff like this every day, stuff that doesn’t so much move you to righteous ranting as it does to being stricken dumb with sheer disbelief. I bet I now have keyboard-shaped wedges permanently imprinted on my forehead.
It’s code that leads first to apoplexy and thence to syncope. The thing is, after they bring around the code-smelling salts and still dazed you awaken from your nightmare, it’s all still there: holy terrors of truly Biblical proportion.
And by Biblical, I’m specifically thinking of the venerable Books of Job and of Lamentations and of Ecclesiastes: no Good News to be found. :)
We’re well into sackcloth-and-ashes territory here.
“Weeping may endure for an entire dark release, but joy cometh in the fresh light of refactoring.”
― Psalms 30:5, the Programmers’ edition
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.
| & || & |
| < || < |
| > || > |
| [ || [ |
| ] || ] ||