PHP promises? I can't quite put my finger on it, but this makes me feel very strange. As if they're not supposed to exist or something. I hope someone can articulate the reason (if there is one) better than me...
Unfortunately Go's lack of generics hurts in letting me use these helpers in a way that guarantees the data types going in/out of the generic channels.
Right. Everything gets converted to Go's "any" type, "Interface{}". At the output end you have to use a type assertion to get it back into the actual type. Note that an "Interface{}" is a pointer; you're not queuing the data, you're queuing a pointer to the data. So you're sharing data between goroutines. The sender must allocate a new variable for each send.
(This is my biggest complaint about Go. It's too easy to accidentally share data between goroutines, because so many things are implicitly references to mutable objects. Slices, for example, are references. Erlang and Rust, which also use queues heavily, avoid doing this.)
Promote the hell out of it on Twitter, Reddit, Hacker News (done). Apply to speak at conferences and go speak about it. There are plenty of PHP conferences to choose from. Get your employer to pay for the trips.
Thanks for the tips, the conferences idea sounds interesting (though my employer has no budget to fund conferences related to my work let alone anything else, so I'd have to cover the costs myself).
Not sure about the real-estate idea, I guaranteed my wife that any money-making schemes would be strictly low-risk!
Not only is buying an apartment to rent out short term on a full time basis high risk, its probably illegal. This specific post was on HN and we found he was violating his homeowners agreement as well.
It's also a bad idea insurance wise, what if something happens (fire, flood, robbery) and your homeowner's insurance says "we are covering a home, not a friggin unregulated hotel"