paholg@lemm.eetoProgrammer Humor@lemmy.ml•What You're acc to your fav languageEnglish
11·
11 months agoPython with numpy/matplotlib/scipy.
Python with numpy/matplotlib/scipy.
I also appreciate that you’re supposed to learn Django 19 years before you learn Python.
I personally don’t think they do, but an argument can certainly be made. Rust proc macros can run arbitrary code at compile time. Build scripts can also do this.
This means, adding a dependency in Cargo.toml is often enough for that dependency to run arbitrary code (as rust-analyzer will likely immediately compile it).
In practice, I don’t think this is much worse than a dependency being able to run arbitrary code at runtime, but some people clearly do.
Then, you could take those comments, and have the compiler use them to ensure you’re using the right variable in the right place. Oh wait, we just invented a type system.