Skip to content

Today's Card

Software engineering and other thoughts.

Author Archives: fooyay

Use the right data types.

Don’t use a datetime data type if the job calls for a date data type.

Posted byfooyayFebruary 17, 2021February 11, 2021Posted inUncategorizedTags:data types, timeLeave a comment on Use the right data types.

Comments cannot enforce types or usage.

Use code for this.

Posted byfooyayFebruary 16, 2021February 11, 2021Posted inUncategorizedTags:commentsLeave a comment on Comments cannot enforce types or usage.

Don’t make local versions.

Avoid making local versions of third party or open source tools and libraries.

Posted byfooyayFebruary 12, 2021February 9, 2021Posted inUncategorizedTags:dry, solidLeave a comment on Don’t make local versions.

Don’t repeat code logic in the comments.

Logic should appear in only one place.

Posted byfooyayFebruary 11, 2021February 9, 2021Posted inUncategorizedTags:clean code, commentsLeave a comment on Don’t repeat code logic in the comments.

Code with fewer comments will have fewer bad comments.

Yes, and less is more.

Posted byfooyayFebruary 10, 2021February 9, 2021Posted inUncategorizedLeave a comment on Code with fewer comments will have fewer bad comments.

Humility is a virtue.

It’s one of the key values to look for in a great team.

Posted byfooyayFebruary 9, 2021February 9, 2021Posted inUncategorizedLeave a comment on Humility is a virtue.

Be aware of the XY problem.

Always ask why.

Posted byfooyayFebruary 8, 2021February 8, 2021Posted inUncategorizedLeave a comment on Be aware of the XY problem.

Do not use doubles or floats for dollar amounts.

Fractions of a penny are not a real thing and lead to difficult bugs.

Posted byfooyayFebruary 5, 2021December 7, 2020Posted inUncategorizedTags:types, value objectLeave a comment on Do not use doubles or floats for dollar amounts.

Learn and improve after failure.

If you never fail, are you really trying?

Posted byfooyayFebruary 4, 2021December 7, 2020Posted inUncategorizedTags:failure, learningLeave a comment on Learn and improve after failure.

Learn how to prioritize.

If everything is a crisis, there is no crisis.

Posted byfooyayFebruary 3, 2021December 7, 2020Posted inUncategorizedTags:prioritizationLeave a comment on Learn how to prioritize.

Posts navigation

Newer posts 1 2 3 4 … 23 Older posts
Today's Card, Blog at WordPress.com.