3 ms·
Type deduction from right hand side expression is enough and that was stated in FAQ that they didn't want HM inference. Edit: well not in FAQ but somewhere els
by entha_saava 6y ago
Type deduction from right hand side expression is enough and that was stated in FAQ that they didn't want HM inference.
Edit: well not in FAQ but somewhere else. IIRC Rob Pike.
- k_bx 6y agoTurns out I was wrong (and corrected thankfully), Go does not have subtyping, which is good news (at least it makes the language way more tolerable for me).