Joe: Int(String) is quite a different operation from Int(Int8) or Int(Float), so it's weird presenting the same interface for both. It would be nice to have a variadic inverse operation to printTo(String, ..values) too. Both of these issues could be addressed with a parse(str, ..T) interface for reading objects from character sequences.
parse(T, str) implemented by tepancheg in (look at original issue) He proposed a better design, having the variadic parseSeparated be a different symbol.
Joe:
Int(String)is quite a different operation fromInt(Int8)or Int(Float), so it's weird presenting the same interface for both. It would be nice to have a variadic inverse operation toprintTo(String, ..values)too. Both of these issues could be addressed with aparse(str, ..T)interface for reading objects from character sequences.parse(T, str)implemented by tepancheg in (look at original issue) He proposed a better design, having the variadicparseSeparatedbe a different symbol.