News for hackers. Stuff that matters.
Re:Ask HN: How are some people exceptionally productive? by walterbell on Wednesday August 05, 2015 @02:25PM (#10011745)
> I read an interview with Guido van Rossum, Jeff Dean, and Craig Silverstein within Google where they were asked basically the same question, and the answer all of them gave was "The ability to hold the entire program in your head."

There are memory improvement techniques, developed over centuries, which can help. Think of it as latency reduction in a source code memory palace.

http://mt.artofmemory.com/start

Re:Ask HN: How are some people exceptionally productive? by iron_ball on Wednesday August 05, 2015 @02:46PM (#10011889)
On the other hand, if you can do this and your co-workers can't, you may be tempted to write complex and entangled code, because the implications of each line are perfectly obvious to you.
Re:Ask HN: How are some people exceptionally productive? by blakeyrat on Wednesday August 05, 2015 @02:50PM (#10011920)
Or you end up with something like Git, which is easy to use if you have the exact same background/education/philosophy as the person who wrote it, but has terrible usability for pretty much everybody else.
Re:Ask HN: How are some people exceptionally productive? by pyre on Wednesday August 05, 2015 @03:00PM (#10012016)
I don't have the same background as the "person that wrote it," and I consistently find the git command-line tools easier to work with than other tools (SourceTree, magit-mode, vim-fugitive, etc [1]). I think that in this case, it's just the mental model of a DAG[2] of commits that people have trouble wrapping their minds around. The tools are just there to help you slice and dice the DAG.

[1] I haven't used TortoiseGit, but I do imagine that having file browser menu items for files that are maintained by git could be useful from time-to-time, but I would still be using the cli most of the time.

[2] Directed Acyclic Graph

Re:Ask HN: How are some people exceptionally productive? by pgeorgi on Wednesday August 05, 2015 @03:57PM (#10012404)
There are more DSCM implementations based on a DAG. (for example git, mercurial, bzr, monotone, codeville, fossil)

The only one that draws serious usability complaints all the time is git.

Re:Ask HN: How are some people exceptionally productive? by iron_ball on Wednesday August 05, 2015 @04:37PM (#10012666)
To borrow a turn of phrase from Bjarne Stroustroup, there are two kinds of software: software people complain about, and software nobody uses.
Re:Ask HN: How are some people exceptionally productive? by pgeorgi on Thursday August 06, 2015 @01:27AM (#10014707)
A couple of years ago the others were in use as well.

git won for various reasons, but the UI complaints certainly aren't because people don't understand DAGs.

Re:Ask HN: How are some people exceptionally productive? by kedean on Wednesday August 05, 2015 @05:09PM (#10012880)
Yeah, the reason everyone complains about Git is because everyone uses git. SVN was the horse to beat 10 years ago, because everyone used it.
Re:Ask HN: How are some people exceptionally productive? by pgeorgi on Thursday August 06, 2015 @01:29AM (#10014715)
people complained about git's UI 10 years ago. They didn't complain (as much, by far) about the UI of the other DAG based DSCMs.
Re:Ask HN: How are some people exceptionally productive? by pyre on Wednesday August 05, 2015 @04:13PM (#10012505)
To be fair, some of the usability complaints aren't about the interface so much as things like:

* Unreasonable ideas about the idea that commits/history can be rewritten, so therefore "nothing is safe."

* Arguments over how some git commands are similarly named to svn commands, yet don't do the same thing. The svn way is the 'right' way, and git is 'doing it wrong,' but really it's just an argument about familiarity (sharing many traits with arguments over Mac vs. Windows keyboard shortcuts, for example).

* Complaining about a recoverable error because they don't know about the reflog.

* etc.

I'm sure there are legitimate complaints, but most of the complaints that I see are around things like that.

Re:Ask HN: How are some people exceptionally productive? by seiji on Wednesday August 05, 2015 @04:30PM (#10012623)
I consistently find the git command-line tools easier to work with than other tools

Yes, but how many weeks and months did you spend learning all the quirks? http://git-man-page-generator.lokaltog.net

that people have trouble wrapping their minds around.

If you create a product and just tell people "sorry, you're not smart enough to understand it," was it a good idea?

Re:Ask HN: How are some people exceptionally productive? by swah on Friday August 07, 2015 @11:27AM (#10022990)
When git was still one of many competing DVCSes - I tried darcs, and the CLI was pretty great. Spoiled for ever.
Re:Ask HN: How are some people exceptionally productive? by rbanffy on Thursday August 06, 2015 @11:23AM (#10017075)
I like to joke git's motto would be "made by people smarter than you, for people smarter than you". It still rocks.
Re:Ask HN: How are some people exceptionally productive? by flippinburgers on Monday August 10, 2015 @01:30PM (#10036002)
I realize these things are subjective, but git is not difficult to understand or use. Branching is a breeze. Merging is a breeze.
Re:Ask HN: How are some people exceptionally productive? by ArkyBeagle on Wednesday August 05, 2015 @11:47PM (#10014430)
Oh, but you just don't. You just don't. Six months from now, the thing will have escaped your brain and you will have to look at it.

You are generally also your own cow-orker.

Re:Ask HN: How are some people exceptionally productive? by walterbell on Wednesday August 05, 2015 @02:58PM (#10011999)
If you invest the time into acquiring a faster and larger mental cache, you are unlikely to handicap your hard-earned capability with complex code. In fact, the new visibility can increase simplification and reuse.

The same restraint doesn't apply to someone naturally gifted with an exceptional memory, since they never went through the acculturation phase :)

Re:Ask HN: How are some people exceptionally productive? by swah on Friday August 07, 2015 @11:56AM (#10023185)
One thing I never quite understood: would these exercises also improve your memory when you're not using the techniques explicitly? Somehow having the information organized in your mind in a more cohesive manner, so that recall is always possible by traversing the graph...
Re:Ask HN: How are some people exceptionally productive? by walterbell on Friday August 07, 2015 @02:05PM (#10023953)
Yes. It's like learning a new language, which changes how concepts are represented. Or increasing your vocabulary and improving your writing, which then influences thinking. Moving beyond the alphabet to additional symbols, opens up new options for both representation/storage and pointers/indexing.

Eventually, images come to mind without awareness of the retrieval process. The slow part then becomes translating the images back into alphabet-based language, for communicating with other people.

Re:Ask HN: How are some people exceptionally productive? by kachhalimbu on Wednesday August 05, 2015 @11:54PM (#10014448)
Could you share link to the interview?