in reply to Re: Function calls and list creation
in thread Function calls and list creation
Sorry, I wondered how coherent that was.
First of all, thanks for confirming that the list is sorted like that.
Basically, I just had a sort of internal re-arrangement of how I thought about calling functions, and wondered if this new view might get me in to trouble one day.
function($param1, $param2) has stopped feeling like:function( $param1, $param2 ) ^^^^^^^^^ ^where there's magic in the way the braces are attached to to the function name and declare that I'm calling a function, and become:
function ($param1, $param2) ^^^^^^^^where the braces are now associated with creating the list of parameters.
I wondered if this was closer to the way that function calls are implemented in Perl.
This is probably no better than my first attempt, but I'm enjoying thinking about it anyway!
Regards,
|
|---|