Comment by lmm
12 years ago
> All of the dependently typed languages, like Coq, that I've seen have not been very good programming languages, in my opinion.
Yeah, that's why I'm looking at Idris - it seems like the only one that's oriented towards practical programming. I did eventually get it installed, but it's tough going doing anything with it when you don't know Haskell tbh.
> Idris - it seems like the only one that's oriented towards practical programming
Whether you like ATS or not, it's very oriented towards practical programming. Also, ATS mostly looks bad IMO because of the style the author uses.
I still haven't fully formed an opinion on ATS though. Idris does seem really cool and stuff like enforcing time/space usage through the type system excites me.
I'm not sure whether my issue with ATS is the style of the author or its type system, although I suspect the former.
ATS is based on ML (the author started with Dependent ML), but the code has a very imperative feel, leading to statements like "let () = expr() in ..." and "let x = ... in ()".
The stuff at http://www.ats-lang.org/Examples.html is just hideous, by the way.
I agree with you, though I think it is because of the authors style. Check out some of Chris Done's ats code examples in a more appealing style:
https://gist.github.com/chrisdone/c23251e8b975dc805876
Here's just a small translation of the ats examples[0] page.
----------------- Copying File ----------------
Authors version:
----------------- Naieve Fibonacci ----------------
My version:
Authors version:
My Version (not sure if valid!):
----------------- Fast Fibonacci ----------------
Authors Version:
My Version:
0: http://www.ats-lang.org/Examples.html