Re:One Year Later: Review of PyCharm 2.7 from a Vim User’s P...
by skybrian on Saturday June 15, 2013 @06:59PM
(#5886581)
You can use an IDE and still run and test your code from the command line, and this is often a good idea when it's unclear what the IDE is doing. The IDE still serves as a better editor.
Re:One Year Later: Review of PyCharm 2.7 from a Vim User’s P...
by Myrmornis on Saturday June 15, 2013 @07:10PM
(#5886607)
You could. But mastering just one of those interfaces is already quite an overhead.
Re:One Year Later: Review of PyCharm 2.7 from a Vim User’s P...
by skybrian on Saturday June 15, 2013 @08:37PM
(#5886820)
Well, if you plan on using the command line then you don't need to learn to run programs in the IDE. You can just learn the other stuff.
But there's no doubt about it, learning to use an IDE is an investment. It's not needed for "hello world" but pays off when using complicated API's or refactoring a large application. And nearly all the API's we use these days are complicated; languages that don't have large standard libraries aren't used much.
The irony is that people who don't use IDE's spend large amounts of time configuring their text editors. How much of an investment is it to learn vi?
- I used the pycharm UI incorrectly -- I didn't tell it to do what I intended to tell it to do.
- pycharm is not configured for my project correctly
- there is a bug in pycharm
Testing and debugging software is hard enough; it's best to choose a work environment that minimizes the number of possible explanations for what has gone wrong and that means running `manage.py whatever` directly from a shell. I can see that for certain classes of problems one would be confident that the IDE was working correctly, and you could debug in pycharm with perhaps greater power than using pdb in a shell. But if there's a possibility that the problem is infrastructural -- e.g. with your test runner, or the test invocation -- and not actually in the application code, then you'd want to work with python/django directly, not with a complex GUI application. In the projects I work on, that possibility is always there :)