Author: Spyros Argalias
Home » Archives for Spyros Argalias
Where to apply spacing (such as margins) in CSS
Explore the intricacies of CSS spacing, from sibling margins to clean design, with practical examples.
Checked exceptions
Checked exceptions propagate similar to error values. However, they’re more disliked than error values. Find out why in this post.
How to use error values in an exception-based language
If you’re using error values, you probably want to avoid exceptions. But, how do you do that if you’re using an exception-based language?
Look before you leap vs easier to ask for forgiveness rather than permission
Conditionals vs try / catch. A long-standing debate in programming is LBYL vs EAFP. Which should you use and why?
Functional programming
The entrypoint article for functional programming. We cover things like beginner guides to functional programming, tutorials and more functional programming concepts.
Making reducers more intuitive
Here’s an intuitive way to think about reducers. This realisation made them much easier to use for me. Maybe it can do the same for you.
Clean code & programming principles
The entrypoint article for clean code. We cover many essential topics such as programming principles, error handling, naming and much more.
Errors & error handling
The entrypoint article for error handling. We cover everything from how to respond to errors, to error catching best practices, and much more.
Control flow for invalid actions – Conditionals, try/catch and Booleans
An important part of clean code is handling control flow. In this article, we’ll examine actions that may fail and need a check first.
Nulls and null checks – How to work safely with nulls in any codebase
Nulls and null checks have been a tricky problem in programming for decades. Thankfully, there are many solutions to make them easier to work with.