You are an Engineer at Big Tech Co. (Humor)

You are an engineer at Big Tech Co.

You send a commit to Humayun for review. He says you need to wait until the IK4 migration is complete. You do not know what IK4 is, or how it relates to your service.

It has been a year and you still don’t know the difference between a PM and a PgM. Someone claims to be a tPgM.

You see the same guy in the microkitchen at 10:07 AM every day. You do not know his name. One day, he is gone. You miss him.

You attend the All Hands meeting. The CEO is confident and visionary. After you leave, you’re not sure what any of it actually means.

You meet another engineer. “What do you work on?” he asks. “Content quality,” you respond. “Cool,” he says.

You ask Jesse about IK4. He gives a very hand-wavy explanation. You nod. You do not understand.­

Another commit is causing tests to fail. You spend three days debugging. You quietly disable the tests.

There is one woman on your team. You wonder if she feels strange or lonely. You are too nervous to ask.

It is 6:00 PM on a Friday. Everyone is still at their desks working furiously, but you do not know why.

The cafeteria is serving your favorite thing today. You wait in line patiently. When you reach the end, they are out of your favorite thing. You have to take the vegetarian option instead.

You have a 1:1 with your manager. “What can I do to improve?” you ask. “Keep doing what you’re doing,” he says.

You compile the project. It is broken. You are perplexed because you haven’t made any changes. You press “build” again. Build successful.

It is 11:58am. The cafeteria is empty. You use the bathroom. When you return at 12:01, the cafeteria is completely full.­

You restart your computer.

Steve reports that IK4 migration is blocked by RH. There are too many people in the meeting so you don’t have a chance to ask more.

It is 2:00 PM on a Friday. Everyone is missing, but you do not know why.

You meet another engineer. “What do you work on?” you ask. “Project Zebra,” she responds. “Cool,” you say, even though you’ve never heard of Project Zebra.

You meet this year’s interns. You like them. They do a good job. Then they are gone. You miss them.

Your manager asks why your commit has been stuck in review for two weeks. “RH is blocking the IK4 migration,” you say. He nods.

You are an engineer at Big Tech Co.

Posted in Other | Tagged , , | 8 Comments

Is Objective-C Still Relevant?

In the world of iOS development, Swift is on the rise. But what about Objective-C? Is ObjC still relevant? Are Objective-C fans clinging onto a band that broke up 20 years ago?

This next song is called TheVariableThatTookUpMoreCharactersThanTheLineLimit

My take: Objective-C is not going away anytime soon. But if you’re just starting iOS development, learn Swift.

Objective-C is so pervasive in iOS that it’s impossible to completely remove it. Apple continues to maintain libraries written in Objective-C, so we should expect Objective-C to be treated as a (mostly) first class language in iOS.

At other companies, legacy code remains. Some of Google’s iOS apps are completely written in Objective-C.

Further proof that there are still opportunities for diehard Objective-C fans: StackOverflow conducted a survey in February 2020. On average, Objective-C developers make more money than Swift developers ($64k vs $58k).

But for new apps, Swift is the future. I bet a Swift developer could outpace someone writing in Objective-C. Furthermore, features like SwiftUI are exclusively for the new kids.

If I was building an app from scratch, I would choose Swift.

Posted in Software | Tagged , , , | 2 Comments

How to Get Promoted as a Software Engineer (Even During Tough Times)

“Congratulations,” my manager smiled. “You’ve been promoted.” Despite the toughest job market since the Great Depression, coronavirus, working from home, two reorgs, and two different managers, I finally succeeded at getting a promotion (and a raise).

Many people assume, “I’ll work hard, keep my head down, and eventually The Company will recognize me.” Other people believe getting a raise is impossible. They blame anything and everything, repeat the same anecdotes, but never ask “What if I…?”.

When you work hard but get a 0% raise

I did not get promoted for working 80 hours a week or for being a yes-man. I was promoted for prioritizing the right projects and making them succeed.

I wish I had a nice little story that goes from point A to point B.  Instead, promo was a compilation of many behaviors and small accomplishments over the years. I hope that engineers can learn from my good behaviors, and senior engineers can correct me when I focused on the wrong thing. I recommend these behaviors in both easy times and tough times.

Standard disclaimer: don’t take my advice.

My Strategy

My promo journey began two years ago. Google has a rubric about the behaviors and accomplishments it expects from its engineers. I looked at the rubric and thought to myself, “What would it take for me to do those things at the next level, L5? And how do I prove that I did them?”

Every week, I had a 1:1 with my manager. I told him that I wanted to work towards promo. And every week, I would ask questions like:

What things should I keep doing?

What should I do differently?

How can I help the team?

How can I help you?

How can I help our product area in general?

What would it take to get to the next rating?

In other words, I was saying both directly and indirectly, “If I did X, would that give me a promotion/raise?” Then I got my manager’s commitment to proceed, and I aimed to make those things happen.

Make It Happen

I use the phrase make it happen deliberately.  It doesn’t have to be me that works on a specific project. Ramit Sethi says you have two options. “You can do it, or you can cause it to get done.”

For example, the Snapshot page has 65 engineers that have contributed a small amount of code. All their features need tests. Most did not have any. Over time, the bug list grew longer, and I realized we were driving down the road to disaster.

Since it’s infeasible for me to manually fix everyone’s bugs, I built a framework and provided guidance. I followed up by asking everyone to take responsibility for their own code (and their own tests). Thanks to the framework, the system began to scale without any single engineer being the bottleneck.

Sometimes, this “glue” work involved working outside my main codebase. Sometimes it meant non-coding tasks like documentation, attending meetings, and writing emails. A beginner programmer would think, “That’s not my job.” In contrast, I thought, “This is necessary for the ecosystem.”

With extreme ownership and a “make it happen” philosophy, I became an engineer that others trust to handle important projects. Managers love being able to hand off an important project and trust that the engineer independently makes progress.

In general, a good engineer can unblock themselves and get things done without needing constant micromanagement.

A good manager notices this behavior.

In case the manager doesn’t recognize this, a good engineer makes sure their manager understands the truthful difficulty and impact of their work.

Communication is a Superpower

I believe communication is a superpower. I can’t be the most knowledgeable person on every topic. But, if I could convince the smartest people in the room to be on my team, we would be unstoppable.

Not all superheroes wear capes.

Despite my start as an ordinary, computer-loving programmer, I became known as a strong communicator. If a project involved talking with many people outside the immediate team, I was the go-to guy. I felt surprised when my manager complimented me on my communication skills. I simply used Dale Carnegie’s “How To Win Friends And Influence People” to guide my interactions.

Thanks to Carnegie, I have good relationships with my colleagues. When we had disagreements, they were always resolved amicably. I made positive impressions on other teams. Instead of criticizing, I suggested ways they could improve. I aimed to make life easier for my client teams and I genuinely wanted them to succeed.

Finally, I put a 30-minute weekly block on my calendar.  I devoted that time to thinking about perf and the bigger picture. I compiled a little bit of evidence every week in the 6 months leading up to promo. When it was time to write performance reviews, I was ready to go.

The Outcome

I was not nervous when waiting for my promo result. The result was uncertain, but I had done everything necessary, and I did not worry about the outcome. Worst case, I apply again in six months with a stronger review packet–or even appeal immediately.

When my manager told me I was promoted, I felt more relief than excitement. I had planned to take a nice vacation after promo, but Coronavirus held off a big celebration.

But it’s a pandemic? What did you do differently?

Tough times make getting promoted harder. However, the core principles remain the same. Understand what your team and organization needs. Tell you manager what you plan to do (and confirm it’s the right path). Then hit a home run.

Who will your manager promote when budget is limited? The person that proves they have helped the organization.

If you continue to think about the bigger picture, remain a trustworthy person, bring projects to completion, and make the people around you happy, you’ll be a level above everyone who keeps their head down and wishes for a raise.

The Downside

One of the worst parts about working at Google is “perf driven development”. You can get rewarded for solving a problem, but it’s harder to prove that you prevented a problem from happening in the first place.  A focus on metrics means activities that are hard to measure won’t get rewarded.

In my case, I chose projects that would look better for perf. There were some cleanup tasks that I wanted to do, but they kept getting de-prioritized.

Additionally, I could have bit off more than I could chew. I learned an effective tactic to avoid overcommitting. When my manager asked me to take on a new task, I would check my notes and reply, “That will require me to push X to next week. Is that OK?” We understood prioritization. Not all work has the same urgency and importance.

Promo is Easy (For Some)

Another engineer didn’t think much about promo. One day, his manager asked, “Do you want to go up for promotion?”

Engineer: “No”

Manager: “You are doing valuable work. I think you should apply.”

Engineer: “Okay.”

A few weeks later, the engineer was promoted to the same level as me without doing much differently.

So who knows if my intentionality and focus were necessary.

Posted in Software | Tagged , , , , , , | 14 Comments

The One Meeting that Changed Our Relationship

Our program manager (PgM) was a stern lady. She kept the project on track, and as a deadline neared, she grew more and more serious. I worked on the iOS client, and I felt like she was ignoring me in favor of the Android developers.

One day, I was scheduled to meet our PgM in person, alone, for the first time. She worked on another continent, so I had only seen her through a conference room camera. I expected her to berate me for not keeping the iOS client up to spec with Android. They have five engineers, and I’m working alone on iOS! No reasonable person could expect the two clients to be the same. I felt a sense of dread as the meeting approached. 

When I found our PgM in the conference room, she jumped up and greeted me with a smile and a hug. Immediately, she complimented me on my amazing work on iOS while everyone was focused on Android. She quickly offered to help me fix the list of issues plaguing the iOS client and barely asked anything of me. In less than 30 minutes, we had a game plan for the upcoming launch. A surprise to be sure, but a welcome one!

Our PgM genuinely wanted both clients to succeed. We simply hadn’t communicated well until we had a face to face interaction. That afternoon, we solved the problem together as teammates, and we’ve had a good relationship to this day.

Posted in Psychology | Tagged , | 4 Comments

How do I make protocol methods optional in Objective-C?

Imagine you have a protocol in Obective-C.

@protocol ABCRocket

- (void)start;

@end

What if you want to make some properties or methods optional? You can use the optional keyword.

@protocol ABCRocket

- (void)start; // Required

@optional

- (double)speed; // Optional

@end

Not all objects to implement the protocol will have the -speed method. Trying to call -speed on those objects will crash the program, so we should check if the object implements -speed first.

if ([foo respondsToSelector:@selector(speed)]) {
      // Foo has the -speed method. Do something awesome!
}

It’s simple and easy.

Posted in Software | Tagged , | Leave a comment