50 karma · joined May 22, 2016
You should convert when you reach the point "I wish I had that code but with this other type". Even then, sometimes interfaces are the right answer, rather than generics.
Of course, it would be just as simple to use the salt as-is, in that case, since you have to look it up anyway.
LXC creates environments, while Docker creates apps, is another way to say it.
I haven't heard it called a political issue before though. It just had problems, like being blocked in firewalls and security problems where the encapsulated packet wasn't checked properly, etc.
OTOH, the researcher says 1-2 cups is the normal amount in the article. To me that implies a larger cup size.
Most places where the empty's interface is used now could benefit from it. Eg. the json package could state it always uses float64 for numbers (except when you tell it to use Number).
Also it's questionable that they add very much. Parsing text isn't all that difficult. The hard part is to get the tree structure of the AST right.
All in all the parsing is a quite small part of a compiler. I've converted from a parser generated to manual code in two different projects and they actually ended up with less lines of code after the conversion, if just barely.
This is indeed something you have to learn though, first time I encountered this kind of microwave it baffled me as well.