Тред: ASCII-документация Статьи редакции

(˵ ͡° ͜ʖ ͡°˵)

Профессор информатики в Университете Юты запустил в Twitter тред, предложив разработчикам поделиться примерами документации, составленной при помощи ASCII-кодировки.

Вот что получилось.

please contribute to this thread by replying with both an image and a link to ASCII art embedded in source code, where the art is there for the purpose of explaining that code better

example:

https://github.com/llvm-mirror/llvm/blob/release_80/lib/Analysis/SyncDependenceAnalysis.cpp#L75

@johnregehr I love all the diagrams and tables in @Ilseman's StringObject implementation in the Swift standard library.

https://github.com/apple/swift/blob/master/stdlib/public/core/StringObject.swift#L491

@johnregehr Small one from my codebase. It's a simple concept but even for simple things I prefer to give someone the full context instead of just having a "magic formula".

@johnregehr A cool one I found recently (and keep going back to), the URL explanation on nsIURL.idl, blame tells me it dates back to Nescape days!

https://searchfox.org/mozilla-central/rev/00c0d068ece99717bea7475f7dc07e61f7f35984/netwerk/base/nsIURI.idl#9-36

@johnregehr here's my entry (sketch of a prototype BigTable clone) and i'm honestly pretty shocked at the lack of Unicode box characters in these replies

@johnregehr I love all the diagrams and tables in @Ilseman's StringObject implementation in the Swift standard library.

https://github.com/apple/swift/blob/master/stdlib/public/core/StringObject.swift#L491

0
4 комментария
Denis Shiryaev

Есть кстати классный апп чтобы делать такое, для мака:
https://monodraw.helftone.com/

Ответить
Развернуть ветку
Аккаунт удален

Комментарий недоступен

Ответить
Развернуть ветку
Tema Borisenko

Баловство...

Ответить
Развернуть ветку
Дмитрий Гладышев

Достаточно открыть практически любую советскую книгу 80-х - начала 90-х по компьютерам. Там в основном всё так и рисовали. У меня так документация шла к компьютеру "Орион-128"

Ответить
Развернуть ветку
1 комментарий
Раскрывать всегда