Efficient MySQL Exists

In the post, we focus on a small, but common SQL improvement. Don’t count on it How many times have you seen fellow developers get a count on something when really they just want to know if it’s > 0? The code will commonly look something like this: In other words, they’re grabbing every matching..

Read more

Examining my privates

For many years, I contemplated my privates with curiosity and confusion. We all know when to make our properties and methods public, but what about the private parts? Just how private should they be? Should our private parts be protected? After many years, I have finally come to a conclusion. In this post, let’s take..

Read more