in reply to Re: Procedural vs OOP modules
in thread Procedural vs OOP modules
I'm not thrilled about mixing $obj->methods() which expect $self and such pure functions Class::funcs() ...
This has some code smell for me and should be well thought of.
I think this might sabotage many patterns like sub-classing...
Can you give an example where this makes sense?
I took a quick glimpse into static functions for C++ and Java and they look very much like class methods to me.
Cheers Rolf
(addicted to the Perl Programming Language :)
Wikisyntax for the Monastery
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Procedural vs OOP modules
by bliako (Abbot) on Oct 29, 2021 at 11:29 UTC | |
by LanX (Saint) on Oct 29, 2021 at 14:03 UTC |