3 ms·
> Someone once said that the only thing missing from Python is a macro language Ahh, then it feels like we're talking about different things here! The type of
by KronisLV 5y ago
> Someone once said that the only thing missing from Python is a macro language
Ahh, then it feels like we're talking about different things here! The type of code generation that i was talking about was more along the lines of tools that allow you to automatically write some of the repetitive boilerplate code that's needed for one reason or another, such as objects that map to your DB structure and so on. Essentially things that a person would have to do manually otherwise, as opposed to introducing preprocessors and macros.
For a really nice example of this, have a look at the Ruby on Rails generators here: https://medium.com/@simone.catley/ruby-on-rails-generators-a3c318af9f05 https://medium.com/@simone.catley/ruby-on-rails-generators-a...