ArchUnit is really neat way of testing Java, using reflection to enforce code style ('architecture') properties. For example, enforcing that all subclasses of Connection have a name ending with 'Connection':
miniblog.
Related Posts
Mid stack inlining in Go: https://go.googlesource.com/proposal/+/master/design/19348-midstack-inlining.md
(Interesting implementation details: the inliner is AST based, how to preserve existing stack reflection APIs, and how to show good tracebacks.)
Nice post on implementing a datastructure like pandas.Series using Smalltalk reflection:
Experimenting with Mirrors for JavaScript
https://www.wirfs-brock.com/allen/posts/228
A great introduction to mirrors and the reflection problems they solve.
