Don't use VSCode

  Рет қаралды 217,616

PyCon South Africa

PyCon South Africa

Күн бұрын

Talk page: za.pycon.org/talks/39-dont-us...
Speaker: James Smith
Track: Other
Type: Talk
Room: Talk Room 1
Time: Oct 06 (Fri): 09:45
Duration: 0:45
Visual Studio Code is a cross-platform editor that has taken the programming world by storm: it's used by about 73% of respondents to a StackOverflow survey in 2023. And what's not to like? It's flexible, fast, very extensible and it's open source in addition to all of this!
Except ... when it's not. There are some technical down-sides to VSCode (especially if you don't have an expensive modern computer), and much of what makes VSCode exceptionally useful isn't actually open source and could be detrimental to the ecosystem as a whole.
I will spend some time in this talk going over the pros and cons of VSCode, its useful features for developers in general and Pythonistas in particular, and importantly the caveats, why I think that it's best avoided.
I will end with an impassioned plea to the local Python community to rely primarily on properly free (libre) software tools for the bulk of their development, I'll demonstrate some of the ones I use, and briefly mention a few other alternatives.
Sponsors:
Platinum:
Python Software Foundation: www.python.org/psf/membership
Patron:
Thinkst Canary: canary.tools/
Afrolabs: www.afrolabs.co.za/

Пікірлер: 578
@robbybankston4238
@robbybankston4238 8 ай бұрын
Having used dozens of IDEs and editors over the last 30 years for dozen of languages, just use what you are personally most productive in. Of course what you are productive in today may not be what you are productive in tomorrow. Long live vi.
@bobweiram6321
@bobweiram6321 8 ай бұрын
Long live stone tablets and chisels!
@LV-1969
@LV-1969 8 ай бұрын
I used vi when coding Java before our program approved Eclipse. I remember knowing everything about certain classes and their methods/parameters by memory. Once I got code complete I was spoiled
@AndersJackson
@AndersJackson 8 ай бұрын
Emacs any day in the week.
@LV-1969
@LV-1969 8 ай бұрын
@@AndersJackson ~
@Syntax753
@Syntax753 7 ай бұрын
Still waiting for vii
@greyfade
@greyfade 7 ай бұрын
>VSCode bad because it's not truly open >recommends PyCharm Ok, yeah, I'm going to disregard.
@Pavel555
@Pavel555 6 ай бұрын
PyCharm is just better. I use it for web development and it saves me a lot of time (=money)
@sid4579
@sid4579 3 ай бұрын
But PyCharm is very OP especially with large projects not some basic apps
@greyfade
@greyfade 3 ай бұрын
@@sid4579 It really isn't. I've not yet used a worse Python IDE than PyCharm. It was an exercise in continuous frustration. Also, PyCharm isn't open either.
@nichohells
@nichohells 15 күн бұрын
At least the Community Edition is open sourced 😂
@romulino
@romulino 13 күн бұрын
Pycharm is awesome
@whong09
@whong09 7 ай бұрын
This message brought to you by JetBrains
@arvetemecha
@arvetemecha 7 ай бұрын
as a pycharm user, I have to admit it is quite memory hungry.
@thebluriam
@thebluriam 5 ай бұрын
@@arvetemechaMemory hungry? How much ram do you have 8gb? I run multiple instances of PyCharm at the same time while also running Goland, Webstorm, and with an active OBS stream to Twitch, 0 issues
@Milan_Openfeint
@Milan_Openfeint 9 ай бұрын
21:50 "my title was a little bit click-baity" yeah agree with that
@techdedicated
@techdedicated 7 ай бұрын
right this should be USE VS CODE!
@tacokoneko
@tacokoneko 6 ай бұрын
i use --user-data-dir to change my vscodium folder to a large hard drive so that it does not consume home folder space
@tacokoneko
@tacokoneko 6 ай бұрын
and like i thought, he brings up "not open source" as a reason to not use vscode, i agree so i guess the video is not targeted at me since i use vscodium only
@tacokoneko
@tacokoneko 6 ай бұрын
i find it interesting that he would list the closed source parts as negatives and then go on to describe them as "the good stuff ™" seconds later. i just find it intriguing that he would hold these beliefs simultaneously, that's all
@smittywerbenjj1
@smittywerbenjj1 7 ай бұрын
If you dont write a message when committing and hit the commit button, vscode will open a new tab that gives you plenty of space to write your commit message. That tab also has intellisense functionalities for git issues among other features.
@chrisgascoyne2958
@chrisgascoyne2958 7 ай бұрын
I do this and walk away, come back 15 minutes later to check my pipeline in gitlab and I haven't committed anything :')
@Iaotle
@Iaotle 7 ай бұрын
​@@chrisgascoyne2958that's because you didn't push xDDDD
@R.Daneel
@R.Daneel 7 ай бұрын
@@chrisgascoyne2958 Apt punishment for trying to commit without a commit message 🙂
@sudo008
@sudo008 6 ай бұрын
Even better, follow deliberate git principles by using the terminal to make the commits. The GUI is frankly terrible at deliberateness.
@merlin9702
@merlin9702 6 ай бұрын
@@sudo008 Many people who use the terminal just do: git add .; git commit -m "update"; git push and there will be a day where I'm going to smash their keyboards and fingers with a hammer (in minecraft don't arrest me please), so I'm really not convinced that the gui is making anything worse.
@Tntpker
@Tntpker 6 ай бұрын
I work as a data scientist/analyst and VSCode is by far the best editor to work with Jupyter Notebooks. Having Vim bindings just improves my efficiency even more.
@katto1937
@katto1937 6 ай бұрын
Yeah for some use cases like ML and Data where external tools are used all the time VSCode is definitely more efficient
@thebluriam
@thebluriam 5 ай бұрын
You haven’t used PyCharm or Datalore
@kiunthmo
@kiunthmo 3 ай бұрын
I was Pycharm for ages because I think the debugger is top tier. But this weekend I got my Windows machine running WSL to debug a JAX Docker container using dev containers in VSCode - all on FREE software. Yeah easy use of notebooks is also very useful, personally I don't implement them but it's very useful to at least be able to run them and I have no idea why its pro only in Pycharm. Also from a Dev Ops perspective I can share all the JSON configs with my team and they can replicate all this mad workflow stuff with ease.
@ChesterGingrich
@ChesterGingrich 8 ай бұрын
"If its written in Rust you MUST tell everyone its written in Rust"! 🤣🤣🤣
@00SEVEN28
@00SEVEN28 6 ай бұрын
It's like Arch/Linux. "I use arch btw."
@EbonySeraphim
@EbonySeraphim 6 ай бұрын
There is somewhat of a reason for that. It's unsurprisong when a native tool is written in C or even C++, and it is entirely expected in fact as we know those languages have the capability to create mature, stable, and hardended tools. Newer languages for compiled programs don't have that assumption. They often fall short in some way or another, or the entire reason it works is by virtue of a supporting framework/library that eliminates whether or not you care about the library. Electron is a good example; do we even know or care what underlying language was used when it's an electron app? No; what mattered was electron. With Rust, it's different. The heavy lifting is being done through the programmer and the language itself, and it is surprising this much already useful, resource efficient, non-memory leaking, end-user software is being created this fast. That is a testament to Rust and the goal is for us to have more/better software because the langauge enables it; not to make the language more used even in suboptimal use cases.
@kaostical
@kaostical 7 ай бұрын
Not having auto-completion is not a minor inconvenience.
@aniksamiurrahman6365
@aniksamiurrahman6365 6 ай бұрын
Quit coding and get a typist job.
@thomsejenkins7544
@thomsejenkins7544 5 ай бұрын
Im sure he did cause you said so ;)
@truthdeeds3612
@truthdeeds3612 8 ай бұрын
One of the least things I worry about is what IDE should I use.
@ntesla5
@ntesla5 7 ай бұрын
Then you are really missing some cool stuff that can reduce your work
@SergiobgEngineer
@SergiobgEngineer 7 ай бұрын
If you are a developer, then you should.
@truthdeeds3612
@truthdeeds3612 7 ай бұрын
Every programming language recommends q specific IDE while not closing the idea of using other also. I have different IDE for specific reasons, but 70 percent of thr time, I use Vs code.
@truthdeeds3612
@truthdeeds3612 7 ай бұрын
Not really. I do too
@jamestucker4800
@jamestucker4800 7 ай бұрын
@@SergiobgEngineer only pencil neck dorks really obsess and worry about something like an IDE
@paulfrydlewicz6736
@paulfrydlewicz6736 8 ай бұрын
So basically the arguments against vs code are it takes 300mb memory and it's "sometimes" (whatever that means) slower (compared to what?).. If that is the argument against vs code than I see it at 90% market share soon. It's just too good.
@denysmiller17
@denysmiller17 8 ай бұрын
Yeah, you are right. Another pycharm ad. Pycharm not optimized, use 6 gb ram in idle, cant open big files, code completion use bad tips
@jongeduard
@jongeduard 8 ай бұрын
On my system VS Code actually takes about 5 GB and I have even seen it twice as big at least. But it depends on the number of installed extensions and programming languages that you develop in. However in the video, he only looked at the dot vscode directory wich mostly stores extensions, but there is another just as important directory with the name Code, which on Windows sits in your AppData Roaming dir and on Linux in your dot config dir in your user home. Both of these directories can be significant in size.
@AndersJackson
@AndersJackson 8 ай бұрын
@@jongeduard yes, and everything that VSCode can do, Emacs (and mostly vim) can do with way less space on RAM and disc, and thus much more efficient.
@jongeduard
@jongeduard 8 ай бұрын
​@@AndersJackson Yes we know that. But I think it's also fair to look at this aspect from different points of view. Just consider what VS Code actually adds when you subtract the large "Chromium layer" size from the total allocated memory and just look at the actual memory usage top of that layer. This is quite likely to be a lot smaller and is probably be much more comparable to loading simply a large webpage in a tab in your already running webbrowser. However, this excludes extensions of course, which can be really large, but which also come with complex functionality like debugging tools and a lot of code completion features. I would not be surprised if some Neovim extensions are also quite big. Maybe I will try Neovim one day though. Currently I am familiar to the regular Vim, although I don't use it for large software development.
@AndersJackson
@AndersJackson 8 ай бұрын
@@jongeduard don't care that much about Neovim, I am a Emacs man. And yes, Emacs still is smaller then VS Code, and it doesn't matter that it is the Chrome layer that take most of the memory. Because that is the runtime that VS Code has made the choice to use. Until VS Code choose another run time, there are still part of the memory use running that program. Using Neovim is just extension language diffrence from Vim, so you should be able to use that. But Emacs is much more expandable, as the Emacs is self documenting, which make it a great tool for hacking, with a good language for writing those extensions.
@Luke-mb4rw
@Luke-mb4rw 7 ай бұрын
What a dumb clickbait title. Is that the quality of decisions we should expect from this channel?
@TonnyStaunsbrink
@TonnyStaunsbrink 7 ай бұрын
Did I get that correctly? An argument against reliance on Vim plug-ins is, that they always "somebody's" project. Presented at a Python conference, Python which itself was once "somebody's" project.
@jocketf3083
@jocketf3083 7 ай бұрын
I would imagine it was about the risks of a single point of failure. That's not true of all plugins. However, if there's just one person working on something and that person vanishes you may end up being forced to change. If more than one person is involved with something there's less of a risk of something going wrong. I've had that happen with a window manager, and was painful to deal with.
@WVWVW1
@WVWVW1 7 ай бұрын
Which one? Tab Manager Plus? @@jocketf3083
@user-yw5me7pb2x
@user-yw5me7pb2x 7 ай бұрын
Your point being?
@jocketf3083
@jocketf3083 7 ай бұрын
@@user-yw5me7pb2xAs in, I think the bus factor is a valid thing to consider when picking tools.
@Nitiiii11
@Nitiiii11 7 ай бұрын
23:00 every editor worth speaking of has code completion so how is that a disadvantage?
@basicguy5785
@basicguy5785 7 ай бұрын
Not saying that VSCode is always the best, but your reasons are obviously related to special cases such as using Python. And the disk space argument is totally not a thing, you are not running the IDE on your washing machine or calculator. 300Mb is nothing on today's computers.
@justalonelypoteto
@justalonelypoteto 6 ай бұрын
I don't get how the memory argument was not immediately thrown out. Seriously, VSCode could use 8GB for all I care, you're not rendering 4K in a hurry while coding, you're not playing Hitman 3 while you write up an API and you're not playing Cities Skylines with 120 running mods when patching a driver build. My 6 year old PC build contains a grand total of 16GB at 2333MHz, not even _that_ much back in ye olde 2017. Unless your code editor is swallowing up most of your RAM what the hell do you care how much it uses? What could you possibly be doing on the side? And if we're talking about working in a company and saving resources over many employees, how is that worth a possibly negative UX for your paid workforce? Saving 500MB of RAM on a dev is almost certainly not paying for the reduction in productivity
@Garejoor
@Garejoor 7 ай бұрын
I have seen people name their variables a, b, t I judge a programmer by the code they write not how they wrote it. And of course how fast they write is a factor but in my opinion its secondary
@QuackGoesTheDuckQuackQuackQuac
@QuackGoesTheDuckQuackQuackQuac 7 ай бұрын
My IDE is the chatgpt window
@CorneliusRoemer
@CorneliusRoemer 7 ай бұрын
Problem with the "sensor" and lack of Intellisense suggestions was likely that sensor wasn't typed close enough.
@NeilRieck
@NeilRieck 6 ай бұрын
Don't forget that "vim -d file1 file2" is great for pulling up two files for a side-by-side comparison
@shekelboi
@shekelboi 6 ай бұрын
You can do that with VS Code too using code --diff
@syrus3k
@syrus3k 6 ай бұрын
Using a 'proper' IDE does *seem* a lot better, at least to me.. but then I started thinking.. am I actually more productive using vscode than I used to be with emacs (or vim)? Probably not in fairness.
@technowey
@technowey 7 ай бұрын
That he even judges people based on the IDE they use makes me reject his views. There’s can be legitimate arguments about what’s better, however, it’s the code they write that matters. People learn tools, and then get used to them. He also said, “It uses quite a bit of disk space as well.” However, if there are more features or better features, I’m fine with that. My primary development system has only multiple high speed SSDs that amount to 4TB of storage. I’m using a small fraction of that now. And, in the end, he argues that because what he uses is harder than VSCode, it helps him get into a flow-state. I’ve never used VSCode, however, after reading that, I want to try it. I rarely have issues getting into a flow state, so easier sounds better.
@justalonelypoteto
@justalonelypoteto 6 ай бұрын
I feel like the anti-VSCode crowd is a bit like the vegans of linux, aka Arch. I get that you can customize it to hell and back, that's awesome, but you know what's awesome about VSCode? It just f*ing works, out of the box. Wanna write up massive HTML in seconds? Emmet is included. Don't know which keybinds make sense for Emmet? There's an extension that takes care of that. It's just so damn comfortable, I'm not a power user per se but when you're actually "working" on something I'd argue getting constantly annoyed and fixing things because your editor is a janky mess of DIY concoctions, that is a big minus for "flow-state". I love adding 50 HTML elements with pre-set patterned IDs and just tabbing through the content fields, or auto-wrapping multiple list elements at once *and not having to dedicate a second of thought to how I got that to work, because it just does* and my job here is to code and (almost certainly) not to make my own editor. As a big privacy guy, I still use Windows almost daily for the same reasons. I get the telemetry and whatnot is a big negative aspect, but doing common things in Linux almost always brings a major level of jank which I usually just don't want to deal with, my father actually raised me on Linux and yet I still often can't stand it. Best case scenario in Linux (if Wine doesn't work) is that there's an open source program for x task, which is great and all, but I find they are always such barebones things. GIMP existing is awesome, I'll give you that, but its user interface is undeniably meh and that's what I dislike about so many of these great initiatives, that they're often just too janky to do outside of "linux is my hobby" (exception being Blender, god I love Blender 3.x so much more)
@rallokkcaz
@rallokkcaz 6 ай бұрын
Did this man get frozen in time for 15 years and woke up 5 months ago? I feel like everything in this talk is common knowledge and any sane developer has probably already tried it at the very least. Maybe I'm a crusty old engineer at this point, but this is like 5 minutes of searching on google's worth of info.
@tauraamui
@tauraamui 7 ай бұрын
I've been working on an editor called Lilly, it's basically Helix but follows the VIM philosophy and modal system rather than something esotric like Kakune's.
@apivovarov2
@apivovarov2 7 ай бұрын
Which of them have bazel and cmake plugins?
@linuxrant
@linuxrant 7 ай бұрын
Micro is great, I can't think how my life would be like without it. I am using also neovim, but I am still a little rough with it, can't get clipboard, switching buffers, and some motions right. So to run quickly my python code I often use Kate with pylsp plugin and vim motions, it uses Konsole as terminal, and I can launch my scripts with an easy keybinding.
@SaHaRaSquad
@SaHaRaSquad 7 ай бұрын
If you add "set clipboard=unnamedplus" to the vimrc it will automatically use the system clipboard for all operations that copy, cut, delete and paste text. Aside from that custom keybindings can be helpful for making some features more convenient to use.
@pu239
@pu239 7 ай бұрын
micro is my
@denysmiller17
@denysmiller17 8 ай бұрын
Pycharm more non-free, than vscode. What he talking about? Pycharm cant open big file (3 or more mb), its using 6+ RAM in idle. Its crazy!!
@chris123usa
@chris123usa 7 ай бұрын
Maybe a basic question - how does one configure vim to work like the presenter does at 27:43 ?
@TheDuckPox
@TheDuckPox 7 ай бұрын
plugins
@thecompanioncube4211
@thecompanioncube4211 20 күн бұрын
With substantial quantity of headache
@JohannaMueller57
@JohannaMueller57 6 ай бұрын
i don't understand why conference videos always have crappy audio
@AndreasToth
@AndreasToth 6 ай бұрын
I get exactly what he's saying about vim, and any terminal editor in general, that it is much easier to feel that you're doing work and stay focused.
@falciexd
@falciexd 7 ай бұрын
i actually really like micro! used it for a really long time, hope it can achieve a neovim level of polish on the extensibility side soon
@CorneliusRoemer
@CorneliusRoemer 7 ай бұрын
If you press commit without having the commit message box filled, you will automatically get a new tab in which you can commit. No need to spin up the terminal.
@bartolhrg7609
@bartolhrg7609 7 ай бұрын
10:47 how can you not like the commit message box It's literally a text field like any other and then you press a button, and you don't have to switch to terminal and write 10 more letters
@RealFlicke
@RealFlicke 7 ай бұрын
Didn't get that either. I just write a few words and send it off. Are there any special features we are missing?
@kimono8413
@kimono8413 7 ай бұрын
@@RealFlicke The issue is probably the size of it
@RealFlicke
@RealFlicke 7 ай бұрын
@@kimono8413 But it resizes if you press shift+enter. I thought it was made this way because commit messages are supposed to be very short anyway.
@Brawaru
@Brawaru 7 ай бұрын
And if you need to write an essay, you can just click Commit without entering the message: it will start committing and open COMMIT_EDITMSG file for you.
@johnny_eth
@johnny_eth 6 ай бұрын
Your commit messages should be verbose and explain the issue being fixed or implemented. The git history is documentation and needs to be useful for everyone, including you a year from now. A small text field encourages useless commit messages.
@ac2italy
@ac2italy 7 ай бұрын
no mention of sublime text?
@FixIt42
@FixIt42 6 ай бұрын
"I don't remember how to invoke it now" kinda says it all. Not here to start a war but I generally think that if you need a manual to use something it's not user friendly and intuitive enough. My first what is he saying in this video was the "350MB is a lot". The second "look you can see it all here too" which I did not lol. The mayor one was indeed "I use it since if it's too easy my brain doesn't get that I'm supposed to work" = I do it because I'm used to it and have a hard time switching, not since it's better. And then the first mentioned icing on the cake lol. I was seriously interested in alternatives and started using vs code about a year ago. I guess I should look at using more of vs codes features instead... but I'll definitely keep doing git from vs codes command line. It is great to see which files have been changed though!
@CyberSnakeEater
@CyberSnakeEater 2 ай бұрын
The IDE that best addresses the privacy issues but keeps functionality is VSCodium
@powentan
@powentan 7 ай бұрын
Hi, I used to be a vim guy. But now I am using vscode because I need the lsp "pylance" for Python. You can't use "pylance" everywhere other than vscode. Does anyone have good suggestion for pylance alternative which should work as good as paylance?
@Raimox112
@Raimox112 7 ай бұрын
What's wrong with the lsp servers available on vim as plugins?
@powentan
@powentan 7 ай бұрын
@@Raimox112 Since you can use "pylance" with vim, the only choice would be "pyright". But the "pyright" often shows some red highlights to alert me some issues which are false alarm. I think my question would be: is there any vim lsp server for Python that can work perfectly like "pylance" does?
@ashikurrahman2247
@ashikurrahman2247 7 ай бұрын
Pyright
@kimono8413
@kimono8413 7 ай бұрын
what does pylance do better than whatever you used to use?
@B20C0
@B20C0 6 ай бұрын
@@ashikurrahman2247 Pyright just spams you with false alarms.
@rtzzz9772
@rtzzz9772 6 ай бұрын
Having watched this completely through, not sure it is at all clear to me, why VSCode can't be used. What difference does it make to anyone that it is not truly open source, if it works free of charge? At the end of the day, we are using these editors to create new apps. I certainly don't want to be spending lots of my time configuring eMacs or a derivative just to get to my actual project.
@sunofabeach9424
@sunofabeach9424 6 ай бұрын
"muh privacy" moment. there are these people, just ignore it and use whatever gives you the most pleasent experience
@victortitov1740
@victortitov1740 6 ай бұрын
i'd say, the problem is that they can have a gotcha in the terms and conditions, and if you use it for some serious commercial project, you might get into a deep gotcha, ending up with huge payments to microsoft. Or they just say "sorry, not free anymore, pay 9999 to continue using it".
@henriquemarques6196
@henriquemarques6196 4 күн бұрын
@@sunofabeach9424 It's not just about privacy, is also about freedom. I use Emacs because I value software freedom, it's not just about "muh privacy". If you don't value privacy and software freedom just use VSCode and call it a day :)
@RobertLugg
@RobertLugg 7 ай бұрын
Still don't know the point of this talk.
@george-broughton
@george-broughton 7 ай бұрын
I'll do what i want.
@dmytrk
@dmytrk 9 ай бұрын
I knew, there must be Tmux in the end😂
@MarkusBurrer
@MarkusBurrer 7 ай бұрын
A great editor in my opinion is Helix. It is a modal editor similar to Vim, but it comes with much more batteries included. So if you have set up the language server for your preferred language you don't have do set up anything in Helix. And the "select first" order is much better than the "command first" in Vim. And I never heard of Lapce. Sounds interesting.
@yt-sh
@yt-sh 7 ай бұрын
@tauraamui below talked about lilly a helix based editor
@iamdozerq
@iamdozerq 7 ай бұрын
When you do extensive debugging and want to use things like language server with syntax highlight and code actions and more... Configure vim or emacs can be REALY hard. I'm novice here in selfmade ide world and spend more than a 3 to 4 weeks of trying configure emacs.... It's just.... unbelievably hard. When you don't like default config and want to configure it - it one story. But when you have nothing to configure and download package manager for download all of what I mentioned with ZERO configurations and have to build up it from nothing and remember all new hotkeys AND make new ones when you don't even know what default one is... It's just too much. I wrote NOTHING with my emacs configuration because all new hotkeys and demand to make new ones is too disturbing. If you just write some files - vscode and fancy ide is useless. But if you NEED an full ide workspace making a new one should be your new hobby for next 5 or so years and you will use real ides before you can use new selfmade emacs one. VS code is bad, microsoft is bad, all things in this world is actually bad in our it world but making own OS with own ide with own browser is not an option for most of us.
@hyperbolee1060
@hyperbolee1060 7 ай бұрын
I suppose he'd argue that you'd use the debugger directly from the command-line (gdb, lldb, etc)
@EngineerNick
@EngineerNick 7 ай бұрын
This happens every time I try tell everyone how great it is... it doesn't work when i show them. Especially for python.
@capability-snob
@capability-snob 7 ай бұрын
The first electron-based IDE microsoft created was lighttable. Somehow we've collectively forgotten that one. 😅
@fwsuperhero1
@fwsuperhero1 7 ай бұрын
It wasn't created by MS, right?
@capability-snob
@capability-snob 6 ай бұрын
@@fwsuperhero1 oh right, I"ve gotten the timeline mixed up. Chris Granger _was_ working on IDEs at Microsoft, but that was prior to launching light table. For some reason I had him _at microsoft_ when it was first announced.
@fwsuperhero1
@fwsuperhero1 6 ай бұрын
@@capability-snob I didnt know that :-).
@colinmaharaj
@colinmaharaj 6 ай бұрын
question: Which is the dominant IDE?
@kdallas2007
@kdallas2007 6 ай бұрын
Exactly.. surely 73.7% of 25+ million software devs can't be wrong can we?
@TheStevenWhiting
@TheStevenWhiting 8 ай бұрын
Use what ever edit you like and are comfortable with.
@your_virtuoso
@your_virtuoso 7 ай бұрын
Very interesting talk. I enjoyed it My first lecturer really instilled VI/Vim back then, lol
@Nitiiii11
@Nitiiii11 7 ай бұрын
good, considering Neovim is one of the best editors out there.
@zeus7914
@zeus7914 7 ай бұрын
VSCode is fine. Don't use Python.
@Purely_Andy
@Purely_Andy 7 ай бұрын
this is the realest comment under this video
@Bodom1978
@Bodom1978 7 ай бұрын
Agreed 😂
@brian8656
@brian8656 7 ай бұрын
why not
@alejandroioio6784
@alejandroioio6784 7 ай бұрын
Dont cry
@edgeeffect
@edgeeffect 7 ай бұрын
VSCode is fine and so is Python.
@deadpooling
@deadpooling 5 ай бұрын
I can't understand why people concerns about which editor to use when they should concern on writing code in best way possible
@radupopa5217
@radupopa5217 8 ай бұрын
Agreed, monopolies are NEVER a good idea especially for OSS.
@dyto2287
@dyto2287 7 ай бұрын
Microsoft already kinda owns OSS with Github + VSCode. 😂Weird times...
@bryamalfaro
@bryamalfaro 7 ай бұрын
I agree
@fdagpigj
@fdagpigj 7 ай бұрын
@@dyto2287 That's why we avoid github too. Everyone here avoids github, right?
@codokit
@codokit 7 ай бұрын
@@dyto2287 + Copilot. It means thay own your OSS code.
@Takyodor2
@Takyodor2 6 ай бұрын
@@dyto2287 ??? Github/VSCode != OSS (not even remotely)
@NoName-1337
@NoName-1337 7 ай бұрын
I want to write my code without a phd in editors like vim, emacs, word, etc.
@Cobalt985
@Cobalt985 6 ай бұрын
WORD?
@NoName-1337
@NoName-1337 6 ай бұрын
@@Cobalt985 kzbin.info/www/bejne/jmSXi6Chmr93pdU
@holleey
@holleey 7 ай бұрын
nothing wrong with the commit message input box lol. type something and hit ctrl+enter, done.
@thenayancat8802
@thenayancat8802 7 ай бұрын
Yeah I dunno, "it's difficult and miserable and that's why I love it" isn't the sales pitch I need
@user-he4ef9br7z
@user-he4ef9br7z 7 ай бұрын
Drag and drop nocoders be like:
@reefhound9902
@reefhound9902 6 ай бұрын
I found The Good to be spot on and The Bad to be trivial nitpicking. Resources are cheap and just a few hours of time saved more than covers the cost of adding resources. VsCode uses a teeny fraction of my 2Tb disk space and 32Gb memory. Convenience is time and time is money. As for monoculture being bad and criticism merely because it is ubiquitous, I wonder if he advises not to use Git for the same reasons?
@TheVincentKyle
@TheVincentKyle 6 ай бұрын
"I consider [the learning curve] to be a feature rather than a bug" -- yeah, of course you do.
@justalonelypoteto
@justalonelypoteto 6 ай бұрын
kind of guy to introduce himself on a date with "I use gentoo"
@StanislavStratiev
@StanislavStratiev 9 ай бұрын
As an answer to the person asking for the usage of notebooks: One can write a 2 line function to send a highlighted area to a 'main' terminal, bind that to a key, bind the functionality to set the main terminal, and then run anything as a notebook. I've been doing this for the past two years and it has all the advantages of a notebook and none of the annoying disadvantages (e.g. Having to use a browser or vscode to view them, can't have them as vim buffers and in general clumsy interface) One can also use this notebook like functionality for arbitrary languages and in debug mode to send full blocks of code to the terminal instead of clunkily copying stuff like many vscode users I have seen.
@sbdaule
@sbdaule 9 ай бұрын
Thanks. But it doesn't work when you need to share the file and everyone else is using jupiter notebook. I use jupyter ascending and paired notebook for that.
@StanislavStratiev
@StanislavStratiev 9 ай бұрын
Fair point! I didn't know about "jupyter ascending", thanks for pointing it out :) @@sbdaule
@tomemcd
@tomemcd 8 ай бұрын
Hi, can you give an example or reference for this 2 line function and how to bind?
@StanislavStratiev
@StanislavStratiev 8 ай бұрын
​@@tomemcd Hi, I am only now seeing this, sorry. I will paste this below. Feel free to edit to your liking: `custom_functions.lua` ``` function M.set_main_terminal() vim.g.main_terminal_job_id = vim.b.terminal_job_id print("Main terminal job id set to " .. vim.g.main_terminal_job_id) end function M.paste_to_terminal() vim.api.nvim_chan_send(vim.g.main_terminal_job_id, vim.fn.getreg('+') .. ' ') end ``` `keybindings.lua` ``` vim.keymap.set('n', 'pt', '"+Y:lua require("custom_functions").paste_to_terminal()', {desc = 'Paste line in main terminal'}) vim.keymap.set('n', '', require('custom_functions').set_main_terminal, {desc = 'Set main terminal buffer'}) ``` Of course, you can just put both of these in your `init.lua`.
@tomemcd
@tomemcd 8 ай бұрын
Thank you@@StanislavStratiev
@AspartameBoy
@AspartameBoy 7 ай бұрын
Ah but why not just use an abacus?
@MaksymCzech
@MaksymCzech 7 ай бұрын
I code mainly in JS and use FAR Manager.
@okuno54
@okuno54 7 ай бұрын
Wait, you think the learning curve for vi and emacs is good because you personally find it hard to focus when using an electron app? That is a personal problem; most everyone else, including my ADHD brain, doesn't need to avoid electron because it's distracting. Heck, the learning curve is a thing that's only a problem at the start, so the learning curve isn't even the thing helping you not get distracted! Isn't there a way to customize the GUI to make VScode not look like Reddit?
@materialknight
@materialknight 6 ай бұрын
I think VSCode doesn't have that level of customization, but it does have a Zen mode 🙂
@vadiks20032
@vadiks20032 6 ай бұрын
i cant watch this video but i've read description. saying vs code is good for strong computers on a channel about python seems a bit ironic to me
@zdspider6778
@zdspider6778 7 ай бұрын
He shouldn't have complained about 300 MB... It sounds funny even saying it. Yes, it's ridiculous that a fricken *text editor* (not a real IDE) uses so much space. But that's because it comes with a whole-ass browser. VSCode is basically a website.
@Luix
@Luix 8 ай бұрын
Use vscode you are not a worse programmer. Discussing about IDEs is wasting time.
@AndersJackson
@AndersJackson 8 ай бұрын
Then you never will see a better IDE/Editor or what is good in others and what you want to do in the one you are comfortable with.
@Luix
@Luix 7 ай бұрын
@@AndersJackson I don't see Carmack discussing about IDEs
@dickheadrecs
@dickheadrecs 7 ай бұрын
@@LuixHe’s used Visual Studio for decades.
@brandoncyoung
@brandoncyoung 7 ай бұрын
Exactly who cares.
@RM-xr8lq
@RM-xr8lq 7 ай бұрын
⁠@@Luixyou missed the point of the talk
@Yaotzin51
@Yaotzin51 7 ай бұрын
"That commit message box is just.. stupid." Tells everything about the speaker. Seriously, i like dabbling with vim (because i don't know how to exit from it, send help!) but we're not in the 80's anymore. IDE's make coding easier and faster for most developers and VSCode is one of the best ones even tho i still think a different one is better for me.
@PixyTech
@PixyTech 7 ай бұрын
But VSCode is not IDE. This is text editor on steroids with plugins.
@apierror
@apierror 7 ай бұрын
Same thing about git. Yes, it's useful to know git commands and options so when things get messy, you can fix it, but there is no way in hell I'm gonna use commandline git and vi to merge stuff or do code review.
@serhiyserdyuk9087
@serhiyserdyuk9087 8 ай бұрын
The second half of video I was waiting that Kate will appear among alternatives list and was surprised that didn't happen considering speaker uses KDE Plasma Desktop. Otherwise cool video, thanks!
@gogudelagaze1585
@gogudelagaze1585 8 ай бұрын
I don't use Plasma anymore, but Kate/KDevelop were really good. Better than pretty much any other "second tier popularity" editor/IDE. The only real disadvantage Kate has vs VSCode is the much larger plugin ecosystem, but you can still get most things done with Kate.
@jongeduard
@jongeduard 8 ай бұрын
Good point. On Linux I am not primarily a Plasma user but more Xfce, but I am an explorer of many operating systems, desktops, tools and programming languages and I know Kate is actually a pretty nice application, it looks great and also supports Vim keybindings (although not everything works the same) which is important to me, so I agree with that it would have been a great thing to notice. But maybe he just didn't know. The world of open source software is really huge today and it's impossible to know everything.
@davidobrien6727
@davidobrien6727 7 ай бұрын
I don't use Plasma either but use Kate daily on Gnome/Fedora. I've had a bit of a look at VS Code but haven't seen anything to draw me away from Kate. Been using it and Vim for 15+ years.
@andrewphi4958
@andrewphi4958 6 ай бұрын
noone's talking about Code::Blocks. sad. (
@aggelospapageorgiou6204
@aggelospapageorgiou6204 7 ай бұрын
so use an IDE with less features for absolutely no reason other than this guy not liking VSCode? what?
@Nitiiii11
@Nitiiii11 7 ай бұрын
Why would I not use Neovim, which is much faster than VS Code and has all the features I need?
@Adiounys
@Adiounys 6 ай бұрын
No multiple windows and doesn't integrate with explorer - this is wy I don't use it. It's a shame because otherwise it's great.
@DefinitelyNotAMachineCultist
@DefinitelyNotAMachineCultist 7 ай бұрын
It's one of the least bloated 'IDEs', and is a borderline flexible text editor more than an IDE. Tons of extensions, Vim compat settings, etc. I'd argue it's closer to Vim and Emacs in some ways than typical special-purpose IDEs, but when it comes to ease-of-use versus customizability tradeoffs, sets itself apart by leaning more heavily towards the former.
@RealFlicke
@RealFlicke 7 ай бұрын
I recently heard someone complain about customizability of VS Code and I couldn't relate at all. The thought that something is missing never occured to me in the 4-5 years I have been using it. And I have like only a handful of the default settings adjusted. So I guess I match the target audience perfectly.
@TheDuckPox
@TheDuckPox 7 ай бұрын
sure it has a lot of extensions, but its extensibility is laughable if you try to compare it to (neo)vim/emacs.
@DefinitelyNotAMachineCultist
@DefinitelyNotAMachineCultist 7 ай бұрын
​@@TheDuckPox Yes, like I said, it's a tradeoff. Even with Emacs, for example, you have popular presets like Spacemacs and Doom. The reason is that people tend to like a reasonable set of shared defaults, that other people use and know how to teach them about quickly. I actually found it easier to use vanilla Emacs with the *straight.el* pkg manager, since it's similar to my system manager (Nix for NixOS), and there's less 3rd party boilerplate that could cause bugs or unclear behaviour that causes you to waste more time debugging than just adding an extra bit of ELisp config code yourself. At a certain point, before I got into coding as a job, I had probably written more ELisp config code than actual code lol The problem with all of this is, when you tend to work a lot with other people, it's easier to use something less configurable, so you can debug each other's crap easier, and because it's easier to convince them to use it in the first place. It's probably why, in terms of popularity, Python beat Ruby, Windows & macOS beat Unix derivatives like FreeBSD and Linux for many home users (at least at first), and the C family of languages in general beat the Lisp family. I think the 'straitjacket' is a feature, not a bug in many tools. Does it handicap people who could work better without all the sometimes arbitrary and sometimes needless rules and limitations? Of course. But it also helps everyone else know what to expect in a way. Like I said, tradeoffs. Also, I had developed a ricing addiction with Emacs, and had to give it up entirely for my sanity lol
@matt-eu-poland
@matt-eu-poland 6 ай бұрын
IMO with extensions one can make it fully featured IDE.
@RandomGeometryDashStuff
@RandomGeometryDashStuff 6 ай бұрын
22:35 I only use vscodium only to rename symbol in javascript, kate for editing text, meld for nice diffs, git and gittyup for git stuff
@ephemer
@ephemer 6 ай бұрын
This was pretty unconvincing. The fact that VSCode uses a couple of hundred MB of disk space and RAM by default is not going to matter to 80%+ of developers. The fact that certain parts of VSCode are closed source are matters of preference and/or ideology. I also don't think they matter to most developers. I don't use VSCode because I find it's too slow and unresponsive for my liking, and I find the scrolling UX to be uncomfortable and unnatural compared to native apps. I also find its multi-cursor support to be far inferior to other editors. There are some reasons to use VSCode, for example it's the only supported editor for certain new languages and features like GitHub Copilot, but it's just not for me. At the end of the day these are personal preference issues.
@user-wz5ef3xg6k
@user-wz5ef3xg6k Ай бұрын
If lost was a person.
@MrSavalik
@MrSavalik 7 ай бұрын
Why do people argue about git functionality instead proprietary engines?
@jekker1000
@jekker1000 7 ай бұрын
at work i only do work with vscode. At home i do projects in vs code and sometimes spacemacs. The problem with emacs is the time to get things running. oftentimes packages are out of date, not running anymore and you sink 20 hours to setup your project into it. Performance of VSCode has never been an issue, only the telemetry thing is annoying. Your talk reminds me of using emacs more frequently again. And I am totally in with your focus argument. In vscode you always have to use keyboard and then mouse etc. so i am oftentimes never getting into a flow. With emacs i can perform all actions extremely convienently solely with key strokes.
@Diamonddrake
@Diamonddrake 5 ай бұрын
Recommending a closed source commercial software over a free one because the free one is only partially open source is a crazy conclusion.
@jjolla6391
@jjolla6391 7 ай бұрын
the vim plugin Conqueror of Completion is a very useful addon
@albud6687
@albud6687 6 ай бұрын
Super curious to know but can anybody tell me in 3 minutes?
@iMaxBlazer
@iMaxBlazer 6 ай бұрын
Do not waste your time, it's clickbait to sell you VSCode
@philippeweltz883
@philippeweltz883 7 ай бұрын
You did not mention ' spyder' or I missed it? Seems pretty decent to me. Even IDLE is not too bad, it has code completion for instance...
@reviewspaceuss
@reviewspaceuss 7 ай бұрын
I made a compiler for toilet paper
@SpicyEngineer
@SpicyEngineer 7 ай бұрын
I would recommend Rider as the top alternative to VSC.
@billsneddon
@billsneddon 7 ай бұрын
Thanks for this video. I know there were a myriad of you could have reviewed but curious why you left out sublime?
@mmendes
@mmendes 7 ай бұрын
proprietary
@CharGorilla
@CharGorilla 24 күн бұрын
This didn't really age well. 300MB or disk per user. I know it's still M$, but have you seen active directory? Apple / iTunes have similar space wasting features. But multi-TB SSDs are pretty common.
@CeccoPierangioliEuge
@CeccoPierangioliEuge 7 ай бұрын
Oh, too bad my spare time project TUI Editor "ttkode" was not mentioned in the recommendations 🤣
@jonathanmoore5619
@jonathanmoore5619 7 ай бұрын
Just write and create decent code.
@user-vu4or4ih8p
@user-vu4or4ih8p 5 ай бұрын
Thanks. Useful
@bulelanibotman
@bulelanibotman 7 ай бұрын
VSCode is awesome. I tried Vim and I actually enjoyed it also but small things got me angry like configuring a lot of language servers for example to have a decent experience when writing code in a particular language made me tiresome, I guess I don't have the patience. One thing I took from Vim though is the keybindings, I can't live without them, I am more faster & efficient when I'm not writing and moving my mouse to do mundane things like changing / renaming a function
@chandywerks
@chandywerks 7 ай бұрын
Lunarvim has a nice out of the box experience closer to what you expect with any modern IDE.
@radscorpion8
@radscorpion8 7 ай бұрын
right but after importing the bindings into another IDE what is the advantage of vim exactly. Its so weird and limiting to use a terminal to edit files. In any IDE you can look up parent classes, read method definitions, easily run and debug your code or get AI suggestions now, plus the seemless integration to git...anyone who uses vim to code honestly that's pretty weird
@chandywerks
@chandywerks 7 ай бұрын
What's a more seamless integration to git than working in the terminal? XD I don't know why I've just been using a terminal editor forever and I like using a web browser for looking at docs. I have the co-pilot plugin as well, what more do I need? Maybe I'll give vscode a try with the vim plugin. I don't like touching the mouse when I'm coding.
@Nitiiii11
@Nitiiii11 7 ай бұрын
@@radscorpion8 You don't know what you are talking about. You can see "parent classes" with treesitter, "method definition" can be done with treesitter or LSP, debugging can be done with e.g. nvim-dap or gdb. Git can be done with e.g. lazygit which btw is much faster than the VS code git integration. If you don't know these things, that's ok, but please stop spreading misinformation about vim or neovim.
@Trizzi2931
@Trizzi2931 7 ай бұрын
If you use something like neovim which is kinda successor of vim imo then you can use plugins to help you with that. Something like lspconfig and mason helps you config all the lsp with just few lines of code. Of course there is some learning curve but for me it’s worth it. I feel like I know what’s going on behind the rather than seeing vscode magically doing everything for me. For most of the user it might not matter but for me it does.
@DaveLaneNZ
@DaveLaneNZ 9 ай бұрын
Seen pulsar? The Libre fork of Atom...
@TheNefastor
@TheNefastor 7 ай бұрын
If you're so worried about VS Code not being as open source as your mom, you should know about VS Codium. If you don't, look it up.
@STFU665
@STFU665 6 ай бұрын
I'm sorry but there were more arguments for vscode (except the horrible framework they are using) then against it. The framework is still good enough, but this will change as soon as they are implementing too much stuff in the core. As for now it's a good choice for starters and pros as well. If you got something more clever for free, feel free to share....but u won't, because u know, money and stuff....
@mike020363
@mike020363 7 ай бұрын
Brave talk. I can enumerate a few other topics he might have chosen: "Tabs vs Spaces", "Curly Braces: Same Line vs New Line?", and, of course, "GNU vs Linux."
@CurtisDyer
@CurtisDyer 7 ай бұрын
I really like the point at the end about productivity mind state. At times, I find I'm easily distracted in trying to tweak things in VSCode or otherwise send myself down a rabbit hole unrelated to what I actually opened the editor to work on lol.
@Iaotle
@Iaotle 7 ай бұрын
Yeah but as long as this increases productivity in the long run that's fine. What's bad about vscode is that importing ALL your preferences, settings and extensions is annoying and not a one-click process.
@soanvig
@soanvig 7 ай бұрын
When I use VSC, there is some Vim guy who tries to convince me his editor setup is better than my editor setup. When I use VSC, there is some Jetbrains guy who tries to convice me his editor lack of setup (as I've never seen Jetbrains user who at least switched a color scheme) is better than my editor setup. Just let me use whatever I'm productive in >:(
@PaulSebastianM
@PaulSebastianM 6 ай бұрын
Yet it's kind of sad that no LSP-based editor does refactoring better than IntelliJ IDEs, especially for TypeScript.
@TheSwissGabber
@TheSwissGabber 6 ай бұрын
>complains that vscode eats a lot of memory and disk space >recommends pycharm
@kdallas2007
@kdallas2007 6 ай бұрын
🤭
@m12652
@m12652 7 ай бұрын
I always thought vs code was a Sublime copy..?
@igorborovkov7011
@igorborovkov7011 7 ай бұрын
for c++ qtcreator has much more superior support for cmake than vscode with extensions. VScode is nice for preparing git commits on mac os.
@iceice7498
@iceice7498 6 ай бұрын
What? First of all create docker support or other way to navigate within separate environment to support toolchain code navigation. After that we will continue to talk. On other hand vscode is damn way stupid by default. Haven't seen ideal solution yet.
@elbotho
@elbotho 6 ай бұрын
VSCodium is great. For me there was almost no difference for me for after switching.
@igorborovkov7011
@igorborovkov7011 7 ай бұрын
"Memory is not as expensive as it once was". Tell that to Apple.
@joshnjoshgaming
@joshnjoshgaming 7 ай бұрын
the fact that he seems to not know how to use it well is alarming when hearing an argument against it xD
@theelmonk
@theelmonk 7 ай бұрын
Who is going to learn to use something well when they don't like it ?
@justalonelypoteto
@justalonelypoteto 6 ай бұрын
@@theelmonk who is going to have a trustworthy opinion on the merits of a program they didn't even bother trying to learn? VSCode is a breeze for so many things, it has a marketplace packed with nifty extensions and so much more. Why would I care about its efficiency? Let it be inefficient, it cannot possibly lag on my PC and it's far from new, because it's a damn text editor, I'll accept that tradeoff for it, you know, just working without fuss and the usual open source jank (FTR I love open source, but most "big" FOSS programs are too janky to use as replacements for the industry standards, a notable exception being recent blender builds)
@theokramer_za
@theokramer_za 7 ай бұрын
Great talk - reminds of a talk I attended back in the late 80s by someone from Eskom on the vi text editor. I never looked back from VMS edt to vi, emacs in viper mode, vscode in vim emulation and vim
@zl0j
@zl0j 6 ай бұрын
You got the video title wrong. You didn't mention any real downsides
@justalonelypoteto
@justalonelypoteto 6 ай бұрын
"it's not hard enough so I no likey"
@Kenrro
@Kenrro 7 ай бұрын
lapce looks really nice!
I'm Gonna Try Zed Now (RIP VSCode)
13:37
Theo - t3․gg
Рет қаралды 172 М.
БАБУШКИН КОМПОТ В СОЛО
00:23
⚡️КАН АНДРЕЙ⚡️
Рет қаралды 17 МЛН
Zed “kills” VSCode
12:10
Alex Ziskind
Рет қаралды 697 М.
Why I Cant Stand IDE's After Using VIM | Prime Reacts
17:51
ThePrimeTime
Рет қаралды 284 М.
Stack Overflow stopped caring about developers a long time ago
22:33
Coding with Dee
Рет қаралды 49 М.
The moment we stopped understanding AI [AlexNet]
17:38
Welch Labs
Рет қаралды 824 М.
VSCode is Not Enough Anymore in 2024
3:21
Dev Panda
Рет қаралды 12 М.
So, you want to be a programmer?
20:43
ForrestKnight
Рет қаралды 235 М.
100+ Linux Things you Need to Know
12:23
Fireship
Рет қаралды 911 М.
I tried 10 code editors
10:28
Fireship
Рет қаралды 2,9 МЛН
5 Signs of an Inexperienced Self-Taught Developer (and how to fix)
8:40
Ditch VSCode Spyware For VSCodium
9:50
Mental Outlaw
Рет қаралды 235 М.
Проверил, как вам?
0:58
Коннор
Рет қаралды 189 М.
Как удвоить напряжение? #электроника #умножитель
1:00
Hi Dev! – Электроника
Рет қаралды 1,1 МЛН
تجربة أغرب توصيلة شحن ضد القطع تماما
0:56
صدام العزي
Рет қаралды 63 МЛН
Это Xiaomi Su7 Max 🤯 #xiaomi #su7max
1:01
Tynalieff Shorts
Рет қаралды 2,1 МЛН