New project, new horrific code lines
I’m now working on a new project. Well, it’s something new for me, but the software I’m diving into has been used for years to retrieve data from our shops each night.
The code is pure shit.
For example, there is a procedure that compare two dates, contained in two global variables, and returns the result in the variable passed as parameter. See :
procedure compare_dates (result)
// comparison code…
result = …
Better seeing that than being blind, hu ?