Photo by Jose Luis Sanchez Pereyra on Unsplash

You’ve probably seen a lot of “buzz” lately regarding hemp plants and the many new types of cannabinoids that we are now able to identify and extract from them. CBD has been all the rage for a few years now, offering the benefits of relief from anxiety, depression, heart problems, sleep issues, and a laundry list of other benefits, without getting the recipient “high” in the process. That’s a pretty big benefit! But the fact is, to many people, CBD, compared to THC, is like drinking coffee without the caffeine, or wine without the alcohol. In other words, what’s the…


Between Covid, politics, holiday stress and the days getting shorter, everyone is bound to be experiencing some stress and/or depression this season. As someone who lives with depression, I’d like to offer some tips to those that are struggling:

1) Get moving. Stress that isn’t physically processed can get “stuck” and cause more chronic emotional symptoms. You don’t need to exercise, just move. Take a walk. Cook a meal. Hang some pictures. Go shopping. Just give the stress a place to release.

2) There is an old saying, “When your house is in order, your life is in order”. So…


About a year ago, I was attempting to sell my home. It’s a lovely home in the suburbs of southern California, has a swimming pool, lovely fruit trees in the backyard, is close to the best schools and is 15 minutes from some of the nicest beaches in SoCal. Perfect, right? What it lacked was a modern kitchen. The previous homeowners had decorated the kitchen in a very “country-style” theme, while the rest of the house was very modern. Homebuyers weren’t having it, and kept submitting low-ball offers based on the amount of work that needed to be done in…


Photo by Markus Spiske on Unsplash

If you’ve been coding in JavaScript for any length of time, you’ve probably typed the word var into your IDE so many times by now that you probably don’t even think about it anymore. It works, it’s easy, and unlike most strongly-typed languages, you don’t have to fret too much over considering what type of variable to declare. And that’s one of the beautiful things about JavaScript, it’s pretty smart.

JavaScript is notorious for its dangers however, and the var declaration is one of the key offenders in that battle. In order to better understand why var is such a…


Prologue: How I fell in love

It was 1977, and I was 11 years old at the time. The planet was still in a head-spin over a rash of new electronic inventions such as calculators (TI started manufacturing them in 1966) and the world’s first video game, Pong, released in 1972. Up until then, computers had been the stuff of scientists and government. Before then, hard drives were the size of washing machines, and programming was something done by feeding punch cards into a slot. At the time, software engineering wasn’t a job that most people even knew existed, let along as something to build a…


I’ll freely admit it. I mess this up all the time. At 51 years old, the lessons I learned about grammar and punctuation in my youth are distant memories, and like most people, I don’t really pay close attention to punctuation details when I’m reading. My brain just absorbs the words in a flow instead.

I seem to remember my English teacher saying something about putting questions marks and exclamation points inside of the quotes, however I don’t always see that happening, so… what’s the deal?

Like most things in the English language, the answer to this question is… it…


Women speak freely about their health and their bodies

If you were to hang around almost any group of women for roughly an hour or so, then the chances are good that you will hear them talk about their bodies at some point in the conversation. Women will speak freely, to anyone who will listen, about their menstrual cycles, their cramps, menopause, hot flashes, silent farts, breast feeding, boob sweat, tampons, cellulite, cysts on their ovaries, how uncomfortable their bras are and even how great (or awful) another women’s boobs look in that dress. No topic is ever really too taboo to discuss, and usually the more gross or…


Software engineering can be an absolutely thankless job. Oh sure, it has its perks. You get to be creative and solve problems, and there is a beauty and elegance in well written code sometimes that can be hard to describe to those that don’t speak the language. Where we were once portrayed almost universally as pocket-protector-wearing, tape-on-the-glasses nerds, Hollywood now depicts us as elite hackers that can sit down at a never-before-seen terminal and instantly predict the passwords to any government agency in the world, and find a way to copy and then delete their entire database onto a USB…


I was originally going to name this article “How It Took Me 8 Hours to Write 2 Minutes of Code”, but somehow I didn’t think that most software engineers would find that terribly compelling, and if there is one thing engineers like to do, it’s to determine what’s most efficient and functional. Since you’re reading this, I guess this was the better idea.

It’s easy to underestimate what it means to be a software engineer. When most people think of a engineering position, they view a stereotypical computer nerd, with half a dozen bottles of Mountain Dew lying empty on…

Todd Davis

This is my life. These are my words. If I choose to own my life story, then I can decide how the story ends.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store