Hacker News new | past | comments | ask | show | jobs | submit login

Ordered <set of items> have the advantage of working well with the brain's ability to map its surroundings. "function foo is defined 5 arrow downs above function bar". When the <set of items> jump around our eyes in arbitrary order, we tend to experience disorientation.



Same here.

OTOH I always wonder if it would not be beneficial if our brain and the code would not rely on spacial distances in code files, but on _call_ distances.

Should our spacial map of the code not be the call graph instead of the structure in files and disk?


The call graph can change dramatically with relatively small code changes.


Totally! I imagine a web of types and function definitions (as diagrams)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: