Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Crystal: Fast as C, Slick as Ruby. Parent comment
(0) If Snake is in the same module as Animal, the error is that “john.pet.talk” is a call to a nonexistent method.
(1) If Snake is in a different module from Animal, the errors is that Snake doesn't have a talk method.
This isn't nice.
There are no comments on this comment yet.
(0) If Snake is in the same module as Animal, the error is that “john.pet.talk” is a call to a nonexistent method.
(1) If Snake is in a different module from Animal, the errors is that Snake doesn't have a talk method.
This isn't nice.