
The amortized cost of vector insert is 3
The amortized cost of vector insert is 3 C++ requires many algorithms to be implemented in amortized constant time. I was curious about what this

Lessons learned from recording my first class
I published my first video class, How to Write a Great User Story, something all programmers should know how to do. Even though the class

The Internet Lottery™ for content creators
Your cursor hovers over the post button. This will be the one. You researched it, you checked it, you got the graphics, and you have

Invented here syndrome
Are you afraid to write code? Does the thought linger in your brain that somewhere out there somebody has already done this? Do you find

Essential code for lists and vectors in an interview
“Lists are perhaps the fundamental data structure in code. There’s virtually no program that doesn’t use lists. Interviewers love asking questions that involve lists, either

Stop waving the wand of magic numbers
37. You have no idea what that number is, do you? A number without context nor a label is a random value. It doesn’t tell

How does a mutex work? What does it cost?
Concurrent programming requires synchronization. We can’t have more than one thread accessing data at the same time; otherwise, we end up with a data race.

How to fail a programming interview
“I’ve conducted many interviews. There are many reasons why I reject people, but there are recurring themes. I want to give a list of the

Of course HTML is a programming language
Is HTML a programming language? I could express a bit of shock, even dismay, at the question, but instead, I’ll try a more polished approach.

The User
Thinking that programming is about programmers is the worst mistake you can make. The single most important aspect of programming is the user. Keep this

Would you program a human?
With tales of Crispr babies in the news, I’ve been pondering the implications of programming human beings. This may or may not have been spurred

We don’t need a ternary operator
A staple of compact code, the ternary operator ?: feels like it’s earned a place any programming language. I use it often; you should use