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.
| [reply] [Watch: Dir/Any] |
| [reply] [Watch: Dir/Any] |
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.
| [reply] [Watch: Dir/Any] |
:) 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
| [reply] [Watch: Dir/Any] |
Actively using and no requests.
| [reply] [Watch: Dir/Any] |