Skip to content

Today's Card

Software engineering and other thoughts.

Monthly Archives: August 2020

Simplify the constructor.

Sometimes its dependencies can be moved to other components

Posted byfooyayAugust 17, 2020July 19, 2020Posted inUncategorizedTags:separation of concerns, simplicityLeave a comment on Simplify the constructor.

Avoid string concatenation.

There are clearer ways of organizing strings.

Posted byfooyayAugust 14, 2020July 18, 2020Posted inUncategorizedTags:simplicityLeave a comment on Avoid string concatenation.

Use the AAA pattern in tests.

Arrange, act, assert.

Posted byfooyayAugust 13, 2020July 5, 2020Posted inUncategorizedTags:testingLeave a comment on Use the AAA pattern in tests.

Bring a solution to the table.

If you’re not providing options, then you’re a part of the problem.

Posted byfooyayAugust 12, 2020July 5, 2020Posted inUncategorizedTags:options, solutionsLeave a comment on Bring a solution to the table.

Newlines are free.

Avoid creating really long lines of code.

Posted byfooyayAugust 11, 2020July 3, 2020Posted inUncategorizedTags:clean codeLeave a comment on Newlines are free.

Kent Beck’s Rules of Simple Design, #4

The code must minimize the number of classes and methods.

Posted byfooyayAugust 10, 2020July 1, 2020Posted inUncategorizedTags:delete, simplicity, yagniLeave a comment on Kent Beck’s Rules of Simple Design, #4

Kent Beck’s Rules of Simple Design, #3

The code must contain no duplicate code.

Posted byfooyayAugust 7, 2020July 1, 2020Posted inUncategorizedTags:dry, simplicityLeave a comment on Kent Beck’s Rules of Simple Design, #3

Kent Beck’s Rules of Simple Design, #2

The code must express the intent of the programmers.

Posted byfooyayAugust 6, 2020July 1, 2020Posted inUncategorizedTags:clean code, commentsLeave a comment on Kent Beck’s Rules of Simple Design, #2

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

Watch your body language.

How you express yourself affects how you are perceived.

Posted byfooyayAugust 4, 2020June 30, 2020Posted inUncategorizedTags:bearingLeave a comment on Watch your body language.

Posts pagination

Newer posts 1 2 3 Older posts
Today's Card, Create a website or blog at WordPress.com
  • Subscribe Subscribed
    • Today's Card
    • Join 40 other subscribers
    • Already have a WordPress.com account? Log in now.
    • Today's Card
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar