Forum OpenACS Development: Re: ad_parameter deprecated in favor of parameter::get?

Posted by Dave Bauer on

Generally using named parameters makes the code more clear and readable. I think that understanding the code after the fact is more valuable than saving a few keystrokes up front.

I think it makes the code more accessible to someone is isn't intimately familiar with openacs, which is huge and takes quite a while to grasp the entire thing.

Another point is that using all named paramters in a proc is more clear than using a few named paramters and a few positional paramters which some of the original procs do.

Anything that makes it easier to learn openacs is a plus.