Only if the routine has an easily defined return Type. Many do not.

On Fri, 12 Oct 2018 at 12:41, Curt Tilmes <c...@tilmes.org> wrote:

>
>
> On Fri, Oct 12, 2018 at 7:31 AM Todd Chester via perl6-users <
> perl6-users@perl.org> wrote:
>
>> I was asking because sometimes the documentation for routines does
>> not give a --> and I find having to dig around to figure out what
>> the return is to be time consuming and confusing.
>>
>> Based on what Larry stated, I do believe that the documentation
>> should always have a --> in the definition line.  This was
>> my question, not whether or not I should write a definition
>> line for my own subs.
>>
>
> I agree.  The documentation should always describe the routine with a -->
>
> Curt
>
>


-- 
Simon Proctor
Cognoscite aliquid novum cotidie

http://www.khanate.co.uk/

Reply via email to