{"id":24352,"date":"2019-02-18T16:30:09","date_gmt":"2019-02-18T21:30:09","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=24352"},"modified":"2019-02-18T16:30:09","modified_gmt":"2019-02-18T21:30:09","slug":"explaining-code-using-ascii-art","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2019\/02\/18\/explaining-code-using-ascii-art\/","title":{"rendered":"Explaining Code Using ASCII Art"},"content":{"rendered":"<p><a href=\"https:\/\/blog.regehr.org\/archives\/1653\">John Regehr<\/a>:<\/p>\n<blockquote cite=\"https:\/\/blog.regehr.org\/archives\/1653\">\n<p>People tend to be visual: we use pictures to understand problems. Mainstream programming languages, on the other hand, operate in an almost completely different kind of abstract space, leaving a big gap between programs and pictures. This piece is about pictures drawn using a text character set and then embedded in source code. I love these! The other day I asked around on Twitter for more examples and <a href=\"https:\/\/twitter.com\/johnregehr\/status\/1095018518737637376\">the responses<\/a> far exceeded expectations (thanks everyone!). There are a ton of great examples in the thread; here I&rsquo;ve categorized a few of them.<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2014\/11\/22\/monodraw\/\">Monodraw<\/a><\/li>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2015\/03\/17\/replacing-photoshop-with-nsstring\/\">Replacing Photoshop With NSString<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>John Regehr: People tend to be visual: we use pictures to understand problems. Mainstream programming languages, on the other hand, operate in an almost completely different kind of abstract space, leaving a big gap between programs and pictures. This piece is about pictures drawn using a text character set and then embedded in source code. [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2019-02-18T21:30:11Z","apple_news_api_id":"3ba6bfe8-7ca1-4f29-b7aa-bd2112a38962","apple_news_api_modified_at":"2019-02-18T21:30:12Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AO6a_6HyhTym3qr0hEqOJYg","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[4],"tags":[164,71],"class_list":["post-24352","post","type-post","status-publish","format-standard","hentry","category-programming-category","tag-documentation","tag-programming"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/24352","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=24352"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/24352\/revisions"}],"predecessor-version":[{"id":24353,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/24352\/revisions\/24353"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=24352"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=24352"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=24352"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}