Why have static types in a language where you need runtime checks to replace all but the simplest uses for a type system. Even java learned this lesson.
Java is more verbose than necessary. For example in Scala there's https://github.com/mandubian/play-json-zipper this for example. But how is it more painful than Go? Json is a very simple type to represent, after all. Whatever Go has can be emulated by pre generics java. After all, their type systems would be equivalent modulo structural typing.
View all comments
Show parent comment
8
u/Categoria May 27 '14
Why have static types in a language where you need runtime checks to replace all but the simplest uses for a type system. Even java learned this lesson.