4 ms·
> large Python projects are much more manageable than C++ projects, even without any tools I'd probably agree, but I would love to have more mature static typi
by StavrosK 10y ago
> large Python projects are much more manageable than C++ projects, even without any tools
I'd probably agree, but I would love to have more mature static typing, and especially an accurate "find all usages" function. Refactoring has been major hell because you pretty much have to grep for names if you want to find all usages of a variable (or, more specifically and problematically, a model property in Django).
- olau 10y agoThere are in fact some refactoring tools available for Python, but yeah, personally I have ag (find + grep like tool) installed with the ag and wgrep-ag Emacs packages, and don't consider renaming a major hassle. There's a pyflake integration thing for Emacs too, where it underlines errors. One benefit of grep is that it lets me spot things in different languages (Python, Javascript, HTML, CSS, documentation).
- afarrell 10y ago> have to grep Have you tried out the Silver Searcher? http://geoff.greer.fm/2011/12/27/the-silver-searcher-better-than-ack/ http://geoff.greer.fm/2011/12/27/the-silver-searcher-better-...
- StavrosK 10y agoYes, it's all I use, but still, we have foreign keys on various models to the user, predictably called "user", so removing or renaming one of them is hell, and the grep tool can't tell you which lines are the one you care about with certainty... Vim-jedi is pretty good, but not perfect either, unfortunately...