Variable names #5

Closed
opened 2023-05-16 19:36:56 +00:00 by nu · 1 comment
Owner

Variable names for CharmBoard-specific stuff should probably all be snake_case. I've been using a mix of that and camelCase etc depending on the context but the inconsistency is driving me bonkers

Variable names for CharmBoard-specific stuff should probably all be `snake_case`. I've been using a mix of that and `camelCase` etc depending on the context but the inconsistency is driving me bonkers
nu added the
improvement
code clarity
labels 2023-05-16 19:37:41 +00:00
nu added this to the CharmBoard v1.0 milestone 2023-05-16 19:37:49 +00:00
Author
Owner

Oh and lexical variables should all maybe start with an underscore, and for function args I should probably like, actually assign those to specific names instead of using $_[0] etc everywhere

That's fine for something small but for a bigger project it sucks

Oh and lexical variables should all maybe start with an underscore, and for function args I should probably like, actually assign those to specific names instead of using `$_[0]` etc everywhere That's fine for something small but for a bigger project it sucks
nu closed this issue 2024-08-19 08:31:03 +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#5
No description provided.