This is one of those kata's where raising an exception would have been the better option.
These languages should be updated: Use object (or dynamic) in C# and a similar type in Scala.
object
dynamic
Strongly typed languages below should be deleted. Parsing a string and type checking are 2 different tasks and both should not co-exist amongst different languages of the same shared description ...
C#
Scala
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
This is one of those kata's where raising an exception would have been the better option.
These languages should be updated: Use
object
(ordynamic
) in C# and a similar type in Scala.Strongly typed languages below should be deleted. Parsing a string and type checking are 2 different tasks and both should not co-exist amongst different languages of the same shared description ...
C#
Scala
This comment is hidden because it contains spoiler information about the solution