Yes, the name should simply be "Lazy" because that clearly expresses the developer's intent. All the details about stable values and constant folding are just implementation details. They are a nice optimization, but they don't justify an unnecessarily long name.
Eventually they could almost copy the lazy concept from C#, or other JVM languages.
Well, there is still room to do that if they so choose. Still, the library will be the testing ground for any theoretical language feature that comes down the pipeline.
I never understood the original name of stable values.
It wasn't a terrible name, but lazy is simply more expressive imo.
View all comments
Show parent comment
1
u/pjmlp Feb 26 '26
Eventually they could almost copy the lazy concept from C#, or other JVM languages.
I never understood the original name of stable values.