My experience with ruby is often documenting the expected argument and return types with comments and then writing code and/or tests to enforce the types.
Having also used Go a fair amount, I very much prefer the real type system which both documents and enforces.
Having also used Go a fair amount, I very much prefer the real type system which both documents and enforces.
I enjoy both languages though.