News for hackers. Stuff that matters.
Re:Why Crystal Is My Next Language by flavio81 on Monday June 11, 2018 @12:12PM (#17285503)
As a user of Common Lisp that is lately learning Ruby, i am amazed at how weak the type system is and how many stuff that would immediately cause a compiler error in Lisp (like asking values from class members that don't exist) simply pass silently with no error (not even at runtime) in Ruby.

Since every call is a method, and a method belongs to an object, the type of this object is significant. Base Ruby language gives you no way to declare that object X shall be of class C.

So, well, there are dynamic languages and there are dynamic languages.

There are no comments on this comment yet.