Hacker News new | ask | show | jobs
by t0astbread 1482 days ago
Some languages and build systems also allow you to set constants from compiler flags (Go for example). Other systems make the entire build configuration an executable program (Gradle).
1 comments

I did not know that. I mostly use interpreted languages (Python, JavaScript, etc.)
For Python there are tools like setuptools_scm to completely automate the setup of this.
Good to know.