The Crystal Programming Language Forum

Design decisions regarding introsepection and reflection

What’s the take of the crystal language towards introspection ?
E.g. the ruby method myclass.methods ?

They exist but are compile time constructs. There currently is no runtime reflection.

See https://crystal-lang.org/reference/syntax_and_semantics/macros.html, also the API docs https://crystal-lang.org/api/Crystal/Macros/TypeNode.html.