Skip to content

Today's Card

Software engineering and other thoughts.

Tag Archives: refactoring

Create simpler triggers.

Keep your logic outside of the trigger.

Posted byfooyayJanuary 22, 2021December 1, 2020Posted inUncategorizedTags:refactoring, simplicity, single responsibility principle, SRP, triggerLeave a comment on Create simpler triggers.

Refactor the spaghetti code.

Learn techniques to replace messy software.

Posted byfooyayJanuary 20, 2021December 1, 2020Posted inUncategorizedTags:refactoring, simplicityLeave a comment on Refactor the spaghetti code.

Follow the campsite rule.

Leave it better than when you found it.

Posted byfooyayJanuary 14, 2021November 30, 2020Posted inUncategorizedTags:clean code, refactoring, technical debtLeave a comment on Follow the campsite rule.

Little things matter.

Cover your code in unit tests.

Posted byfooyayOctober 28, 2020September 30, 2020Posted inUncategorizedTags:code coverage, refactoring, testing, unit testingLeave a comment on Little things matter.

Don’t be afraid to refactor.

There’s no time like the present to make things better.

Posted byfooyayAugust 24, 2020July 27, 2020Posted inUncategorizedTags:refactoringLeave a comment on Don’t be afraid to refactor.

Kent Beck’s Rules of Simple Design, #1

The code must run all the tests.

Posted byfooyayAugust 5, 2020July 1, 2020Posted inUncategorizedTags:refactoring, simplicity, testing, yagniLeave a comment on Kent Beck’s Rules of Simple Design, #1

Welcome revisions.

Don’t be offended when your code gets refactored.

Posted byfooyayJuly 23, 2020June 21, 2020Posted inUncategorizedTags:humility, improvement, refactoringLeave a comment on Welcome revisions.

The Law of Demeter

Chaining a series of methods together can increase dependencies on distant objects.

Posted byfooyayJune 24, 2020June 14, 2020Posted inUncategorizedTags:Law of Demeter, refactoring, single responsibility principleLeave a comment on The Law of Demeter

Don’t use conjunctions in method names.

Two great ideas taste great together, but not in a method.

Posted byfooyayJune 23, 2020June 8, 2020Posted inUncategorizedTags:refactoring, simplicity, single responsibility principle, solidLeave a comment on Don’t use conjunctions in method names.

DeMorgan’s Laws

These can come in handy when refactoring boolean logic.

Posted byfooyayJune 22, 2020June 7, 2020Posted inUncategorizedTags:logic, refactoringLeave a comment on DeMorgan’s Laws

Posts navigation

1 2 Older posts
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