You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An extremely common situation for me has been to have a low level process that needs a value x to do something, and I'll want to do a transition from x is a magic number constant to x is a literal being yielded by some iterator to x is a random variable that needs to be drawn from a distribution or calculated from other low level state. The most flexible pattern for this is probably a generator and it likely makes sense to build around that idea
The text was updated successfully, but these errors were encountered:
ANaka
changed the title
Finding a consistent pattern for representing parameters. An extremely common situation for me has been to have a low level process that needs a value x to do something, and I'll want to do a transition from x is a magic number constant to x is a literal being yielded by some iterator to x is a random variable that needs to be drawn from a distribution or calculated from other low level state. The most flexible pattern for this is probably a generator and it likely makes sense to build around that idea
Pattern for representing parameters.
Mar 7, 2023
An extremely common situation for me has been to have a low level process that needs a value x to do something, and I'll want to do a transition from x is a magic number constant to x is a literal being yielded by some iterator to x is a random variable that needs to be drawn from a distribution or calculated from other low level state. The most flexible pattern for this is probably a generator and it likely makes sense to build around that idea
The text was updated successfully, but these errors were encountered: