by founderling · 7y ago · 0 comments
In other words, is your experience that developers who use an IDE are more productive then developers who only use a text editor?
In my experience, the (very few) developers I know who only use VIM or Emacs are way more productive then those who use an IDE.
The reason seems to be that they tend to 'sit back and think' about the task at hand. And then come up with elegant solutions. While the developers who use a lot of tooling seem to hope that the tooling will kinda force them to do the right thing. But from what I witness, that never works out.
I see a similar thing happening with coders who do a lot of tests (test driven development), some tests and no tests. Developers who don't write any tests are often the most productive.
If you look at them in isolation, sure. If you look at the whole team you'll see that the untested code drags everyone else's productivity down because all the other developers can't modify untested code without fully understanding everything it does. They have no tests to give them any confidence that they're not breaking stuff when they change it.
Developers who don't write tests are fine if they're working alone, but they're toxic to team productivity.
The code that comes out of developers that use IDEs is normalized in a way that makes it very easy to change. Sure, if your big enough you can spend all your time inventing linting rules and creating templates to generate scaffolding and tests.
Full disclosure: I'm a vim user.
Such queries are meant to discover notable impact, based on which you might invest in a proper evaluation.
- If you do low-level stuff like writing a hardware driver or a kernel module you will most likely be fine with a normal text editor because all in all it's not that much code
- My friends in a large PHP shop all use PhpStorm to work on large projects. They all tell me that you are way more productive in PHP with the specialized tools that PhpStorm offers. In the whole company there is not a single person who uses emacs or vi for PHP (a lot of them use vi for everything else, but not for PHP)
- I used to have a job where I had to switch between 2 dozen projects in the span of a few weeks and fix things. A proper IDE makes it much easier to navigate code you have never seen before. Without IDEs I would not have been productive in that sort of job at all
Without an IDE that can jump between those assemblies and source files it's an absolute nightmare.
But I suppose people that use emacs and vim are like vegans. Those that do, are definitely going to tell you about it.
If you’ve been doing vim or emacs since the 80s then great but I’m not going to go through months of configuration hell to repurpose vim into an IDE when I can do it the other way around.
A good example is SpaceVim that enables people who don't want to configure everything to use VIM as an IDE that provides most of the tools you'd need for developing.
E.g. it has a linter for python, mouse support and code-completion. I don't need much more to develop most of the time.
VIM is awesome and I think what most people whining about it ignore is the fact it runs in a terminal (vs. some big bloated piece of sh*t).
* Go to definition
* Extract method
* Introduce parameter
* Inline variable
* Rename method
* Rename variable
In a Jetbrains tool these are automatic / atomic operations.
It really does help to get a reminder from the IDE regarding which methods exist and what their parameter lists are. For C, ctags works well enough I guess and we can complete function names that way. But for Java and C#, I can't imagine that going well.
CALL -151
!
And type 65C02 assembly.Now get off my lawn.....
> Beyond a certain level of codebase complexity, there is simply no way to do the job with a text editor
An absurd claim. How can you interpret my post as a "get off my lawn" type thing?
I obviously also write more code when I don’t write tests, but the code isn’t better or more useful. I remember the times when there was much less testing so other people’s code was kind of useless a lot of the time.
Personally I use Sublime most, because I’ve done that for years, but for rookies reading this, don’t go and get Sublime just to mimic me. If you’re starting out then use whatever people you can get information from use, so you can ask questions and they have less friction when helping you. So if you write C# targeting Windows, having Visual Studio proper will be a boon so you’re probably using the same thing as the Stackoverflow people. Doesn’t matter that an Internet forum user uses Sublime or vim.
My comment reads like it comes off as snarky, apologies.
Absolutely none whatsoever. If anything it's negative. I have never found "speed of editing" to be remotely correlated with good code or even productivity.
That way it's easier to figure out what's going on in larger codebases, or one even just one you're not familiar with.
But on the bigger issue, correlation is not causation.
Many new developers start with an IDE because. So you’ll see a lot of inexperienced developers using an IDE. On the other hand, back in the day, if I wanted to have any chance of editing this file on the arse end of a 9600baud dumb terminal then vi is the answer. So there are old bastards still programming, who therefore have a ton of experience, who use vim.
Does using vim make you a good coder? Fuck no. Does using an IDE make you a bad coder. Also no.
I use an IDE. I’ve used an IDE since ‘92. Then it was slick edit on OS/2, at a company working on some of the hard bits of supermarket system, and everyone used it. One of the best programmers I know uses vim. However every other best programmer I know uses an IDE. I suspect the vim guy is wired differently. So if vim seems right to you then use it. If an IDE works then use that. Anyone tells you you aren’t a proper coder unless you use vim or emacs or edlin then they are telling you that they are a pretentious twat. My friend who uses vim will not tell you to use vim. He’ll tell you why he likes it.
But write fucking tests.
Something as simple as renaming a method and it is automatically renamed in your entire code base is a life saver.
https://www.jetbrains.com/resharper/features/code_refactorin...
I see a similar thing happening with coders who do a lot of tests (test driven development), some tests and no tests. Developers who don't write any tests are often the most productive.
Tests aren’t about productivity. They are about maintainability when you have to make changes. How many large code bases have you dealt with?
It's the same gubbins that VS Code uses for all of its cleverness.
This should not pass code review. If it doesn't have tests then it's a landmine for other programmers in the future, since they can break it without realising - possibly entirely indirectly, such as through a library change.
The most "productive" techniques I've seen are all metaprogramming - assemble something which matches the domain well and use that to produce a large volume of code from specification-as-data.
(Oddly, the only area where nobody bothers to do automated integration testing in my experience is embedded code, possibly because it's too hard to set up)
Fast forward a few years on that job, I'm finding myself utilizing a workflow that's tracking closely to ESR's TAoUP. I still have to lean on the IDEs for certain classes of problems that I might come across, but they became a tool in my toolbox instead of being the toolbox.
That was all well over a decade ago. I haven't touched an IDE in my full-time work since 2013 or 2014, when I wrote my last line of C#. If I had to go back, I'm glad that VsCode has appeared on the scene in the meantime, but I wouldn't be thrilled about it.
My personal opinion is that living at the layer that I live at, in a terminal with a multiplexer and doing things that leans heavily the UNIX philosophy, gives me an understanding of the systems that I create that I perhaps wouldn't get otherwise.
I've known a few who use sublime text, and there was no correlation with either being a good developer or being productive (though I haven't met a bad developer using sublime yet, mediocre ones are common enough)
Thanks. This comment made me feel like a best programmer.
Jokes aside, I love trying new tools, and it's probably just curiosity, and every tool you try either teaches you something you like, or something you don't. For instance, it's unlikely that I'll ever use an editor that doesn't have a vim-like plugin (for input), but I can't get myself to actually use vim anymore. At the moment I mostly use VSCode, Emacs, or IntelliJ... depending on the language and the support editor's for my workflows (in that language). In emacs, I tend to use the terminal in my editor, whereas in VSCode I'm usually switching between iTerm and VSCode. I sometimes run tasks, builds and debug from IntelliJ, but I'm not sold on the embedded terminal.
I'll have to be honest with myself here though: I often feel that whatever editor I'm using does indeed impact my productivity and that none of them is perfect, and perhaps this is why I'm never happy with any editor in particular. I've never really used a proper IDE other than XCode (maybe emacs counts as one, but I don't think the way I use emacs counts), so I'm always curious when I hear people talk about Visual Studio + ReSharper. I'm not a .Net developer and I don't use Windows, so I'll probably never know.
That being said, my productivity also varies from stack to stack. I'm not as productive in JavaScript as I am in Go or (I would say) Rust, and I think it's just down to the fact that the tooling is great in most editors, as well as outside the editors. I'm not sure I can confidently say that bout JavaScript/Typescript (although much better now than say 5 years back).
2. Dev's who use VIM/Emacs are probably already living in their computer so you can't really say if they are good because of the editor they use or the other way round
3. What do you mean by "productive"? Closing more tickets in a sprint? In the end not only individual efficiency is important but also the future of a project. With test you document stuff and ensure at least the tested things won't break (if it's mandatory the tests are executed on every build).
4. Of course tools matter. In our company there is people who still use eclipse and sometimes they just need their time to fix the IDE. My team exclusively uses intellij and I can't remember the last time we had to deal with such a mess.
I sometimes open VS Code for small for small non-project related files, but I am much more productive with an IDE.
One thing that many get wrong in the VIM vs IDE comparisons are the benefits of keyboard shortcuts. They assume that VIM has a significant advantage, but you can have that with IDEs too.
The JetBrains products have keyboard shortcuts for almost anything, so you do not have to use a mouse unless you want to. I'm sure the same could be said about other IDEs as well. Many forget that when they compare against VIM.
- I would also not use eclipse and turn that down - Maybe you are more productive. I have seen people who will be more productive than you just using their customized VIM (I'm 100% sure about that) - You say "something" has an advantage over VIM (or EMACS) in the means of keyboard as input interface? Think again or at least try to let someone show you what VIM can do with just a keyboard ;-)
The difference is not only about the control with a keyboard. The true beauty of VIM etc. lies in the fact that you can use it without an X Server (so also over SSH). Then there is efficiency - VIM can do a lot more with a lot less resources. A PC that will already choke when you open up your project in a full-fledged "give me 2GB of RAM" IDE will seamlessly open up in VIM in seconds.
When you're traveling and want to preserve battery, VIM also comes in handy. Not everything I do needs the refactoring features of an IDE and I also don't have to use the test runner every time I do / change something (also there is CLI tools that are totally OK to use).
I think you are trying to compare something you don't really know.
I see no correlation at al.
On first use I found there were a few frustrations and I still end up with lots of quotes where I type something= only for phpStorm to enter quotes for me that I am not quite expecting.
I also had a problem of finding 'jkjjkjk' in my code from vi habits of using the j key to move in the document.
For me phpStorm is where the real work happens, I know I am not really good enough to do it in vi whereas I once believed that. Sometimes you see a missing closing bracket highlighted in phpStorm and know you would have wasted a minute or two testing had it been done in vi.
I'm in no way saying these developers are not good developers, but they do produce a product that's often below par, below expectations, and below what they could do with proper tools. I do not understand why they stick with substandard tools. If you want vim key bindings, they are available in any ide. Startup time is simply not a factor when it occurs at most once per day, if that. I think developers love to focus on issues of personal preference and fashion to the detriment of using the best tools available. Sure, if you can produce great code with a great attention to detail with the editor of your choice, great. Keep at it. But if you can't keep up with the attention to detail and numerous requirements that go into writing great code because your tools are inadequate, defending the tools because of personal preference and fashion is ridiculous and lessens the quality of the final product. That is unacceptable.
I've not necesserily always used test driven development, but something close to it, especially for non-UI code where I try and aim for high test coverage.
Tests also help when writing code that implements specifications (JSON parser, XML parser, JavaScript engine, etc.) as you can have tests for each part of the specification and the various error cases.
I believe at least for Emacs people use it because it's an interactive environment like Slime. With this kind of interactiveness, I can think by playing with the code. Just like sketching with a pencil instead of a pen.
Most of the time 'sit back and think' doesn't work because if your business model is dynamic you have to break your existing design and refactor, unless you are just solving a problem in a small generic domain. At least for OO languages. That's something IDEs are used for.
The best developers I have worked with, in terms of either productivity or 'ability' use high level tools all of the time. And among the worst developers I have known are people that only use vi.
> I see a similar thing happening with coders who do a lot of tests (test driven development),
I mean, yes, but isn't that obvious why? In my work I can safely say I've written the most code in the shortest amount of time. This has allowed us to meet deadlines. But it's all untested. Writing tests obviously takes more time and effort, but I do think they are a good thing. Getting 100% test coverage for every project and following TDD too strictly is silly, though.