Are ASCII diagrams worth my time?

Posted by Jesse Stimpson on Stack Overflow See other posts from Stack Overflow or by Jesse Stimpson
Published on 2010-04-26T12:20:05Z Indexed on 2010/04/26 12:23 UTC
Read the original article Hit count: 172

Are ASCII diagrams within source code worth the time they take to create?

I could create a bitmap diagram much faster, but images are much more difficult to in line in a source file (until VS2010).

For the record, I'm not talking about decorative ASCII art.

Here's an example of a diagram I recently created for my code that I probably could have constructed in half the time in MS Paint.

          Scenario A:

                                       v
         (U)_________________(N)_______<--(P)                   Legend:
          '     /             |                    J = ...
          '    /              |                    P = ...
          '   /d              |                    U = ...
          '  /                |                    v = ...
          ' /                 |                    d = ...
          '/                  |                    N = ...
         (J)                  |
          |                   |
          |___________________|

© Stack Overflow or respective owner

Related posts about ascii

Related posts about documentation