Ask HN: How to Teach Refactoring?
https://news.ycombinator.com/item?id=39755869I am teaching programming to people with little to no programming experience. The course uses Python.
I find very difficult to provide the students with a general method of refactoring, or good examples.
Do you know of a small-ish (500-3000 lines) codebase example, that is both poorly written _on purpose_ and easy to understand?