Do what I do to fix bugs - wrap everything in a giant try block followed by an empty catch block. Your program will continue working like a charm, if your customer doesn't care which places the decimal points go in his payroll system.
(Score: 0) by Anonymous Coward on Wednesday May 30 2018, @10:05PM
by Anonymous Coward
on Wednesday May 30 2018, @10:05PM (#686511)
I don't know if you are serious, and I hope you aren't.
But, I am sad to say I have seen this behavior in legacy code my team has had to maintain. When I asked devs who had been here a long time why there were so many empty catch blocks in the code, they said former management wanted to reduce the amount of errors the service produced, and gave a ridiculous timeframe to get the work done. The only solution was to remove the logging statements in the catch blocks. This is a true story. :(
how many unknown bugs are there, and how long will they take to fix
A wise man once said:
Reports that say that something hasn't happened are always interesting to me, because as we know, there are known knowns; there are things we know we know. We also know there are known unknowns; that is to say we know there are some things we do not know. But there are also unknown unknowns – the ones we don't know we don't know. And if one looks throughout the history of our country and other free countries, it is the latter category that tend to be the difficult ones.
There are also the swept-under-rug knowns. Eventually that tiny bump in the carpet becomes big enough to trip over making it a don't-trip-over-the-imaginary-unknown.
-- To transfer files: right-click on file, pick Copy. Unplug mouse, plug mouse into other computer. Right-click, paste.
(Score: 2) by DannyB on Thursday May 24 2018, @02:59PM (6 children)
I wish I could mod you up further.
Manager: how many unknown bugs are there, and how long will they take to fix. I need to know by tomorrow morning.
To transfer files: right-click on file, pick Copy. Unplug mouse, plug mouse into other computer. Right-click, paste.
(Score: 2, Insightful) by Ethanol-fueled on Saturday May 26 2018, @12:16AM (3 children)
Do what I do to fix bugs - wrap everything in a giant try block followed by an empty catch block. Your program will continue working like a charm, if your customer doesn't care which places the decimal points go in his payroll system.
(Score: 0) by Anonymous Coward on Sunday May 27 2018, @01:17AM
I have no words.
Yes. I do. Don't do this in powershell. Try doesn't always catch clean which can result in broken program.
(Score: 0) by Anonymous Coward on Wednesday May 30 2018, @10:05PM
I don't know if you are serious, and I hope you aren't.
But, I am sad to say I have seen this behavior in legacy code my team has had to maintain. When I asked devs who had been here a long time why there were so many empty catch blocks in the code, they said former management wanted to reduce the amount of errors the service produced, and gave a ridiculous timeframe to get the work done. The only solution was to remove the logging statements in the catch blocks. This is a true story. :(
(Score: 0) by Anonymous Coward on Sunday June 10 2018, @01:44AM
Please don't work on anything important in the real world.
(Score: 2) by isostatic on Saturday June 02 2018, @08:49PM (1 child)
how many unknown bugs are there, and how long will they take to fix
A wise man once said:
(Score: 2) by DannyB on Monday June 04 2018, @01:32PM
There are also the swept-under-rug knowns. Eventually that tiny bump in the carpet becomes big enough to trip over making it a don't-trip-over-the-imaginary-unknown.
To transfer files: right-click on file, pick Copy. Unplug mouse, plug mouse into other computer. Right-click, paste.