Better HN
topnewbestaskshowjobs
Log inSign up

hackernoon

5 karma · joined Jul 21, 2017 (9y ago) · 2 submissions

Submissions

comment 8y ago · link · parent

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 {
  // ...
  }

comment 9y ago · link · parent

reminds me of this http://gridlesskits.com – also a DIY storage/solar project that was on HN a few months ago