News for hackers. Stuff that matters.
Re:Benefits of Not Using an IDE by city41 on Saturday August 21, 2021 @10:26AM (#28257276)
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 "compensating for lacking language features" doesn't make sense to me, the code is compensating, whether a human or IDE writes it.

Re:Benefits of Not Using an IDE by falcolas on Saturday August 21, 2021 @11:35AM (#28257812)
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 by elzbardico on Saturday August 21, 2021 @12:04PM (#28258025)
You definitely have no idea of how doctors work if you think they don’t heavily rely on reference books for most of the stuff they do
Re:Benefits of Not Using an IDE by dfee on Saturday August 21, 2021 @12:28PM (#28258252)
I don’t think you’re being generous with your reading of their point.
Re:Benefits of Not Using an IDE by falcolas on Saturday August 21, 2021 @12:28PM (#28258255)
You can't easily consider a treatment or remedy or library function you don't remember. Better to use all the tools at hand (memory being a useful tool - a L2 cache as it were) than handicap yourself by only using a few.
Re:Benefits of Not Using an IDE by inglor_cz on Saturday August 21, 2021 @12:13PM (#28258109)
I'd rather have my doctor consulting recent knowledge base than use their 30 year old memories from school. Medicine is not set in stone and recommendations change.
Re:Benefits of Not Using an IDE by falcolas on Saturday August 21, 2021 @12:27PM (#28258238)
As I've heard it, use your memory, then back it up with documentation if/when you need the certainty.

You can't easily consider a treatment or remedy or library function you don't remember.

Re:Benefits of Not Using an IDE by loa_in_ on Saturday August 21, 2021 @04:40PM (#28260380)
The problem with using cache is that you can feel certain it's correct but you don't really know until you check with the source. And since you check with the source anyway, the cache becomes a drag to correctness
Re:Benefits of Not Using an IDE by city41 on Saturday August 21, 2021 @01:28PM (#28258810)
Do they have every single medicine memorized, or just the ones they most commonly use? Sure, I tend to remember the parts of libraries and apis I use often, but I'd still argue my editor having a reminder just a keystroke away is very beneficial.
Re:Benefits of Not Using an IDE by csomar on Saturday August 21, 2021 @02:48PM (#28259438)
Reality: They rely on medical representatives to know what the actual medicines are. They remember the ones with the most kickbacks.
Re:Benefits of Not Using an IDE by falcolas on Saturday August 21, 2021 @03:04PM (#28259599)
More than just the most commonly used...

https://www.youtube.com/watch?v=jR7d56UeeeU <= Song-based memorization aide for 200 different medications

Re:Benefits of Not Using an IDE by city41 on Saturday August 21, 2021 @03:15PM (#28259674)
There are over 20,000 approved medications in the US. I don't really feel like this analogy is holding up very well. But, have I happened to remember about 200 or so API and library calls over my career? Probably.
Re:Benefits of Not Using an IDE by dntrkv on Saturday August 21, 2021 @11:02AM (#28257566)
Yeah the idea that I have to remember everything in our codebase of millions of LoC made up of TS, JS, Ruby, Kotlin, and Java is ridiculous. IDEs allow me to drop into these codebases and be decently productive from the get go.
Re:Benefits of Not Using an IDE by throwawake on Saturday August 21, 2021 @03:54PM (#28260021)
When you start to work with too many languages frequently, using syntax from one while writing another is common and IDEs really help at this point. I too prefer not to remember APIs and methods, but with time, our brain starts maintaining a cache of these. Completions make this faster.

That and error detection are only features I like in IDEs. For everything else, dedicated tools are often better (but not necessarily easier) than integrated ones.

Re:Benefits of Not Using an IDE by nooorofe on Saturday August 21, 2021 @11:07AM (#28257592)
Do you memorize all those IO/XML/JSON/Hadoop (HDFS/MR/Core/...)/AWS/Azure/... APIs by heart?
Re:Benefits of Not Using an IDE by zenexer on Saturday August 21, 2021 @11:10AM (#28257608)
The parent explicitly said they do not want to memorize APIs.
Re:Benefits of Not Using an IDE by nooorofe on Saturday August 21, 2021 @11:31AM (#28257784)
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.