Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Typesetting Code
Search
Arnout Engelen
September 27, 2016
Technology
0
93
Typesetting Code
A casual presentation on typesetting code presented at the Xebia TED-style XKE
Arnout Engelen
September 27, 2016
Tweet
Share
More Decks by Arnout Engelen
See All by Arnout Engelen
Sandstorm.io
raboof
0
56
JVM Hacking
raboof
0
290
Heating Up!
raboof
0
42
CRDTs Illustrated - StrangeLoop2015
raboof
0
260
HTTP/2
raboof
0
69
Unikernels - Dutch Devops Engineers workshop
raboof
0
120
akka-persistence
raboof
0
45
Kamon
raboof
0
98
Slim table types (FitNesse meetup)
raboof
0
45
Other Decks in Technology
See All in Technology
年10万で社内Webアプリを10個動かす チャレンジをしている話 / The story of the challenge to run 10 in-house web apps for 100kJPY a year.
yamaguchitk333
0
110
Databricksで構築する初めての複合AIシステム - ML15min
taka_aki
2
1.4k
生成AI×マルチテナントSaaSな新規事業を立ち上げる上でテックリードとして気を使った点の紹介
lunastera
0
540
現実のRuby/Railsアップグレード
takeyuweb
3
4.8k
生成AIの強みと弱みを理解して、生成AIがもたらすパワーをプロダクトの価値へ繋げるために実践したこと / advance-ai-generating
cyberagentdevelopers
PRO
0
140
サイバーエージェントにおける生成AIのリスキリング施策の取り組み / cyber-ai-reskilling
cyberagentdevelopers
PRO
1
140
[PyCon Korea 2024] Lightning Talk: PyPI패키지를 의심하세요
studioego
PRO
0
130
日経電子版におけるリアルタイムレコメンドシステム開発の事例紹介/nikkei-realtime-recommender-system
yng87
0
170
AI Builder について
miyakemito
1
140
独自ツール開発でスタジオ撮影をDX!「VLS(Virtual LED Studio)」 / dx-studio-vls
cyberagentdevelopers
PRO
0
150
Mobbing Practices
kawaguti
PRO
3
350
とあるユーザー企業におけるリスクベースで考えるセキュリティ業務のお話し
4su_para
2
280
Featured
See All Featured
Writing Fast Ruby
sferik
626
60k
The World Runs on Bad Software
bkeepers
PRO
65
11k
Why Our Code Smells
bkeepers
PRO
334
57k
Automating Front-end Workflow
addyosmani
1365
200k
Producing Creativity
orderedlist
PRO
341
39k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
31
2.6k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
A Modern Web Designer's Workflow
chriscoyier
692
190k
Building Adaptive Systems
keathley
38
2.2k
Ruby is Unlike a Banana
tanoku
96
11k
Happy Clients
brianwarren
97
6.7k
Become a Pro
speakerdeck
PRO
24
5k
Transcript
Typesetting Code Arnout Engelen @raboofje Xebia TED-style XKE 27 sep
2016
Flamebait ahead Industrial-strength Asbestos Underwear
1954: IBM FORmula TRANSlating, FORTRAN Preliminary Report on The IBM
Mathematical FORmula TRANSlating System, FORTRAN
1963: ALGOL 60 Language Report
Fonts: proportional vs monospaced Adobe Source Sans Pro Adobe Source
Code Pro
1975: K&R “C Programming Language”
1983: Smalltalk
Fonts: propertional vs monospaced
1983: Knuth’s “Literate Programming”
1983: Knuth’s “Literate Programming”
Alignment
Alignment
Alignment: diff
Alignment: meld
Alignment: automatic
Alignment: elastic tabstops http://nickgravgaard.com/elastic-tabstops/
Alignment: dynamic re-flowing https://facebook.github.io/reason/tools.html
Ligatures in classic Typography
Ligatures - Fira Code
Fonts public class Elementary { public static void main(String[] args)
{ System.out.println(12345 + 5432l); } }
Fonts public class Elementary { public static void main(String[] args)
{ System.out.println(12345 + 5432l); } } 1) 66666 2) 17777
Fonts public class Elementary { public static void main(String[] args)
{ System.out.println(12345 + 5432l); } } 1) 66666 2) 17777 Java Puzzlers, Bloch & Gafter, 2005
Fonts: Il1 http://jessicahische.is/talkingtype
Fonts: emphasis
Fonts: emphasis E.W. Dijkstra, EWD74, 1964
Fonts: emphasis
Fonts: color scheme
Fonts: color scheme
Fonts: emphasis and colour schemes
Make your code beautiful!
• http://www.literateprogramming.com/knuthweb.pdf • • https://facebook.github.io/reason/tools.html • http://jessicahische.is/talkingtype • https://github.com/tonsky/FiraCode