3 ms·
Some issues: - I make stupid mistakes in Python constantly. I misname a variable or a function or I pass in the wrong arguments: Try mypy - If the task is IO
by SjuulJanssen 8y ago
Some issues:
- I make stupid mistakes in Python constantly. I misname a variable or a function or I pass in the wrong arguments: Try mypy
- If the task is IO bound: Threads are the wrong the answer to that. You're going async by using Golang, why not in python?
- With Python, I have to ensure all the packages I need are installed on the remote machine: pipenv Like slezyr mentions
- Consistent Styling: Try autopep8 or black
- Intellisense: I would say "use Pycharm" but vscode is getting better I heard
- StavrosK 8y agoI had a very good experience using PyInstaller for a few of my Python programs, it made "binaries" out of them really easily.
- raverbashing 8y agoPylint is a bit hard to configure, use Prospector Prospector does a better job and it prevents you from wasting time with what essentially are stylistic choices and BS like a hard 80 chars limit per line (remember, A Foolish Consistency is the Hobgoblin of Little Minds) And yes, yes, automated stilling tools are better Intelisense is needed but even the standard vim autocompletion plugin does an ok job
- cakoose 8y ago> You're going async by using Golang, why not in python? In Golang, you're still using a thread-based abstraction. In Python, "going async" involves switching to a slightly different style of programming and using different I/O libraries. While that has advantages, using threads lets you stick with the standard style.