Skip to content

Today's Card

Software engineering and other thoughts.

Tag Archives: variables

Name booleans carefully.

Give them names that suggest a binary outcome.

Posted byfooyayJune 19, 2020May 16, 2020Posted inUncategorizedTags:boolean, clean code, variablesLeave a comment on Name booleans carefully.

Variable names should describe what, not how.

Leave the how to the implementation.

Posted byfooyayJune 18, 2020May 16, 2020Posted inUncategorizedTags:clean code, naming, variablesLeave a comment on Variable names should describe what, not how.

A variable should have one purpose.

Don’t overload variables into multiple meanings.

Posted byfooyayJune 17, 2020May 16, 2020Posted inUncategorizedTags:clean code, refactoring, scopes, variablesLeave a comment on A variable should have one purpose.
Today's Card, Create a website or blog at WordPress.com
  • Follow Following
    • Today's Card
    • Join 40 other followers
    • Already have a WordPress.com account? Log in now.
    • Today's Card
    • Customize
    • Follow Following
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar