News for hackers. Stuff that matters.
Re:Python's sad, unimaginative Enum by tsuyoshi on Saturday May 11, 2013 @08:48PM (#5692695)
It's sort of an accident: the inventor of ML (which SML, OCaml, and F# are descended from, and Haskell has liberally borrowed from) is the "Milner" in Hindley-Milner type checking, and algebraic types are one of the things that make Hindley-Milner useful.

Anyone who's used the object-oriented part of OCaml can tell you that inheritance can mix with Hindley-Milner awkwardly... but I'm not sure that really means algebraic types and pattern matching couldn't be integrated into Java, Python, or whatever somehow. For all I know, maybe it's already on the way into C++...

Re:Python's sad, unimaginative Enum by spicyj on Saturday May 11, 2013 @10:03PM (#5692837)
It's an integral part of Rust, which is Mozilla's new (imperative) language:

http://www.rust-lang.org/

Re:Python's sad, unimaginative Enum by habitue on Saturday May 11, 2013 @10:56PM (#5692936)
They are also available in Ceylon (Redhat's Java successor):

http://ceylon-lang.org/