HN Top New Show Ask Jobs

settings

Theme

Hand Mode

Feed

Comment by vidarh

Comment by vidarh 9 hours ago

0 replies

View on Hacker News

> It's like a proc, but instead it's a class with `#call` method.

It's called the "callable" pattern.