News for hackers. Stuff that matters.
Re:Why do dynamic languages make it more difficult to mainta... by lutorm on Monday January 27, 2014 @03:41PM (#7133062)
In what language do you not have to implement a conversion-to-string for each type? It's not like the compiler can know what string representation you have in mind for some arbitrary object.
Re:Why do dynamic languages make it more difficult to mainta... by mightybyte on Monday January 27, 2014 @03:48PM (#7133121)
Haskell. It's often not about a specific representation, but rather just some representation that allows you to see a type's internals.
Re:Why do dynamic languages make it more difficult to mainta... by mercurial on Monday January 27, 2014 @04:42PM (#7133458)
For debug purpose (like you'd use Show in Haskell), Perl gives use Data::Dumper to dump your data structures. Not quite the same as deriving Show, but for most purposes, entirely sufficient.