in reply to Procedural vs OOP modules
It's not that hard to start one way and switch to the other paradigm later if needed, e.g. when you discover you need subclassing or some kind of a testing trick (mocking, dependency injection) for a procedural module or you realise you haven't used $self in any of the methods.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Procedural vs OOP modules
by LanX (Saint) on Oct 28, 2021 at 23:28 UTC | |
by The Perlman (Scribe) on Oct 29, 2021 at 00:38 UTC | |
by LanX (Saint) on Oct 29, 2021 at 08:50 UTC | |
|
Re^2: Procedural vs OOP modules
by Bod (Parson) on Oct 28, 2021 at 23:19 UTC | |
by perlfan (Parson) on Oct 29, 2021 at 08:59 UTC |