Tips for Library Development from a Startup Developer

0ebcda68732e9ed18d903d34bcf62b64?s=47 Lisa Wray
October 26, 2017

Tips for Library Development from a Startup Developer

Are you ready to take a long shot and invest… in your code? As a veteran of both Google and two startups and counting, I'll share with you how to chase the dream of open source, fame, and fortune, no matter the size of your company.

0ebcda68732e9ed18d903d34bcf62b64?s=128

Lisa Wray

October 26, 2017
Tweet

Transcript

  1. Tips for Library Development From a startup developer* Lisa wray

    @lisawrayz Present *In the style of xkcd
  2. Actual famous keynote speakers

  3. gradle file, day 1 dependencies { implementation appcompat-v7 implementation constraint-layout

    testImplementation junit androidTestImplementation espresso-core }
  4. gradle file, day 7

  5. why do this thing, for free, on the internet?!

  6. self-interest community
 interest

  7. How can a library benefit *me*?

  8. How about we take *this* module out? Oh god App

    jenga Modularity
  9. Community help AKA “Other people write your code for free”

  10. Apollo GraphQL Ivan (sav007) Mike (FriendlyMike) Brian (BrianPlummer) Shopify AirBNB

    New York Times ... AND MANY MORE!! FOR ANDROID
  11. bare necessity Tee hee!

  12. Learn something new KotliN This is so much fun!! Ew.

  13. so, you want to make a library

  14. Google Facebook JetBrains Square You (62,000) (17,000) (700) (600) Android

    React Native, LITHO Kotlin Retrofit, OKHttp ? Size Complexity *Not to scale
  15. You ?

  16. Cyril Northcote Parkinson, 1955 “work expands so as to fill

    all available time.”
  17. Parkinson, Cyril Northcote (19 November 1955). "Parkinson's Law". The Economist.

    London.
 http://www.economist.com/node/14116121 100(2km + p) yn Parkinson’s law: % bureaucrat increase over time K = staff seeking promotion P = career length M = (man) hours worked N = number of units Y = original Staff %
  18. README.md Coffeemaker Compile ‘com.xwray:coffeemaker:1.5.2 How to use it: New Coffeemaker().brew(Coffee)

    Watch 50 Star 1,076 FORK 94 lisawray/Coffeemaker <> Code Issues 21 Pull requests 3 Some other tabs I THINK brews a hot, caffeinated beverage from coffee beans.
  19. README.md Coffeemaker Compile ‘com.xwray:coffeemaker:1.5.2 How to use it: New Coffeemaker()

    .setFilter(Filter.standard) .setGrindtype(Grindtype.NORMAL) .setWaterTemperature(195) .setDripspeed(Dripspeed.NORMAL) .brew(Coffee)
  20. README.md Coffeemaker Compile ‘com.xwray:coffeemaker:1.5.2 How to use it: New CoarseGrindCoffeemaker()

    .brew(Coffee) New SlowDripCoffeemaker() .brew(Coffee)
  21. README.md Coffeemaker Compile ‘com.xwray:coffeemaker:1.5.2 How to use it: New Coffeemaker()

    .setFilter(new Filter()) .setGrindER(New Grinder()) .setWaterHEATER(new heater()) .setpump(new pump()) .brew(Coffee)
  22. Feature requests

  23. Watch 50 Star 1,076 FORK 94 lisawray/Coffeemaker <> Code Issues

    21 Pull requests 3 Some other tabs I THINK Add pasta cooking capability #23 ! Open Julie commented on Oct 2 I’m using this library to make spaghetti and it’s not working well.
  24. Be your own user technically, It’s *His* dogfood

  25. Honesty

  26. Blazing fast! Insanely performant! README.md

  27. Better than those other stupid libraries! README.md

  28. SMALL, EASY LIBRARY TO MAKE COFFEE. DOESN’T AIM TO MAKE

    ALL TYPES OF BEVERAGES. README.md
  29. 2 . 5 . 1 Breaking Changes Bug fix New

    features
  30. 2 . 5 . 0 - alpha 1

  31. Questions Some other stuff How to make coffee on android?

    I’ve tried to make coffee on android, but I can only Seem to make toast. Can someone help me? I made a library that does this for you!! Check out coffeemaker!
  32. Google search I’m feeling lucky Google Android library make coffee

  33. Testing

  34. Watch 50 Star 1,076 FORK 94 lisawray/Coffeemaker <> Code Issues

    21 Pull requests 3 Some other tabs I THINK CONVERSATION 5 Commits 1 Files Changed 2 Julie commented on Oct 19 Fix filter leak #57 Fixes problem where coffee can contain bits of grounds Fix coffee filter leak 2d686e0 Open
  35. CONVERSATION 5 Commits 1 Files Changed 2 Julie commented on

    Oct 19 Fix filter leak #57 Fixes problem where coffee can contain bits of grounds Fix coffee filter leak 2d686e0 Open All checks have passed
  36. ownership

  37. We own everything You make! Big company Also you get

    tons Of money, Three free meals A day, massages, laundry, a gym on Campus And a new puppy
  38. We own everything You make! Medium company Probably. We’ll Change

    it. Please Don’t Leave us Did your lawyers Leave that in Accidentally?
  39. Small company You can wear Batman pajamas To work

  40. Competition

  41. Type-safe beverage maker for android by hexagon, inc Watch 110

    Star 6,032 FORK 479 Hexagon/Coffee <> Code Issues 4 Pull requests 8 README.md Coffee Compile ‘com.hexagon:coffee:1.1.0
  42. Deprecation

  43. No library is too small

  44. Thank you! Lisa wray @lisawrayz Present