3 ms·
Perhaps, but how much of that it just an imperative phrasing? I think the visual capabilities of horizontal and vertical spacing are, certainly, vastly under-u
by mjburgess 4y ago
Perhaps, but how much of that it just an imperative phrasing?
I think the visual capabilities of horizontal and vertical spacing are, certainly, vastly under-used.
We could easily divide regions of files into two 60chr lines, or many 20char lines,
GetWater .
Boil(Water) |
| GetCoffee, GetMilk, GetCup .
Grind(Coffee) |
| Pour(Milk) .
Brew(Coffee, Water) .
Pour(Coffee) .
- blondin 4y agothis sounds good for pure concurrent processes. but synchronization will be harder to represent using vertical bars.
- kitd 4y agoBut you quickly come up against problems of text alignment, trying to show 2+ theoretical streams of text on one 2D page, and it's a pig to get the DX right. A specialist editor would help, but then you could ask, why not just use a structured doc in eg JSON and represent it graphically. For background, I wrote a tool that would convert an ASCII art diagram in comments describing the state flow of a class into a set of method declarations in the class. Even using online diagramming tools, it's not easy.