Yeah this is classic legacy code.
Complicated code is when 700 projects are all entangled and when you add a 3D bar for measuring purposes (it was just a bar like 100 nanometers long so you could get a feel for size in 3D scans, in the 3D viewer), the up (not the down) mouse scroll stopped working for sliders in all the 2D GUIs…
That is crappy code and I was there when we got that bug (Avizo software).
When I bought the apartment I’m living in, the previous owner had refused all modernisation, even legal ones (he had mental problems), so the appartment had the original 1 hot wire going everywhere, you just “tapped” off power where you wanted to to ground. 1959 era.