Like, this is just standard metaprogramming, if you don't have it you will just reach for dumber tools like non-language aided code generation.
On other end
Type annotations in JavaScript. Just use a language with Types.
Like, this is just standard metaprogramming, if you don't have it you will just reach for dumber tools like non-language aided code generation.