← Blog
October 2013

How I made the CS guys laugh

Originally published on Medium


I go to a small liberal arts college where the CS department is particularly small. The classroom in which this story took place had five students, so by the end of the semester we got to know each other well and jokes are often shared.

Before I start, in order to get it you need to know about three kinds of functions, (usually found in an Object oriented environment). Virtual functions, purely virtual functions and finally regular functions.

Bear with me, I'm going to do my best to keep this simple.

Here's what you need to know about them:

Virtual Functions: Here's how you do an operation, but if you can do better, do it.

Purely Virtual Functions: You have to do better, so write the operation yourself.

Functions: Here's how you do an operation, and you better do it like this.

I had a lady friend at the time who was making me live my life the way she would live it. Let's say that whatever operations that existed in my life, she would like to make sure I executed them her way.

But that's unfair, I mean, it's fine if you want to do somethings your way, and you have an opinion, but I should get to do things my way. For example, incessantly calling me out for something as small as putting sugar in my coffee. It's okay if you don't, but let me put sugar in my coffee!

So I walk into class to join my peers waiting on our professor. I sat down at my usual spot and took a sip, frustrated that my coffee wasn't sweet enough. And then it hit me:

SHE HAS NO VIRTUAL FUNCTIONS. THAT'S HER PROBLEM!

I blurted out those exact words and my classmates looked at me, pretty confused. I then went on and explained how the girl in my life was taking over and I was doing things her way and not my way. If her functions were virtual, I would have the option of doing things my own way.