Hi Yu, Generics have their use cases, e.g. when designing general data containers or in the context of numeric computation (matrix type of int, float, etc). In other areas, however, their use may be overrated.
If you have a particular problem and you think, "I do need generics to implement that!", then you might become blind for other solutions. Some time ago I collected a number of alternatives to using generics - see: https://appliedgo.net/generics Best, Christoph On Saturday, January 14, 2017 at 7:42:43 AM UTC+1, Yu Liu wrote: > > Agree. > > Only generics missing is disadvantage of Go. > > Yu > > On Friday, January 13, 2017 at 10:56:07 AM UTC-8, simon place wrote: > >> sorry but for me, excepting generics and maybe a float32 maths lib, these >> are all just your problem. >> >> particularly wrong is the idea of native conversion of bools to/from >> numbers, albeit widespread and long-standing, perpetuating these mistakes >> just means preventing any development of languages. >> > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.