DEV Community

Discussion on: Where do you stand on "magic" within languages and frameworks?

Collapse
 
jeremyf profile image
Jeremy Friesen

I find that the most important feature of "magic" is that the tool needs powerful introspection. Emacs. has bonkers amount of magic available, and the introspection tools are top-notch. Similarly, Ruby has the ability to craft powerful magic (see Rails). Ruby also has powerful introspection.

So, if the tool uses magic, understand how to navigate the incantations. Those "magic macros" will save a lot of time.

Collapse
 
jmfayard profile image
Jean-Michel (jmfayard.dev)

A possible issue is that the "magic macros" can confuse the hell out of the developer tools from the IDE.

For example Scala is more powerful than Java or Kotlin, but its IDE support is worse because of that.

TL:DR developer tooling matters