Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Why not use nameless scalars?

nameless scalars
0
Posted

Why not use nameless scalars?

0

• Why not support inside-out classes? • Why not use Class::Std? This is the only real divergence from the Perl Best Practices book and turns out to be one of the most hottly debated issues raised by the book in the Perl community. I won’t get into all of those issues but I will quote Damian a little out of context from that book, “because they reverse all of Perl’s standard object-oriented conventions.” § These may be very cool and clever, but it is a safe bet most all Perl code out there doesn’t use them. Moreover, if not destroyed properly inside-out classes leave memory leaks from left-over references–not stuff for average Perl coders to have to be worrying about unless they have a really good reason to. § Hash-based classes might not be very spicy, but they are the bread-and-butter convention documented and served up (some would say shoved down our throat) just about anywhere you are required to eat Perl OO. If you really need the kind of privacy inside-out classes provide use Cla

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123