Defensive programming is a term that many programmers have heard of. It's related to error handling...
An important part of clean code is handling nulls properly. Nulls have been a tricky problem in...
Exceptions vs error values has been a debate in error handling for ages. Some people have firm...
Catching and handling errors is an important part of error handling. Here are some best practices...
Recording errors is an important part of error handling. In short, when certain errors occur in...
What should a program do when it encounters errors? In my experience, a lot of programs hardly give...
Programming principles tell us that naming in code is important. This article aims to be a...
In this post we'll look at how to make a simple carousel with HTML, CSS and JavaScript. We will use...
This article is the beginner's introductory guide to programming principles. First we're going to ex...
This is an intermediate / advanced functional programming challenge I had to solve in an intervie...
Code units at the edges of your application should be small, independent and only do one thing....
For everything you need to know about accessibility, check out Web accessibility - Everything you...
For everything you need to know about accessibility, check out Web accessibility - Everything you...
Disclaimer: I'm not a lawyer. This article only represents my personal opinion and current unders...
This post (Principles of testing for developers) was originally published on Sargalias. There are di...
The original and latest version of this post (how to learn web application security) can be found at...
This post (This binding in JavaScript – 6. Gotchas and final notes) was originally published on Sarga...
This post (This binding in JavaScript – 5. Arrow functions) was originally published on Sargalias. I...
This post (This binding in JavaScript – 4. New binding) was originally published on Sargalias. In th...
This post (This binding in JavaScript - 3. Explicit binding) was originally published on Sargalias....
This post (This binding in JavaScript - 2. Implicit binding) was originally published on Sargalias....
This post (This binding in JavaScript - 1. Default binding) was originally published on Sargalias. I...
This post (When not to apply programming principles) was originally published on Sargalias. When exa...
This post (Why code changes are error prone) was originally published on Sargalias. I always say tha...
This post (Programming first principles - 13. Side effects) was originally published on Sargalias. F...
This post (Programming first principles - 12. First principle - Abstraction) was originally published...
This post (Programming first principles - 11. First principle - Separation of concerns) was originall...
This post (Programming first principles - 10. First principle - Principle of least knowledge) was ori...
This post (Programming first principles - 9. First principle - Principle of least astonishment) was o...
This post (Programming first principles - 8. First principle - Proof that code works) was originally...