I'm often surprised how many methods are in the Smalltalk base classes.
For example, Object has an at: message for integer access (like foo[123] in Python).
miniblog.
Related Posts
I've been reading about the object-capability model as seen in the E programming language.
It reminds me of dependency injection, but used pervasively. Rather than calling static methods, you pass in object arguments and call methods in them.
A neat IDE feature from Typescript 5.2: it completes object field names even if the previous field doesn't end with a comma!
Syntax recovery is super helpful sometimes.
I still find it odd that non-OO languages use the term "object" in their docs. I've seen it in both C and Emacs Lisp.
Example:
