Curious. I spend much of my time nose deep in visual studio. It seems like an awesomely efficient ide. What is it about working in terminals that is superior?
For me it's more than just dev environment. I spend even my childhood in Linux (from age 9). I dont know how to use windows anymore. If people need help with their computers (use windows) I dont know what to say until I see their desktop so I can figure out how it works :P
So I am so used to programming and working with linux and terminals that I can work faster on that than using Visual Studio or something.
Needless to say, I do run some sexy IDE's on the side like WebStorm and IntelliJ IDEA and Atom (all for different purposes)
Think of UNIX and its commandline tools as one huge IDE. All the tools are available always, there's no difference between "in the IDE" and "in the filesystem". It's really jarring for me to use IDEs now, they are so... walled-garden, compartmenalized and brittle.
That said, as long as you do exactly what the IDE wants you to do they are fine (or even better at that task), I guess. It's the same as with any walled garden.
I've used both, and I wouldn't really say there is that much of a difference in productivity. They are two very different styles of working, but either can make you as productive. Both have its "weak points" that slow you down, although they are very different.
In the end though, the bottleneck to actual productivity when programming is not really the environment, once you are "settled in".
tmux + vim over ssh is great for remote pair programming. You can have your vim tabs in one panel, your build/tests in another panel and you dont even need to use a mouse.
I'll have to lookup remote pair programming in the morning. What about code navigation and refactoring? Are there solid tools like reshaper to automate a lot of the menial tasks?
I find a mouse a helpful tool for development/debugging of the ui/ux.
Is 2 gigs of RAM really a big deal these days? 16gb for a desktop seems reasonably standard, so we are potentially saying it takes up 1/8th of the memory.
I develop on a Linux machine with 256MB of ram. My laptop with Windows has 4GB; I still prefer the Linux machine, it's been tuned to my desires over the past 6 years. That said a lot of development happens on laptops, not desktops. Not all workplaces understand that developers should have high end machines
Maybe if you're made of money. There are plenty of desktops with 8GB or less of RAM. Not to mention that there are lots of programmers on laptops out there (which tend to have lower amounts of RAM on average).
My work laptop has 32gb of ram, an ssd, and an I7. I can keep open 5 or 6 instances of VS without causing an issue, even while debugging. That's an extreme end, but having 8gb of ram on a laptop is not unusual at all anymore for windows VS development.
I have a cheap notebook with 2 GB of ram and a gaming desktop with 8 GB. Together they cost me less (or slightly more) than a notebook with 8 GB of RAM and a decent CPU and are fine for everything I use them for. The only thing associated with development I tried and couldn't do on the notebook was compiling Android.
When the project you're working on produces 1MB+ binaries.
IDEs provide huge amounts of convenience. Central to their ability to do so is keeping a large number of data structures in memory that speak to various attributes of the source code at various stages of compilation.
Take a look at the debug symbols for a large binary. They can reach into hundreds of megabytes. Now account for some duplication and indexing of those symbols to support wicked-quick IDE menus and you start to see how an IDE can have such a large in-memory footprint.
It doesn't explain all the bloat, some of it is simply because of schedule pressure and when 'good enough is good enough' held true, but it certainly puts you in the right ballpark!
Having a package manager and various outher tools outside of my IDE. Finding out that nuget only works in a terminal inside of the IDE was a big WTF moment for me. VS Code is a step in the right direction, I can hardly wait to switch.
41
u/Vaughnatri Dec 06 '15
Curious. I spend much of my time nose deep in visual studio. It seems like an awesomely efficient ide. What is it about working in terminals that is superior?