Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
nadam
· 16y ago · 0 comments
I like the approach in Scala: every function is an object, and every object which provide an apply() method can be used as a function.
Comments
[–]
sverrejoh
16y ago
Same as in Python, except apply() is called __call__()