Slide 1

Slide 1 text

CODE == TEXT … and developers are writers And(re)y Bar(a)nov, Evil Martians

Slide 2

Slide 2 text

RUBYRUSSIA 2019 progapandist @progapandist 2 evilmartians.com

Slide 3

Slide 3 text

RUBYRUSSIA 2019 progapandist @progapandist 3 evilmartians.com

Slide 4

Slide 4 text

RUBYRUSSIA 2019 progapandist @progapandist 4 evilmartians.com/chronicles

Slide 5

Slide 5 text

RUBYRUSSIA 2019 progapandist @progapandist 2000 - 2002 2003 - 2013 2013-2016 How I got here

Slide 6

Slide 6 text

RUBYRUSSIA 2019 progapandist @progapandist 6 Text file

Slide 7

Slide 7 text

RUBYRUSSIA 2019 progapandist @progapandist 7 Text file

Slide 8

Slide 8 text

RUBYRUSSIA 2019 progapandist @progapandist 8 we work with text files all day &' we make sure our code is readable and contains no errors we version text files we (mostly) don’t like to write in human languages We are developers

Slide 9

Slide 9 text

RUBYRUSSIA 2019 progapandist @progapandist 9 we work with text files all day &' we make sure our text is readable and contains no errors we version text files we (mostly) don’t like to write in computer languages ) We are writers

Slide 10

Slide 10 text

RUBYRUSSIA 2019 progapandist @progapandist 10 But… Why?

Slide 11

Slide 11 text

RUBYRUSSIA 2019 progapandist @progapandist 11 OK, let’s talk pyramids

Slide 12

Slide 12 text

RUBYRUSSIA 2019 progapandist @progapandist 12

Slide 13

Slide 13 text

RUBYRUSSIA 2019 progapandist @progapandist 13 TDD pyramid

Slide 14

Slide 14 text

RUBYRUSSIA 2019 progapandist @progapandist 14 Code Text Linters Spell checkers Unit tests Style, paragraphs System tests Chapters, composition Manual tests, QA Editor-in-chief, your mom

Slide 15

Slide 15 text

RUBYRUSSIA 2019 progapandist @progapandist 15 Journalism Ruby #initialize private methods one-liners #call

Slide 16

Slide 16 text

RUBYRUSSIA 2019 progapandist @progapandist 16 Ruby style Writing style Short lines Short sentences Short methods Short paragraphs Well-chosen names Well-chosen words Idioms (GitHub) Duh, idioms! (Literature)

Slide 17

Slide 17 text

RUBYRUSSIA 2019 progapandist @progapandist 17 Junior developers Junior writers Read code before you write it! Read articles before you write them!

Slide 18

Slide 18 text

RUBYRUSSIA 2019 progapandist @progapandist 18 SOLID Code A class/method should only have a single responsibility…

Slide 19

Slide 19 text

RUBYRUSSIA 2019 progapandist @progapandist 19 SOLID Writing A paragraph/sentence should only have a single responsibility…

Slide 20

Slide 20 text

evl.ms/blog @progapandist progapandist @evilmartians evl.ms/telegram Thank you, and enjoy writing (and reading)! RUBYRUSSIA 2019 20