4 ms·
What makes you think that Scala has no macros?
by justthistime_ 11y ago
What makes you think that Scala has no macros?
- sklogic 11y agoIt got some rudimentary macro support only recently, and still they're not the proper macros, more like a TH limited approach. The worst part which makes macros much less useful is that you cannot have a macro definition and use it in the same compilation unit. In fact, adding proper macros support to any language is trivial. Pity that very few are bold enough to do it.
- justthistime_ 11y agoYour whole comment tells me that you are completely unaware of how macros in Scala work and how they are developed further.
- sklogic 11y agoSo now it's possible to use a Scala macro in the same module it's defined? Good. But then documentation is too much behind, and this is most certainly not good at all.