7 ms·
For anyone struggling with remembering class based view mixins, I suggest you get yourself a proper IDE that allows you to trivially look into the implementatio
by Nextgrid 3y ago
For anyone struggling with remembering class based view mixins, I suggest you get yourself a proper IDE that allows you to trivially look into the implementation of anything as well as lookup any symbol with fuzzy search. PyCharm/IntelliJ is one.
Since using such an IDE I pretty much never have to rely on the documentation because it’s much easier to Cmd+click into a symbol and look at its implementation.
- kodah 3y agoProperly configured VSCode with the Python Virtual Environment Manager plugin also makes this easy.
- darkteflon 3y agoIs “Python Virtual Environment Manager” a third party plugin? I had a search but could turn nothing up. Wondering if I’m missing out.
- daydream 3y agoThey probably mean this one: https://marketplace.visualstudio.com/items?itemName=donjayamanne.python-environment-manager https://marketplace.visualstudio.com/items?itemName=donjayam...
- nouveaux 3y agoThe problem with relying on fancy IDE to untangle your classes is that it breaks on GitHub. Also it's harder to discuss snippets of code asynchronously. People like to think CBV offer a lot of free things but they miss the trade off. CBV makes it easier to write code but harder to read the code. CBV should only be used for the simplest of cases IMO.