3 ms·
> There's simply no way that the IDE can know everything about a variable without running the code Or with. With dynamic typing and dynamic name resolution suc
by Peaker 14y ago
> There's simply no way that the IDE can know everything about a variable without running the code
Or with. With dynamic typing and dynamic name resolution such as in Python, there's no way to know with certainty, even if you run it.
- tonyarkles 14y agoIn theory, you're right. In practical, day-to-day programming, an IDE can get it right the vast majority of times and do exactly the right thing. See a previous post of mine: http://news.ycombinator.com/item?id=4037602 http://news.ycombinator.com/item?id=4037602
- Peaker 14y agoI believe that "works almost every time" is great, but that last inch is also meaningful. Knowing you can trust your IDE's refactorings is reassuring and allows you to dare do things you might otherwise not dare.