3 ms·
This is a piece of jewelry, compared to what I've seen. Our team was called in to help on a strange case. An important organization had corruption in the manag
by aljgz 6y ago
This is a piece of jewelry, compared to what I've seen.
Our team was called in to help on a strange case. An important organization had corruption in the management and they had contracted a mission-critical service, one that created income, to someone.
The code was written in asp (the project has started in 2016, 16 years after the last release). Database tables where named table_01 to table_36, columns named Column_01 to whatever. All values stored in database were "encrypted" using base64 most files where 10,000+ lines of repeated code, no modularity, no naming convention, not DRY.
All the income from the orders went to the programmer's personal bank account. The money would then be wired to the right companies.
Well, this was just the beginning, the code was much worse, I cannot bring any examples as I don't have the code and don't remember, but suffice to say that even though we had made our minds that we're going to handle this mess, but faced much much worse problem than we expected.
We came up with a smooth plan to transition to a good state.
Meanwhile, the corrupt management had been lobbying, got reinstated, made the version 2 contract with the same guy and the team I consulted was asked to just keep the version 1 running while the genius is coming up with more brilliant ways to write version 2 of pure shit.