Aloysius
Aloysius
MModular
Created by Aloysius on 7/6/2024 in #community-showcase
Monte Carlo 3x Speedup
Thanks for the extensive reply! I can see the benefits of var for clarity. I do still kind of think implicitly handling is ok: like if your example was:
a: Int
if expr:
a = 10
use(a)
a: Int
if expr:
a = 10
use(a)
But I can see how that's less clear. My comment was an observation from early use, no doubt I'll get used to it.
23 replies
MModular
Created by Aloysius on 7/6/2024 in #community-showcase
Monte Carlo 3x Speedup
Yeah sure, it made sense to me when there were let and var declarations. Now that everything uses var, why not just add it implicitly? Seems closer to Python and I don't see the downside
23 replies
MModular
Created by Aloysius on 7/6/2024 in #community-showcase
Monte Carlo 3x Speedup
Hi, I'm out and about right now - if you have the time please feel free to create a report, otherwise I can do this evening!
23 replies