On Thu, 7 Apr 2022 at 10:19, Brian McCall <[email protected]> wrote: > > > Agreed, this is just using Python as a glorified calculator. I understand > > that this is just an example, but I *am* curious, is the bulk of what you > > do simply calculations like this, or do your more complicated examples tend > > to be more like actual programs? > > I have never shipped code that would depend on these features. Code like > this, including this exact formula, might sit in a script and be used to > calculate normalization factors and feed into a noise model. That script > might look at one complete concept that I want to test out in theoretical > sense. In other cases, I'll make one or more of those quantities out to be > variables that I pass in via command line or config file. This allows me to > explore a system design space. >
You have a VERY restricted definition of "shipped", then. If that code did some calculation and that calculation was used, then that's production code. ChrisA _______________________________________________ Python-ideas mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/[email protected]/message/KJ3KJFIWGWMF7XUIG7K672SRUXLBUAMY/ Code of Conduct: http://python.org/psf/codeofconduct/
