Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Not only the output of programs can look artistic. Source code can as well, in graphical notation [1], like this program whose output exceeds Graham's Number:

    ┬─┬ ┬─┬──────────
    └─┤ │ │ ──┬──────
      │ │ │ ┬─┼──────
      │ │ │ └─┤ ┬─┬──
      │ │ │   │ ┼─┼─┬
      │ │ │   │ │ ├─┘
      │ │ │   │ ├─┘
      │ │ │   ├─┘
      │ │ ├───┘
      │ ├─┘      
      └─┘        
[1] https://tromp.github.io/cl/diagrams.html


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

Search: