News for hackers. Stuff that matters.
Re:Stripe is building a Ruby typechecker by markmark on Sunday June 03, 2018 @07:19PM (#17223043)
When using a dynamic language you need to know what properties are on an object right? So you can work with them, access them, whatever. So just write it down so everyone else knows too. There, that was easy.
Re:Stripe is building a Ruby typechecker by wtetzner on Sunday June 03, 2018 @10:15PM (#17224019)
If that’s the case, then why not have the compiler check them as well?
Re:Stripe is building a Ruby typechecker by markmark on Sunday June 03, 2018 @10:29PM (#17224081)
Yes, that's exactly my point. Right them down in your program so that the compiler can check them rather than holding them in your head.
Re:Stripe is building a Ruby typechecker by wtetzner on Friday June 08, 2018 @09:20AM (#17264985)
Sorry, I misunderstood your comment.