2 ms·
The article complains about Scala lacking Open Classes: Open classes let you add features at runtime. [snip] It's the kind of thing that would be driv
by Nycto 16y ago
The article complains about Scala lacking Open Classes:
Open classes let you add features at runtime. [snip] It's
the kind of thing that would be driving programmers nuts by
the end of a 20-year maintenance cycle. But it's a godsend
when the developers of the original library weren't prescient
enough (or didn't have the time) to develop everything you
need.
This is what implicit conversions are for:
http://www.scala-lang.org/node/130 http://www.scala-lang.org/node/130