4 ms·
Tangentially, the weirdest coding practice I've seen was a company with a single PHP developer who didn't know what a function was. The entire company ran on a
by Buttons840 5y ago
Tangentially, the weirdest coding practice I've seen was a company with a single PHP developer who didn't know what a function was. The entire company ran on a 5000 line top-to-bottom script with a cyclomatic-complexity in the tens of thousands, and was executed by Windows Scheduler. At one point I counted controll structures nested 17 deep, ifs inside loops inside ifs inside loops, etc. Also, the one developer didn't use version control and was resistant to my attempting to teach him. I worked on the website though, didn't touch that script with a 10 foot pole.
- chiph 5y agoMention "bus factor" to their boss. https://en.wikipedia.org/wiki/Bus_factor https://en.wikipedia.org/wiki/Bus_factor
- Buttons840 5y agoActually, the boss understood the script well enough to make some changes and fixes, but he didn't work on it full time. The script was mostly in maintenance mode.