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
95
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
60
JVM Hacking
raboof
0
290
Heating Up!
raboof
0
44
CRDTs Illustrated - StrangeLoop2015
raboof
0
280
HTTP/2
raboof
0
70
Unikernels - Dutch Devops Engineers workshop
raboof
0
120
akka-persistence
raboof
0
48
Kamon
raboof
0
110
Slim table types (FitNesse meetup)
raboof
0
49
Other Decks in Technology
See All in Technology
CDK CLIで使ってたあの機能、CDK Toolkit Libraryではどうやるの?
smt7174
4
140
今!ソフトウェアエンジニアがハードウェアに手を出すには
mackee
12
4.7k
職種の壁を溶かして開発サイクルを高速に回す~情報透明性と職種越境から考えるAIフレンドリーな職種間連携~
daitasu
0
150
Function Body Macros で、SwiftUI の View に Accessibility Identifier を自動付与する/Function Body Macros: Autogenerate accessibility identifiers for SwiftUI Views
miichan
2
180
Agile PBL at New Grads Trainings
kawaguti
PRO
1
410
AWSで始める実践Dagster入門
kitagawaz
1
610
Firestore → Spanner 移行 を成功させた段階的移行プロセス
athug
1
460
ハードウェアとソフトウェアをつなぐ全てを内製している企業の E2E テストの作り方 / How to create E2E tests for a company that builds everything connecting hardware and software in-house
bitkey
PRO
1
120
実践!カスタムインストラクション&スラッシュコマンド
puku0x
0
370
Android Audio: Beyond Winning On It
atsushieno
0
110
ChatGPTとPlantUML/Mermaidによるソフトウェア設計
gowhich501
1
130
機械学習を扱うプラットフォーム開発と運用事例
lycorptech_jp
PRO
0
230
Featured
See All Featured
Building an army of robots
kneath
306
46k
Stop Working from a Prison Cell
hatefulcrawdad
271
21k
For a Future-Friendly Web
brad_frost
180
9.9k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
How to Think Like a Performance Engineer
csswizardry
26
1.9k
4 Signs Your Business is Dying
shpigford
184
22k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
9
810
Designing for Performance
lara
610
69k
Imperfection Machines: The Place of Print at Facebook
scottboms
268
13k
The Pragmatic Product Professional
lauravandoore
36
6.9k
Site-Speed That Sticks
csswizardry
10
810
Rails Girls Zürich Keynote
gr2m
95
14k
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