News for hackers. Stuff that matters.
Re:Perl Turns 34 Today by heresie-dabord on Tuesday December 21, 2021 @02:13PM (#29640900)
> a fairly primitive OO system out of the box

I will argue that it isn't primitive, but that it is composable and as lean as you want it to be. If I want a dict with just two methods, I can build it easily and with small memory usage. (This is important when scaling objects into the hundreds of thousands... or more!)

TBH, Perl5 OO is easy and tractable. I would agree that the "bless" artefact is unusual, but it does make sense from the point of view of C structs.

Oh, as far as REPLs go, there are some easy solutions for Perl, from trivial to more complex. Python's REPL is limited because it doesn't handle multi-line structures well. That is in part a consequence of using whitespace as a logical operator.

There are no comments on this comment yet.