Static typing can be replicated in a dynamically typed language with a preprocessor too. (For example, see TypeScript.)
Re:Go 1.3 is released
by seanmcdirmid on Thursday June 19, 2014 @03:00AM
(#7914793)
Templates/macros/preprocessing do sacrifice separate compilation and separate type checking; so your error messages might not be comprehensible, your compile times can be much slower, and...you need source for your generic container. Rob Pike probably knows the drawbacks of that approach well and I doubt he would go there.
non-static typing is a massive loss of safety.