But it is strange to me to have a lesson the importance of which comes mostly from us deciding to keep the pain points around that necessitate learning the lesson. Similar to keeping random junk laying on the floor to teach the lesson of watching your step - which is a valuable lesson, indeed, but maybe not one we need to be taught every time we cross a room?
It does seem like most of the ecosystem is moving to having all auto-generated folders have .gitignore
inside. Not only .venv
but .idea
, .ruff_cache
, .mypy_cache
, .pytest_cache
(to name the most common) also do it. We are facing the reality where __pycache__
becomes the main reason to even have a user-created .gitignore
, and for many small and/or beginner projects the only reason.
So the floor now is mostly clean except for a large rake we keep for… pedagogical reasons?