HNHacker News
TopNewBestAskShowJobs

hackernoon

5 karma · joined July 21, 2017

submissionscomments
hackernoon··on Be Nice and Write Stable Code
Argh! I love the deprecation example! How elegant! How did I never think of this (or why did I never think to ask)!

edit: pasted here –

  func ListItems(query Query) Items {
    ListItemsWithLimit(query, 0, 0)
  }

  func ListItemsWithLimit(query Query, limit int, offset int) Items {
  // ...
  }
hackernoon··on DIY Powerwall Builders Are Using Recycled Laptop Batteries to Power Their Homes
reminds me of this http://gridlesskits.com – also a DIY storage/solar project that was on HN a few months ago