Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

perl has no function arg list

Name: Anonymous 2012-12-20 5:11

Im learning a little perl and everything about perl is done in the worst and most convoluted way. Prime example being that function definitions dont have an argument list but rather an implicit list that is extracted from within the function by @_.
Why is there no explicitly declared parameter list. I got banned from #perl on freenode for asking this.

Name: Anonymous 2012-12-20 18:05

Perl sort of inherited this from shell scripts, which are way worse because everything is stringly typed (note spelling) and you constantly have to shuffle things in and out of godforsaken space-delimited lists. At least Perl lets you distinguish between text and data structures.

Perl 6 finally does away with the implicit list thing, so if you're looking for a version of Perl that's INTELLIGENTLY DESIGNED, that will be your jam.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List