Live data from Hacker News

Benefits of Not Using an IDE

alexander-hansen.dev

101–110 of 389 posts

Re: Benefits of Not Using an IDE

#101
post #82

Earlier quoted context omitted.

Do you memorize all those IO/XML/JSON/Hadoop (HDFS/MR/Core/...)/AWS/Azure/... APIs by heart?

The parent explicitly said they do not want to memorize APIs.

I understand, I just wonder if he/she really means to it. Who knows, some people have very good memory. When I work with a new (for me) topic, I am trying to get basic understanding of topic, still it far from remembering exact method signatures.

Re: Benefits of Not Using an IDE

#102
post #69
post #53

Earlier quoted context omitted.

I think this is not wrong. When you are using the better quality IDEs (for example C# with Visual Studio, or Java with IntelliJ), they offer you a lot this isn't there in Emacs or VIM. I currently mostly work in Python using Emacs, because I don't know of anything that adds really compelling full-blown IDE features for a dynamically typed language. I will also say that Datagrip and Microsoft SQL Server Studio are bot…

With JetBrains PyCharm or the PyCharm plugin in IntelliJ, you can treat all python3 as statically typed ... use the type-annotations and then linter will catch your mistakes.

You can also do this using emacs with lsp (specifically with pyright as the backend)

Re: Benefits of Not Using an IDE

#103
post #27

I consider not needing to remember library and api details a benefit. I'd rather dedicate my brain cycles to something else. As for syntax, I don't recall ever struggling to remember syntax of languages I frequently code in. Also the point about IDEs auto generating toHashCode, toString, etc. If your class needs these methods, whether they were auto generated or not seems besides the point. The point the IDE is "comp…

Why do doctors memorize medicines and their effects? Because it's faster to retrieve from memory than from documentation, even automatically presented documentation. It removes a context switch.

The "brain cycles" are only run while doing the memorization, not while actually doing the work.

> I don't recall ever struggling to remember syntax of languages I frequently code in.

Because you've memorized it.

Re: Benefits of Not Using an IDE

#104

Earlier quoted context omitted.

“Power drills have batteries or cords and motors that wear down and they’re more expensive and complex and can break more easily and it’s just smarter to bring hand crank tools to the worksite.” - Nobody

Power drills are simple tools, they are the 'vi' equivalent of the 'ed' manual drill. The physical equivalent of an IDE would be a laser-guided auto-centering/levelling drill with automatic drill bit changer/sharpener, depth guide, dust evacuation and material sensor with automatic lookup for which hole size and depth to use for the given task. It would weigh 15 kg, need an external power pack and be unusable in tigh…

I think you mean cnc machine. And those are amazingly productive.

Re: Benefits of Not Using an IDE

#105
post #11
post #4

A good ide is all about auto completion and refactoring tools. The autocompletion means you don’t have to spend as much time memorizing apis, so you can focus more on simplifying your design and minimizing coupling. In something like unreal engine, the intellisense really sets ides apart. The refactoring means you can quickly and easily make large changes to make the code easier to work in. You can just work signific…

Refactoring is where it's at for me. The ability to rename functions and variables across not just a local file, but all references in the code base is huge. Relatedly, the ability to find all usages of a symbol and navigate between them is indispensable for me at this point.

> Relatedly, the ability to find all usages of a symbol and navigate between them is indispensable for me at this point.

I don't know if people just aren't aware, but vi and emacs have been doing this since at least the 90s. This isn't some fancy feature that requires an IDE. Recently the support has improved even more through LSP.

Re: Benefits of Not Using an IDE

#106
post #13

The difference between an IDE and a souped-up vim or emacs configuration is ... very little. Your average fancy pants vim config has auto-completion, debuggers, etc.

I find that spinning up QtCreator on a new machine is orders of magnitude faster than transporting a vim configuration.

Re: Benefits of Not Using an IDE

#107
Using an IDE is like playing the piano and putting stickers with the name of each note. There's no objective downside to doing this, but it's not really going to help you play better music once you go beyond the very basic stuff. It may give some people a false sense of security, but it won't make a difference to a professional programmer. Some of those programmers (but not all, and that is OK) will become annoyed at the stickers once they know how to play the instrument.

Re: Benefits of Not Using an IDE

#108
If you're no using an IDE, you're not working in big enough codebases or are not required to move fast enough - either way, I'm not really interested what you have to say. After you work in this business for over a decade, you'll know dumb ideas just because you've seen them several times before. "No IDE" is just that. A dumb idea.

Re: Benefits of Not Using an IDE

#109

The author seems to use IDE for one purpose only: to auto-generate boilerplate code. But this is far from the only benefits of IDEs! I rarely use IDEs for code generation, I don't even like autocomplete. For this stuff I use code snippets; I develop collections of those for any language I use. You don't need an IDE for it; any good text editor has such features. For me really important features of a good IDE are: - N…

> - Error highlighting.

this so much. it's priceless to just type a line and have some warnings such as "hey, you're moving this value but using the variable afterwards, take care" or "hey, it looks like you are only using this argument as a reference, consider not passing it by value" just pop up next to the offending line ; when compared to an IDE-less workflow I pretty much divide the amount of hitting "build" I need by ten or more since the IDE tells me everything wrong beforehand.

Re: Benefits of Not Using an IDE

#110
I can understand people using text editors (a la Vim, Emacs) if they've been using them for donkeys years and are extremely proficient and productive with them, additionally for making quick changes to files from the terminal.

However, why any developer would reach for one of these tools now when working on application development is beyond me (other than to feel like a 1337 OG hax0r of course)

Power tools > hand tools

Post reply on HN