HNHacker News
TopNewBestAskShowJobs

_256

42 karma · joined May 21, 2021

submissionscomments
_256··on Revisiting Interface Segregation in Go
I don't care that much about defining a minimal interface or whether the producer or consumer defines it. the pain point for me is when you start passing interfaces up and down the stack and they become impossible to trace back to the concrete type. If you take an interface you should use it directly and avoid passing it down to another one of your dependencies. This keeps the layers you need to jump through to find the concrete type to a minimum.
_256··on Ask HN: Need help in understanding private equity offer
heres a good resource https://carta.com/blog/exercising-stock-options/.
_256··on Show HN: A LRU cache using go generics
This is a simple LRU cache I made to get my hands on generics which is available in the go 1.18 beta. Feedback is welcome :-)