News for hackers. Stuff that matters.
Re:Byte Magazine Special Issue: Smalltalk (1984) by lispm on Friday August 12, 2022 @03:34AM (#32435578)
R, Perl and Raku, various Scheme variants use it.
Re:Byte Magazine Special Issue: Smalltalk (1984) by pjmlp on Friday August 12, 2022 @04:21AM (#32435820)
Since when does Perl 5 use CLOS?

Regarding R and Raku I cannot say anything, but the CPAN package for OOP extensions I used back in 2000's wasn't it.

Re:Byte Magazine Special Issue: Smalltalk (1984) by lispm on Friday August 12, 2022 @07:08AM (#32436780)
It's not about using CLOS, since that is Lisp specific and the full thing incl. MOP is largish.

But Moose is largely influenced by CLOS.

https://www.perl.org/about/whitepapers/perl-object-oriented....

some comment here on Hackernews :

"Moose is back-ported Perl6 objects, which borrows heavily from CLOS and the concepts introduced in the Smalltalk traits paper. This is a bit of a simplification of the history, but the ancestry is present, documented and obvious."

Re:Byte Magazine Special Issue: Smalltalk (1984) by pjmlp on Friday August 12, 2022 @09:38AM (#32438446)
Fair enough, still one option among many others.

A quick search gave me Moose, Moo, Class::Accessor, Class::Tiny.

So kind of hard to make it the Perl OOP way.

Re:Byte Magazine Special Issue: Smalltalk (1984) by ncmncm on Friday August 12, 2022 @11:34PM (#32446659)
TIMtOWtDI, as it were.