by jballanc · 14y ago · 0 comments
The problem with your critique is that you're thinking at the wrong level of abstraction. If (and, yes, this is a big if) you are developing a web app on a platform where all of the low-level concerns are taken care of for you, then the final point is completely valid. I'd even go so far as to strike the text editor from that list. Already today, you could (in theory) develop a Rails or Node app in Cloud9, store the code on Github, and deploy to Heroku with little more than a ChromeBook.
Ok, we're not quite there yet, but I hope you get my point... That said, there are still chip designers, kernel programmers, and driver developers. And there will always be "backend engineers" (though I think we need a better term) who need debuggers, benchmark utilities, packet analyzers, etc.
Sure, there was that guy that used an iPad, a wireless keyboard and a Linode as his PC so it's viable. But I think that's an exceptional case and it's more common to need quite a lot of supporting tools to develop things.
And of course, you know, our designer can work with just a notebook (as in: a paper notebook) :)
It's honestly not perfect, but for C++ and Lua it's unequaled in getting references and autocompletion correct.
And since I also have a Windows target, I can take full advantage of the very clean debugger that Microsoft Developer Studio provides (for the cross-platform code). I spent a year with Linux on my desktop, trying every debugger tool available, and nothing comes close to working as well.
Yes, I've tried vim and emacs. I even use vim when I need to edit over an ssh link to a server. And I could imagine getting my fingers used to the many-more keys I'd need to hit to do everything I do in SlickEdit in vim, but vim is STILL is missing two of the most important features I use (the cross-referencing/smart completion I mentioned above, and an auto-completion from the same file that I get by hitting shift-ctrl-< or ->). The features vim does support require more keys -- and keeping track of editing "modes", which is something else I don't want to have to do. And since I can write code much faster using those features (and fewer keypresses), I can't imagine switching.
I used SlickEdit on Linux for the year I was there, but it's based on X, and doesn't integrate with modern desktops as well as a result. It even has a built-in gdb wrapper, but unfortunately it can't do as much as Developer Studio on Windows. :(
It's pretty well established that forcing a user to keep track of mode is just bad UI design. I actually use vi relatively frequently, to the point of having internalized the mode concept, and I STILL occasionally make mistakes. If you've got vi in six different shells, how CAN you remember what mode they're all in? You can't. You need to look. Which interrupts the flow of development, at least for me.
And I can't forgive the extra characters you need to type to do just about anything. I was just using gvim on Linux, for example, and to paste from the system clipboard took 4? 5? character presses. You simply can't defend that as reasonable.
For serious development I would NEVER switch to vim/gvim, at least without some major keyboard remapping to, well, the defaults that you'd find in any modern editor. It's more than getting used to it--more keys means slower development, period.
Just now I was able to select the previous sentence with about 3 keypresses. Copy and paste would be a standard ctrl-c/ctrl-v. No worrying about mode, or counting characters -- and I'm in the edit window in Chrome. It shouldn't take me more characters and a completely different set of finger reflexes to do the same thing in my programming editor.
Just now I was able to select the previous sentence with about 3 keypresses. Copy and paste would be a standard ctrl-c/ctrl-v. No worrying about mode, or counting characters
j-V-p = 4 which is a lot less than 3+2+2 of what you described. So your point about vim requiring more keypresses seems moot.Eclipse, the world's most powerful and popular development environment for all popular languages and all popular OS platforms?
>> It's honestly not perfect, but for C++ and Lua it's unequaled in getting references and autocompletion correct.
Eclipse? Not sure if you can do Lua in it though.
>> And since I also have a Windows target, I can take full advantage of the very clean debugger that Microsoft Developer Studio provides (for the cross-platform code). I spent a year with Linux on my desktop, trying every debugger tool available, and nothing comes close to working as well.
Eclipse? Beats anything from Redmond easily is what I have found, since we are talking about how we have found these tools to work for us.
It has burned dozens of hours of productivity as it:
1. CHANGES the configuration of the project every time it loads. Seriously. I had to revert the project every time I ran Eclipse because it would break the configuration (which I originally set up IN Eclipse, so I don't know what was wrong here).
2. Fails to notice important files have changed outside of its knowledge (no auto-refresh). God forbid I change a file in git or in another (decent) editor.
3. Fails to refresh when I hit F5 (randomly the F5 key is or isn't assigned to refresh; I haven't figured out the pattern).
4. Gets stuck and won't build if there's an error it doesn't understand -- and you have to "delete the error" to get it to build. WTF?!
5. C++ support? Really? I tried the recommended plug-in, and despite looking everywhere that made sense, I was unable to figure out how to give it an include path. No one has been able to help me here, either. If it's configurable somewhere, then they sure made it hard to find. So all my "C++ integration" resulted in lots of undefined functions and includes, which was worthless. Needless to say, auto-complete was also worthless, since it couldn't find the definition of my shared_ptr class.
6. WAY too heavy. My favorite editor (SlickEdit) is already too heavy. Eclipse makes it seem light and nimble by comparison! Running the editor only takes about a MINUTE on my laptop, and it eats resources like mad.
7. Important project configuration details are hidden in opaque binary files, so you can't just check your project environment into source control.
8. Some kinds of paths end up being stored in the project as absolute paths, meaning that you can't use relative paths that would work in anyone's repository -- and you can't share those projects between Linux/Mac/Windows at all.
That's off the top of my head. I'm sure there are plenty of issues I'm not remembering.
I went into using Eclipse really, REALLY wanting to like it. It was everything I was looking for -- free, cross-platform, lots of plug-ins for different features, a huge supportive community. But I just can't like something that screws me at every turn, even if it can suggest ways to fix my Java code.
Some of these issues may be caused by a poorly written Android plug-in. I honestly don't know. But it's caused me hours of pain, and many other Android developers I've talked with have similar horror stories.
Using Eclipse to build for Android was almost completely non-deterministic, even when doing CLEAN builds; I gave up on using it to do my Android builds entirely, switching to the Android Ant build process. Which has its own issues...
And Eclipse doesn't support the in-file completion I'm talking about either, though without all the other problems I might have tried to hack something into place.
FYI, I just saw an announcement recently of a Lua plug-in for Eclipse that sounds great. Too bad Eclipse has sucked SO badly for me that I don't even want to try it. They're doing interesting things to try to guess autocompletions in Lua, which is a hard problem to get right.
Also FYI, SlickEdit doesn't come from Redmond. And Developer Studio has a WAY better debugging environment than Eclipse's, hands down, possibly in part because the underlying GDB doesn't support as many features.
If Eclipse works for you, great. The Android development team apparently uses it and likes it. Maybe you know how to use it much better than I, or maybe I'm used to better tools. We'll never know. I know some people still use Notepad or equivalent for coding, which strikes me as insane, and Eclipse is certainly better than that. But Eclipse tortured me daily while I was using it, and I can't imagine going back to it.
Wait till you try Emacs...
:h new-omni-completion
:h compl-omni
:h compl-generic