Published

6 min read

The art of figuring it out

Laziness, impatience and hubris explain quite a lot about how I learnt to build software.

I’ve said yes to plenty of things I had no idea how to do. I rarely had much of a plan, but I had a stupid amount of confidence that I’d figure it out. More often than not, I did.

Larry Wall, the creator of Perl, described laziness, impatience and hubris as three great virtues of programming. I found that amusing because they describe quite a lot of how I approach work. They’re hardly qualities I’d put on a CV, but I recognise each of them in the way I’ve learnt to build software.

Laziness

I hate repeating work that a computer could do for me. If I have to do the same thing a few times, I start wondering whether I can automate it.

Sometimes that means spending three hours on a script for a task that would have taken fifteen minutes. I can’t always defend the time spent. I do usually learn something, and if the task comes up again, I have a tool I can reuse. Whether that makes it worthwhile depends on how often I actually need it.

That possibility drew me to programming. I could write something once and let a computer handle the repetition. An annoying task became a problem I could solve.

I’ve also taken this too far. Building a tool can be more interesting than doing the job, which makes it easy to convince myself that every small inconvenience needs one. I’m still learning when to automate something and when to spend the fifteen minutes getting it done.

Impatience

I’ve always preferred learning by doing. Documentation and tutorials help, but I understand more once I have something to build and a reason to use what I’m reading.

When I started programming, I wanted to make Discord bots, websites and whatever else caught my attention. At one point, I was building an ecosystem around a Cardano NFT project, including bots, APIs, databases, a marketplace, an art generator and minting infrastructure. I didn’t know how to build all of that when I started. I knew what I wanted it to do and worked through the gaps as I reached them.

I’d spend hours researching something I didn’t understand, try an approach, and use what happened to decide what to try next. It wasn’t structured, but having a project gave the learning a purpose. I could see where each new piece of knowledge fitted.

I still learn that way while working on a production mobile banking application. Reading the code helps, but trying to trace or change a particular behaviour gives me a much clearer understanding of it.

The downside is that I sometimes start implementing before I understand the implications. Then I have to undo work that a little more investigation could have saved. Getting feedback early helps me move quickly. Ignoring it just means I find out about my mistakes later.

Hubris

I have a fairly unreasonable belief that I can work things out. I’m aware of how much I don’t know, but that has rarely felt like a good enough reason to avoid trying.

During an internship at an agritech startup, my role was digital content developer. I ended up working on web applications, setting up ERP software on a server, experimenting with machine learning for strawberry growth prediction, and helping with physical farm operations. Much of the time, I was learning what something was while trying to do it.

Before joining OCBC, my only mobile development experience was schoolwork. I’d used Flutter in ITE and React Native in polytechnic, but those projects gave me little sense of what working on a production banking application would involve. The gap became obvious once I was in the codebase. I had a lot to learn about mobile development beyond getting a school assignment to work.

I hadn’t expected to work in a codebase of that scale so early in my career. Most of my mobile work at OCBC has been on Android, and I’m now picking up iOS development too. I don’t know Swift and UIKit as well as I know Kotlin, so there’s plenty to learn again.

There’s something comical about how often I’ve agreed to do something and then gone home to Google what I’ve just agreed to do. But I’ve learnt to be clearer about what that agreement means. “I haven’t done this before, but I’m confident I can work it out” is an honest starting point. I still have to ask for help where I need it and follow through on the work.

This is my own reading of hubris. I mean the confidence to attempt unfamiliar work, with responsibility for the result. Each time I manage it, I have a little more evidence to draw on the next time.

What I think I can do

Going through ITE, Higher Nitec and polytechnic has made me wary of treating qualifications or current knowledge as a complete account of someone’s ability. That includes my own.

I didn’t start out knowing how to manage databases, deploy applications or debug an Android codebase. Those were all unfamiliar at some point. Remembering that helps when I catch myself deciding that a new task is beyond me before I’ve looked into it.

There are good reasons to specialise, and there are times when someone else has the experience a task needs. I don’t want my willingness to learn to become an excuse to ignore either. I also don’t want the technologies I know today to decide which work I’ll be capable of doing next year.

Getting comfortable with not knowing

An unfamiliar problem can still leave me unsure where to start. Earlier on, I often took that feeling as evidence that I wasn’t capable. Now I recognise it as something I’ve worked through before.

I break the problem into smaller pieces, read the relevant documentation and try something I can check. If an assumption turns out to be wrong, I adjust it. When I’m stuck, I ask questions. As I understand more of the problem, I can ask better ones.

That process is what I enjoy most about engineering. Something that made no sense a few days ago starts to become understandable, and eventually I can get it working. The next unfamiliar task still takes effort, but I’m less likely to mistake the initial confusion for a reason to stop.

Starting before I feel ready

If I’d waited until I felt ready to build my first website or write my first API, I would have put both off for a long time. There was always more I could have studied first.

Preparation matters, but I can also use it to postpone the uncomfortable part. Starting means writing code that might be wrong, asking basic questions and accepting that I may need to try again. A project tends to show me what I need to learn more clearly than another course chosen without one.

AI hasn’t removed that need. I can ask it for an implementation, but I still have to decide whether the code solves the problem and check what it does. When it breaks, I need enough understanding to investigate why. Generating more code doesn’t settle those questions for me.

I’m still early in my career, and some of my confidence has led to work I later had to rethink. Laziness doesn’t excuse careless work, and enthusiasm doesn’t make an approach sound. I need to keep checking whether what I’ve built does what it should.

Still, I’m glad I didn’t wait until I knew how to do everything I’d agreed to attempt. A lot of what I know now came from those attempts. I expect picking up Swift and UIKit will involve the same combination of reading, trying, getting stuck and asking for help. I’m comfortable starting there.


Larry Wall discusses the three virtues in “2nd State of the Onion” (1998). The interpretation here, particularly of hubris, is my own.