(define sixhat
  (λ (dave)
    (display 'ideas)))

Refactoring old code scares me.

I've two legacy projects that I need to tackle soon (meaning 2024).

One is a Python 2.7 based code. It needs to move to python 3.x and along the way refactor some cumbersome aspects of the implementation. This is elder of the two legacy code bases (2012).

The other is not much younger (2014), but is in Java and while I'll need this first, it is very scary to touch. The code base isn't nice as in "engineering nice" and has parts that were coded by a 1970s C programmer.

It will really hurt my eyes to go trough this code. Are there any automated tools that help one do this? Can copilot help? I'll learn the hard way.