News for hackers. Stuff that matters.
Re:Pyret: A new programming language from the creators of Ra... by pjmlp on Saturday November 09, 2013 @10:30AM (#6701860)
Contracts?
Re:Pyret: A new programming language from the creators of Ra... by skrishnamurthi on Saturday November 09, 2013 @05:32PM (#6703696)
Every time you write a refinement on a type, you're actually writing a contract. You can gracefully move between types and contracts this way, and also between thinking of them as checked assertions vs tested ones. The goal is to make this migration more and more seamless.
Re:Pyret: A new programming language from the creators of Ra... by pjmlp on Sunday November 10, 2013 @03:34AM (#6705750)
Yes, I although I have used a multitude of dynamic languages on my career I tend to lean on the static type languages with type inference side.