Question to python programmers. Which IDE do you use for python? Visual Studio community 2017 or pycharm or something else? What is your preference?
Thanks.
i recommend VS CODE, that IDE do have quite a few good extensions for python
vim is kinda useful for quick editing and quick codes but for prolonged coding, not sure why people would want vim when other user-friendly text editor are readily available.
When you have the capability to manage a powerful editor like VIM, the so called friendly text editors out there are just gimmicky. Besides what many of you are not in situations where your existing text editor would be rendered useless so as standing infront of the server just next to the KVM or using another person system accessing the server remotely without your favourite editor installed and all you have is the text console via SSH. That is when your knowledge of a sophiscated text editor comes extremely useful as oppose to just a simple one. Especially one which can let you edit quickly and search fast using regex. I also use VIM to open up directories and zip files. When you have trained up yourself managing a “simple looking” text editor like vim or emacs , then other friendly editors out there are merely hmmmm “interesting”.
That being said, there is nothing wrong with using a sophisticated IDE completed with bells and whistles. I normally do those stuffs suspending out of the VIM using GREP, LS, TREE, FIND and then jump into VIM after I found the file, which the IDE offers easy to use features searching for something in files. There are stuffs that the IDE offers which VIM doesn’t do well which makes IDE attractive and I uses it too such as IntelliJ. However there is nothing in the whole that stops you from being good at both the tools and weld them at proper scenarios.
When you do a lot of editing with console text editors, you do learn to have a spatial understanding on where you put your configuration files, your source files and where binaries are found. You can quickly navigate to them without clicking graphically in a IDE. Learning a console text editor also trained you in learning your platform like whet your other tools are to help you quicker in editing within a console environment. I also open numerous console, using screen, using tmux and lots of other tools when I am doing editing. In situation I am editing across unstable network, i start up the screen to ensure my session is consistent should the network dropped halfway. And so you see, the kind of software engineering skill set a developer can adapt to when you use simple tools instead of just depending on one big sophisticated tool. So what kind of developer you want to be![]()
Overall I think I get your point and agree with most of it. Just a few comments though
Certainly have not been in this situation before despite working closely in infrastructure environment, that is why I have not really find a good use for console text editor like VIM. But this opens up my eyes on good use-case for console text editor (which I would just refer by VIM from now on despite availability of others like emacs or nano).
Certainly! For me, I use VIM in a situational-based scenario. Day to day I have not found good use case for VIM given I work with my own machines and I have the means to setup my choice of tools on any machines I will be working on. But learning VIM certainly helps in situation where my choice of tools are not and will not be readily available.
Again, totally agree esp on this point. I am against dependency to certain tools (or languages, or technology, or desk, or keyboard, or table, or xxx) as it limits our flexibility. And I am all for learning VIM. Just that at the time of writing my previous comment and for my daily use-case, I have not found a good use for VIM. You open up my mind though. Huge thanks, David!![]()
coding in general i dont see any need for mechanical keyboard other than the satisfaction of typing on one.
learning VIM and indeed it's awesome. Need some practice to get used with all the shortcuts though.
$ unzip -l file.zip
Archive: file.zip
Length Date Time Name
--------- ---------- ----- ----
15 05-03-2018 16:11 a.txt
15 05-03-2018 16:11 b.txt
--------- -------
30 2 files
$ shasum file.zip
5e8e6969d05957d2dac97780c5c912dea5554cd2 file.zip
$ unzip -p file.zip a.txt
This is file A
$ unzip -p file.zip b.txt
This is file B
$ vim file.zip
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
" zip.vim version v28
" Browsing zipfile $HOME/SAMPLE/file.zip
" Select a file with cursor and press ENTER
a.txt
b.txt
~
~
~
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
This is file A2
~
~
~
~
~
~
~
~
zipfile:$HOME/SAMPLE/file.zip::a.txt [+]
" Select a file with cursor and press ENTER
file.zip [RO]
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
$ shasum file.zip
212f0ebd3b3cf6b522d5dff11608d34db2a654e2 file.zip
$ unzip -l file.zip
Archive: file.zip
Length Date Time Name
--------- ---------- ----- ----
16 05-03-2018 16:13 a.txt
15 05-03-2018 16:11 b.txt
--------- -------
31 2 files
$ unzip -p file.zip a.txt
This is file A2
$ unzip -p file.zip b.txt
This is file B
learning VIM and indeed it's awesome. Need some practice to get used with all the shortcuts though.
@davidktw
feels that the in-zip file editing is quite useful. Dunno what the tetris one is for?