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-21 12:51

>>15
In Java, the JVM pushes and pops a stack to pass parameters to a method. You, however, are oblivious to this fact because Java's designers weren't so impossibly retarded as to force you to operate this stack explicitly.

I don't give a fuck if the VM uses this or that construct to implement a feature, that's their design choice and it's no excuse to make the programmer pay it with accidental complexity.

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