Remove my $self = shift? #14

Closed
opened 2024-08-19 07:58:23 +00:00 by nu · 1 comment
Owner

I've noticed this literally EVERYWHERE in the CharmBoard::Controller namespace, my $self = shift at the start of every single subroutine. Maybe this is just confusion on my part since I"m having a hard time getting to grips with my own code after having been away from it for a year, but this looks... Useless, maybe? So if it IS then it should absolutely be removed.

I've noticed this literally EVERYWHERE in the `CharmBoard::Controller` namespace, `my $self = shift` at the start of every single subroutine. Maybe this is just confusion on my part since I"m having a hard time getting to grips with my own code after having been away from it for a year, but this looks... Useless, maybe? So if it IS then it should absolutely be removed.
Author
Owner

Nevermind, I'm a dolt. This is necessary to keep!

Nevermind, I'm a dolt. This is necessary to keep!
nu closed this issue 2024-08-19 07:59:46 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: nu/CharmBoard#14
No description provided.