News for hackers. Stuff that matters.
Re:Monkey Patching in Golang (2015) by onionisafruit on Friday February 28, 2020 @09:24AM (#22442947)
I can imagine the type people looking to actually use this. They are using go for whatever reason but complain about it constantly because they want it to be Ruby on Rails.
Re:Monkey Patching in Golang (2015) by bouk on Friday February 28, 2020 @09:25AM (#22442958)
People really want to mock out dependencies in go, instead of architecting their application properly
Re:Monkey Patching in Golang (2015) by onionisafruit on Friday February 28, 2020 @09:36AM (#22443025)
I’m all over using gomock to test my packages in isolation. I’ll just continue to do that with generated mocks instead of trying to monkeypatch a language that isn’t intended for that.

I’m curious about your motivation for writing this. Did it start out as something legitimate and morphed into a joke when you wanted to see how far you can push it? Or were you taking the piss the whole time?

Re:Monkey Patching in Golang (2015) by bouk on Friday February 28, 2020 @09:41AM (#22443049)
Taking the piss 100%