News for hackers. Stuff that matters.
Re:Benefits of 2D code layouts (2018) by politician on Wednesday May 26, 2021 @04:57PM (#27296012)
Many multiplayer video games have a radar that provides a high-level summary of the positions of teammates and hostiles. This is useful information that helps navigation, and it's usually a small element tucked in a corner.

A 2D view of code layout could be useful in this sort of secondary radar way for learning a new codebase, refactoring, etc.

As a primary mechanism for writing code, outside specialized applications like graphics shader development, I'm not sure it makes sense.

Re:Benefits of 2D code layouts (2018) by alanbernstein on Wednesday May 26, 2021 @06:11PM (#27296740)
Sublime has the minimap, a name which sounds like it was borrowed from the videogame world.
Re:Benefits of 2D code layouts (2018) by warlog on Thursday May 27, 2021 @06:35AM (#27301272)
Isn't this just a map? Usually maps are smaller than the territory.
Re:Benefits of 2D code layouts (2018) by nefitty on Wednesday May 26, 2021 @10:30PM (#27298677)
I haven’t really found a use for the minimap in VSC. I’m not sure if there’s some strategy or concept that it’s supposed to assist with, besides navigating large files more quickly.
Re:Benefits of 2D code layouts (2018) by chrispsn on Thursday May 27, 2021 @07:45AM (#27301843)
A mini-map is a cool idea! In Excel I often temporarily zoom out to get a big picture view of the program structure.