Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Request for Comments: More annotations for Perl plugin for IntelliJ

by Corion (Patriarch)
on Jun 20, 2016 at 19:08 UTC ( [id://1166130]=note: print w/replies, xml ) Need Help??


in reply to Request for Comments: More annotations for Perl plugin for IntelliJ

For subroutine signatures, why not simply have people use subroutine signatures as god intended? The effort of adding the custom signatures as comments seems to be about equal to adding the signatures directly...

Replies are listed 'Best First'.
Re^2: Request for Comments: More annotations for Perl plugin for IntelliJ
by hurricup (Pilgrim) on Jun 20, 2016 at 19:14 UTC

    Well, because at least

    WARNING: Subroutine signatures are experimental. The feature may be modified or removed in future versions of Perl.

    And it's not good practice to use experimental features in production code. And if I remember right, in one of the latest versions signatures syntax been changed (position). And default signatures does not supports typing. And I can't force other authors to use them, so can't have completion/navigation on their modules.

        The point of annotations - to be able to annotate foreign modules. I can't force DBI author, for example, to annotate his methods with return values or use any signatures.

        But to make my work more comfortable and faster, I'd like to have completion and navigation wherever possible.

        With described approach, I can make file with annotations for any module and get it.

        And plugin supports default perl signatures and Method::Signatures::Simple and know how to work with them.

      :)

      comments or experimental feature,

      comments or experimental code,

      comments or code

      comments or code

      comments or code

      Hmm, comments just aren't code

      Is anyone (even you ) using this annotations feature? More than to simply try/test it out? That you've gotten at least one feature request about it?

      Keeping the stuff in a separate file sounds good :D

        Actively using and no requests.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1166130]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (8)
As of 2024-03-28 18:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found