Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.
Shall I Compare Thee
to a
Line of Code?
Lauren Scott
Developer at Brad’s Deals
Community Organizer
Chicago, IL
@devdame
devdame.com
…and poet.
Poetry Run-Down
• poem
The Poem
by George Oppen
A poetry of the meaning of words
And a bond with the universe
I think ther...
Poetry Run-Down
• poem
• line
The Poem
by George Oppen
A poetry of the meaning of words
And a bond with the universe
I thi...
Poetry Run-Down
• poem
• line
• line break
The Poem
by George Oppen
A poetry of the meaning of words
And a bond with the u...
Poetry Run-Down
• poem
• line
• line break
• stanza
The Poem
by George Oppen
A poetry of the meaning of words
And a bond w...
Poetry Run-Down
Form Poems
• set structure or
pattern
• eg: sonnet,
limerick, haiku
• SOMETIMES
have a rhyme
scheme
vs Fre...
and it’s not as stuffy as
you think
Heat
Here in the electric dusk your naked lover
tips the glass high and the ice cubes fall against her teeth.
It’s beautif...
So, what about
programming?
Language
–Oscar Wilde
“I have spent most of the day putting in a
comma and the rest of the day taking it out.”
Syntax
White Space
The negative
space
around your
words
(The joy of proper indentation!)
i have found what you are like
the rain,
(Who feathers frightened fields
with the superior dust-of-sleep. wields
easily th...
Condensed
Communication
Creativity Within Constraints
Take a Sonnet
• 14 lines long
• Three quatrains (4-line stanzas)
• The volta—a logical turn
• One couplet (2-line stanza)
...
And the rhyme scheme:
———————-A
———————-B
———————-A
———————-B
———————-C
———————-D
———————-C
———————-D
———————-E
———————-F
...
Shakespeare’s Sonnet no. 130
My mistress’ eyes are nothing like the sun;
Coral is far more red than her lips’ red;
If snow...
and it’s gotta be
GOOD!
Rhyme & Reason
Forms help you….
• organize thought
• pay attention to sound
• develop patterns and rhythms
• plain old get...
Challenges are FUN
Sound familiar?
• Frameworks!
• Languages!
• Design patterns! (ABAB => MVC)
forest first, trees later
• is your form the right form?
• not every poem is a sonnet!
• not every app is MVC!
notice the r...
okay, so then what?
But what makes code
and poetry good?
• Both are subjective
• People have opinions!
• Contextual creation is hard to teach
...
Say a lot with a little
• Use just enough language to make yourself
clear
• Make sure every word is necessary
• But what d...
A balance of two
factors:
fact & beauty
Fact
• What the code does
• What the poetry means
(functionality / message)
what you say
Beauty
• The clarity of the code
• The “poem-y” parts of the poem
(readability / imagery)
how you say it
In a Station of the Metro
The apparition of these faces in the crowd;
Petals on a wet, black bough.
by Ezra Pound
without beauty, fact can
be irrelevant
I Was In the Metro
I saw faces in the crowd;
They were beautiful.
by Ezra “Just the Facts” Pound
but
too much elaboration
loses focus
In a Dreary Station of
the Metro
I was deep down in the Metro, looking
at the crowd, and these faces
appeared almost as if...
remember the human
aspect
so how do we teach
the contextual?
workshops
you won’t always
be there
try being silent
How to implement:
• Implement workshop-style code reviews
• Stay silent in code reviews or on PRs until you’ve
gotten your...
kill what you love
you != what you make
Lauren Scott
@devdame
devdame.com
Shall I Compare Thee to a Line of Code?
Shall I Compare Thee to a Line of Code?
Shall I Compare Thee to a Line of Code?
Shall I Compare Thee to a Line of Code?
Shall I Compare Thee to a Line of Code?
Shall I Compare Thee to a Line of Code?
Upcoming SlideShare
Loading in …5
×

Shall I Compare Thee to a Line of Code?

1,238 views

Published on

A talk by Lauren Scott

For a version INCLUDING presenter notes, please visit http://www.slideshare.net/laureninwonderland/shall-i-compare-thee-to-a-line-of-code-with-presenter-notes

Programming has a lot more in common with the arts than we like to think—and no, I don’t just mean it’s good for making apps like Draw Something. People often speak of programming as an art form, saying that great code can somehow transcend basic functionality and become something that has value in the essence of its form. But, as we all know, writing code is easy—it’s writing the good stuff that’s hard.

So what can we take from study of the arts that would illuminate our own paths as developers? In this talk, I’ll go through some poetic principles that clarify ideas about software development, both in the way we write our code and the way we grow as creators and teammates. We’ll explore the way poets learn to shape their craft and see what we can steal to help our code level up from functioning to poetic.

Published in: Engineering
  • I have always found it hard to meet the requirements of being a student. Ever since my years of high school, I really have no idea what professors are looking for to give good grades. After some google searching, I found this service HelpWriting.net who helped me write my research paper. The final result was amazing, and I highly recommend HelpWriting.net to anyone in the same mindset as me.
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y3nhqquc } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD FULL BOOKS, INTO AVAILABLE FORMAT ......................................................................................................................... ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. PDF EBOOK here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. EPUB Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... 1.DOWNLOAD FULL. doc Ebook here { https://tinyurl.com/y8nn3gmc } ......................................................................................................................... ......................................................................................................................... ......................................................................................................................... .............. Browse by Genre Available eBooks ......................................................................................................................... Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult,
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here

Shall I Compare Thee to a Line of Code?

  1. 1. Shall I Compare Thee to a Line of Code?
  2. 2. Lauren Scott Developer at Brad’s Deals Community Organizer Chicago, IL @devdame devdame.com
  3. 3. …and poet.
  4. 4. Poetry Run-Down • poem The Poem by George Oppen A poetry of the meaning of words And a bond with the universe I think there is no light in the world but the world And I think there is light
  5. 5. Poetry Run-Down • poem • line The Poem by George Oppen A poetry of the meaning of words And a bond with the universe I think there is no light in the world but the world And I think there is light
  6. 6. Poetry Run-Down • poem • line • line break The Poem by George Oppen A poetry of the meaning of words And a bond with the universe I think there is no light in the world but the world And I think there is light
  7. 7. Poetry Run-Down • poem • line • line break • stanza The Poem by George Oppen A poetry of the meaning of words And a bond with the universe I think there is no light in the world but the world And I think there is light
  8. 8. Poetry Run-Down Form Poems • set structure or pattern • eg: sonnet, limerick, haiku • SOMETIMES have a rhyme scheme vs Free Verse • no constraints • no rhymes required! • most poetry written today
  9. 9. and it’s not as stuffy as you think
  10. 10. Heat Here in the electric dusk your naked lover tips the glass high and the ice cubes fall against her teeth. It’s beautiful Susan, her hair sticky with gin, Our Lady of Wet Glass-Rings on the Album Cover, streaming with hatred in the heat as the record falls and the snake-band chords begin to break like terrible news from the Rolling Stones, and such a last light—full of spheres and zones. August, you’re just an erotic hallucination, just so much feverishly produced kazoo music, are you serious?—this large oven impersonating night, this exhaustion mutilated to resemble passion, the bogus moon of tenderness and magic you hold out to each prisoner like a cup of light? by Denis Johnson
  11. 11. So, what about programming?
  12. 12. Language
  13. 13. –Oscar Wilde “I have spent most of the day putting in a comma and the rest of the day taking it out.” Syntax
  14. 14. White Space The negative space around your words (The joy of proper indentation!)
  15. 15. i have found what you are like the rain, (Who feathers frightened fields with the superior dust-of-sleep. wields easily the pale club of the wind and swirled justly souls of flower strike the air in utterable coolness deeds of green thrilling light with thinned newfragile yellows lurch and.press -in the woods which stutter and sing And the coolness of your smile is stirringofbirds between my arms;but i should rather than anything have(almost when hugeness will shut quietly)almost, your kiss i have found what you are like e e cummings
  16. 16. Condensed Communication
  17. 17. Creativity Within Constraints
  18. 18. Take a Sonnet • 14 lines long • Three quatrains (4-line stanzas) • The volta—a logical turn • One couplet (2-line stanza) • All in iambic pentameter “But soft! what light through yonder window breaks?” (Elizabethan, not Petrarchan)
  19. 19. And the rhyme scheme: ———————-A ———————-B ———————-A ———————-B ———————-C ———————-D ———————-C ———————-D ———————-E ———————-F ———————-E ———————-F ———————-G ———————-G sun red dun head white cheeks delight reeks know sound go ground rare compare
  20. 20. Shakespeare’s Sonnet no. 130 My mistress’ eyes are nothing like the sun; Coral is far more red than her lips’ red; If snow be white, why then her breasts are dun; If hairs be wires, black wires grow on her head. I have seen roses damasked, red and white, But no such roses see I in her cheeks; And in some perfumes is there more delight Than in the breath that from my mistress reeks. I love to hear her speak, yet well I know That music hath a far more pleasing sound; I grant I never saw a goddess go; My mistress when she walks treads on the ground. And yet, by heaven, I think my love as rare As any she belied with false compare.
  21. 21. and it’s gotta be GOOD!
  22. 22. Rhyme & Reason Forms help you…. • organize thought • pay attention to sound • develop patterns and rhythms • plain old get started • and much more!
  23. 23. Challenges are FUN
  24. 24. Sound familiar? • Frameworks! • Languages! • Design patterns! (ABAB => MVC)
  25. 25. forest first, trees later • is your form the right form? • not every poem is a sonnet! • not every app is MVC! notice the red flags
  26. 26. okay, so then what?
  27. 27. But what makes code and poetry good? • Both are subjective • People have opinions! • Contextual creation is hard to teach • But we have guidelines
  28. 28. Say a lot with a little • Use just enough language to make yourself clear • Make sure every word is necessary • But what do we deem “necessary”?
  29. 29. A balance of two factors: fact & beauty
  30. 30. Fact • What the code does • What the poetry means (functionality / message) what you say
  31. 31. Beauty • The clarity of the code • The “poem-y” parts of the poem (readability / imagery) how you say it
  32. 32. In a Station of the Metro The apparition of these faces in the crowd; Petals on a wet, black bough. by Ezra Pound
  33. 33. without beauty, fact can be irrelevant
  34. 34. I Was In the Metro I saw faces in the crowd; They were beautiful. by Ezra “Just the Facts” Pound
  35. 35. but too much elaboration loses focus
  36. 36. In a Dreary Station of the Metro I was deep down in the Metro, looking at the crowd, and these faces appeared almost as if they were ghosts. The metro was a dark cavern, the crowd a solid mass , but the faces were clear, delicate, fleeting, a brief moment of beauty in the otherwise dark world, like flower petals stuck to a slick black bough wet with rain. by Ezra “Pile It On” Pound
  37. 37. remember the human aspect
  38. 38. so how do we teach the contextual?
  39. 39. workshops
  40. 40. you won’t always be there
  41. 41. try being silent
  42. 42. How to implement: • Implement workshop-style code reviews • Stay silent in code reviews or on PRs until you’ve gotten your feedback • Weekly lunch & learn, workshop style • Start a Coder’s Workshop with friends • Just embrace silence personally
  43. 43. kill what you love
  44. 44. you != what you make
  45. 45. Lauren Scott @devdame devdame.com

×