> On 21 Sep 2024, at 11:40, Dan Sommers via Python-list
> wrote:
>
> Despite the fact that "everything is an object" in Python, you don't
> have to put data or functions inside classes or objects. I also know
> nothing about Typer, but there's nothing wrong with functions in a
> module.
Pyt
On 2024-09-23 at 19:00:10 +0100,
Barry Scott wrote:
> > On 21 Sep 2024, at 11:40, Dan Sommers via Python-list
> > wrote:
> But once your code gets big the disciple of using classes helps
> maintenance. Code with lots of globals is problematic.
Even before your code gets big, discipline helps
The "next-level math trick" Newton-Raphson has nothing to do with
functional programming. I have written solvers in purely iterative
style. As far as I know, Newton-Raphson is the opposite of functional
programming as you iteratively solve for the root. Functional programming
is stateless where you