Ask HN: View Source Like in the Matrix?
I was rewatching The Matrix the other day and it got me thinking about information density in source code. In the movie, they view the “source code” of the matrix as vertical columns of scrolling characters. The characters vary in brightness and the scrolling varies in speed, and the whole screen is filled with these characters. Compared to how source code is usually presented, there’s a lot more information on the screen.
Has anybody looked into information dense representations of code like that? I’m thinking it might be useful for getting an oversight of a code base or something. Honestly I don’t even know the proper terminology to describe the effect, so if anyone can point me towards relevant literature I’d be grateful.
8 comments
[ 0.25 ms ] story [ 26.8 ms ] threadSo writing top-to-bottom Japanease might add more information density. And using a programming language that doesn't require brackets or spaces.
> Seenig the shape of the wrods, not redaing them in detial. (how many typos did you see here?). In Chinese, you don't look at each stroke or radical, you just get the entire character at once.
> Findings indicate that the Chinese readers (24.7 minutes) are faster than the English readers (26.6 minutes) by about 2 minutes on the same reading material.
https://en.wikipedia.org/wiki/Software_visualization
https://en.wikipedia.org/wiki/APL_(programming_language)
It is very terse and uses symbols to compose operations depending on the context:
The following APL expression finds all prime numbers from 1 to R.
(~R∊R∘.×R)/R←1↓ιR