Ask HN: How to Teach Refactoring?

https://news.ycombinator.com/item?id=39755869
by fdeage • 2 years ago
1 2 2 years ago

I 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?

Related Stories

Loading related stories...

Source preview

news.ycombinator.com