Conversation

You’re unable to view this Tweet because this account owner limits who can view their Tweets. Learn more
You’re unable to view this Tweet because this account owner limits who can view their Tweets. Learn more
It's a data description language for describing binary formats - this usually takes lots of error prone boilerplate to write properly, so it has a type system to help you.
2
1
Ultimately all compilers do code generation. It means that we don't have to write everything directly in assembly (or some other target language), which I think is a pretty good thing!
1
1
I would agree though that much of the code generation that we may come across in industry, which is based on strings and text replacement and error-prone, undocumented python scripts can be rather terrifying though. 😬
1
2
I think that’s more of a reflection on the code generation tools used (and available to the average developer), and our failures in educating people about compilers than a problem with code generation itself.
1
1