Ruby's flip-flop operator is a remarkable bit of syntax with implicit state: http://t.co/P0nefQprs1
miniblog.
Related Posts
I tend to shy away from automatic, implicit behaviour in software. I've seen CMake setups where FindFoo.cmake is automatically picked up for configuring the Foo library.
What are examples of tools with a larger amount of automagic behaviour that you like?
Golang's "named return" is a pretty wild feature I haven't seen elsewhere. (The closest I know is &aux in Common Lisp.)
Implicit `return` example: https://tour.golang.org/basics/7 or even modifying results before returning:
Superb blog post about "explicit is better than implicit". Are you seeking to make something opt-in, promoting 'syntactic salt', or arguing for local reasoning?
https://boats.gitlab.io/blog/post/2017-12-27-things-explicit-is-not/