Cathasaigh

Cathasaigh

I'm an author, writer, musician, and a software developer with over 17 years experience. All glory goes to God.
Sep
15
Simplifying Unit Tests with Loops

Simplifying Unit Tests with Loops

Loops are the forgotten tool in your toolbox when writing unit tests.
3 min read
Sep
08
Handling Null at Compile Time

Handling Null at Compile Time

The compiler is your best tool to make sure your code is correct. Why not use it for null as well?
3 min read
Sep
01
The Worst Thing to Do When Writing Tests

The Worst Thing to Do When Writing Tests

Know your data so your tests only have one pathway of execution.
3 min read
Aug
25
Checked vs Unchecked Exceptions in Java

Checked vs Unchecked Exceptions in Java

Checked exceptions are checked by the compiler whereas unchecked exceptions are not.
2 min read
Aug
18
Can Null Really Simplify Code?

Can Null Really Simplify Code?

Where and when to use null to simplify your code and add clarity.
2 min read
Aug
11
Why Using Null is So Bad

Why Using Null is So Bad

Null isn't called the billion-dollar mistake without good reason.
3 min read
Aug
04
Grouping Statements by Concept, not by Variable

Grouping Statements by Concept, not by Variable

Statements grouped by concept will make reading the code more natural and easier to understand.
2 min read
Jul
28
Simplifying Throws Clauses in Java Unit Tests

Simplifying Throws Clauses in Java Unit Tests

Listing checked exceptions in the throws clause of a unit test method is pointless.
1 min read
Jul
21
Avoiding Redundant Method and Variable Names

Avoiding Redundant Method and Variable Names

Including the type in the variable or method name is unnecessary and redundant.
2 min read
Jul
14
Simple Return Statements and Values

Simple Return Statements and Values

Keep your return statements uniform across your team.
2 min read