79712942

Date: 2025-07-24 07:45:59
Score: 1
Natty:
Report link

Yeah it’s totally fine to use top-level variables in a simple Julia script like that — especially for configs and basic flow. But if you’re doing performance-heavy stuff or using Revise a lot, it’s better to wrap things in a main() function and maybe use const for fixed values. Helps with compile times and avoids weird recompile issues. But for most scripts, you're good!

Reasons:
  • Has code block (-0.5):
  • Single line (0.5):
  • Low reputation (1):
Posted by: DNA E-store Best Deals