You already like ocaps or: lambda, the ultimate security mechanism Show more
I'm going to demonstrate in a few lines of code why, if you are any kind of programmer at all, you already know and like object capabilities. In fact, they're just simple code, either functional or imperative.
Here's a function:
(define (say-hello name)
(string-append "Hello " name "!"))
Even if you aren't lispy, I bet you can read that. We can call it like:
(say-hello "Bob") ;; => "Hello Bob!"
With me so far?