This is somewhat dramatised, but it's also an accurate explainer of my Sunday evening woes.
Come on a journey with me as I – an experienced developer – dive into old WordPress theme code, find myself in an enormous tangle, and question my competence.
https://rosswintle.uk/2024/12/im-not-sure-i-understand-themes-old-wordpress-code-journey/