|
|
|
|
|
by virtualwhys
4738 days ago
|
|
Interesting, assume you are referring to Gosu's open type system; in practice how does work? I'm skeptical that Gosu's equivalent comes anywhere close to: http://vimeo.com/user18356272/review/66548723/a0d91288e1 It's fucking ridiculous, look at what is happening there and ask yourself, does a similar feature exist in my primary development language? As a Scala user I cannot answer yes. |
|
The API for actually using the open type system was quite awkward and undocumented back when I used it, but it's probably improved by now.
My main language is probably Haskell or maybe OCaml. We don't have anything quite like that, but we can get quite far just with Template Haskell or Camlp4. E.g. I'm sure I could implement the regular expression example with a Template Haskell quasiquoter. Maybe not quite as slick, but certainly serviceable. I also don't know about tooling support because I'm still using Emacs for everything :P.