[DroidconBoston2018] Tips for Library Development From a Startup Developer

0ebcda68732e9ed18d903d34bcf62b64?s=47 Lisa Wray
March 26, 2018
320

[DroidconBoston2018] Tips for Library Development From a Startup Developer

0ebcda68732e9ed18d903d34bcf62b64?s=128

Lisa Wray

March 26, 2018
Tweet

Transcript

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

    @lisawrayz Present *In the style of xkcd Droidcon Boston 2018 edition
  2. 4-Year B.S., Course 6 & 21M 8-YEAR

  3. Simmons hall Resistance is futile

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

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

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

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

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

  9. self-interest

  10. self-interest community
 interest

  11. How can a library benefit me?

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

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

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

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

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

  17. so, you want to make a library

  18. Google (62,000) Android Facebook (17,000) React Native, LITHO Size Complexity

    *Not to scale
  19. Google (62,000) Android Facebook (17,000) React Native, LITHO JetBrains (700)

    Kotlin Square (600) Retrofit, OKHttp You ? Size Complexity *Not to scale
  20. You ?

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

    all available time.”
  22. 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 %
  23. brews a hot, caffeinated beverage from coffee beans. Watch 50

    Star 1,076 FORK 94 lisawray/Coffeemaker <> Code Issues 21 Pull requests 3 Some other tabs I THINK
  24. 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.
  25. 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)
  26. 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)
  27. README.md Coffeemaker Compile ‘com.xwray:coffeemaker:1.5.2 How to use it: New CoarseGrindCoffeemaker()

    .brew(Coffee) New SlowDripCoffeemaker() .brew(Coffee)
  28. 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)
  29. Feature requests

  30. 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.
  31. 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.
  32. 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.
  33. Be your own user technically, It’s *His* dogfood

  34. Honesty

  35. Blazing fast! Insanely performant! README.md Better than those other stupid

    libraries! SMALL, EASY LIBRARY TO MAKE COFFEE. DOESN’T AIM TO MAKE ALL TYPES OF BEVERAGES.
  36. 2 . 5 . 1 Breaking Changes Bug fix New

    features
  37. 2 . 5 . 0 - alpha 1

  38. 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!
  39. Google search I’m feeling lucky Google Android library make coffee

  40. Testing

  41. 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
  42. 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
  43. ownership

  44. 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
  45. We own everything You make! Medium company Probably. We’ll Change

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

  47. Competition

  48. 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
  49. 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
  50. 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
  51. Deprecation

  52. No library is too small

  53. Lisa wray @lisawrayz Present Thank you! Droidcon Boston 2018 edition