Elektrine lite

← Feed

@purrperl@noc.social

Post #1640524

2026-02-12 08:09 UTC

@ar @krutonium @abmurrow @rperezrosario Perl lost function signatures along the way, since they were considered impractical. Perl did gain a "class" keyword, to declare classes for OOP. It didn't use to have that, and supported OOP through an ugly bit of boilerplate code that Perl programmers would have to re-type for every class they wrote. Raku is a sister language to Perl, written by the Perl community, and is a lot more modern, I'm told. I haven't tried Raku yet. https://raku.org/

Replies (1)

  • @ar@is-a.cat 2026-02-12 08:17

    @purrperl @krutonium @abmurrow @rperezrosario Perl lost function signatures along the way, since they were considered impractical. I still see them documented in perldoc, and no mention of deprecation. https://perldoc.perl.org/perlsub#Signatures

    Open ##1640525