Hacker News new | ask | show | jobs
by chopin 2383 days ago
Even Object.toString could do this using reflection. If you're worried about the performance, override it. I never understood why this is not the case (doesn't Haskell do something similar?).