Some people treat looking something up as a confession. If you had to search for it, the reasoning goes, you never really knew it, and whatever you built with the answer doesn’t fully count. I think that is backwards. Saying I cheated because I searched is like saying I cheated building a house because I used a nail gun instead of a hammer, or worse, my hand.

This is for students, new graduates and self-taught developers who feel a flicker of guilt every time they open the documentation, or who have been told that tool choice is a character test. By the end you should have a clear line between looking things up and outsourcing your understanding, and a short routine for looking things up well.

Cheating needs a scoreboard

Cheating is real, but only where someone is scoring your process. An exam is built to measure what is in your head at that moment, so bringing the answers in defeats its purpose. That is why notes are cheating on a closed-book exam and fine on an open-book one. The notes are the same. What is being scored changed.

Work is not scored that way. A business doesn’t care whether I learned anything on the job. It wants the job done, and done properly. Nobody grades how I arrived at a firewall rule. What gets judged is whether the rule does what it should without opening anything it shouldn’t, and whether I can fix it when something around it changes.

So at work, “did you look it up?” has no rubric to violate. The questions that matter are whether the thing is correct and whether you understand it. Taking pride in refusing a tool that gets you straight to the answer makes no sense to me. It spends your limited time on the one part of the work nobody is measuring.

Everyone looks things up

A Linux system ships with manual pages (man pages, the reference documentation you read with the man command) because nobody is expected to memorize every flag of every program. Vendor documentation, RFCs (the numbered documents that define internet protocols), release notes, a library’s source code, a search engine and an LLM (a large language model, the kind of AI that answers in plain language) all belong to one category: help that people in this field have always used. The LLM is the newest and the most conversational. It can read your actual error message and your actual config instead of returning ten links you have to reconcile yourself. It did not invent a new kind of help.

Some knowledge can be derived. If you understand how DNS caching works, you can reason your way to why a changed record still resolves to the old address for a while. Other knowledge cannot be derived, because it is accumulated failure: a default that changed between versions, a bug that appears only under a certain load, vendor documentation that is wrong about its own product. Sometimes none of us can figure out something we have never experienced. That knowledge exists only because someone else hit the problem and wrote it down, and looking it up is how it reaches you.

I learned the systems I run this way. A few months into my job, my supervisor retired and I became the only person who knew the network and the Linux systems. Networking, Linux, DNS, virtual machine hosts, databases, firewalls, VPNs, PHP and Bash scripting were all live at the same time, and none of them waited for me to finish learning another. I had nobody else to learn from, so I found my own teacher my own way. I used LLMs to learn them, day after day: discussing trade-offs, exploring, breaking things and fixing them. It would be absurd to have these tools available and not use them, especially in a job where learning new technology and staying current is part of the work.

The line is understanding

There is a real line here. It isn’t between using a tool and not using one. It’s between using a tool and outsourcing your understanding.

My test is whether I can explain what I shipped, verify that it is correct, and maintain it when it breaks. A sharper version of the same test: could I rebuild it without the source? I have built systems alone, using only what I already knew, and I could do it again, much slower. That baseline is what lets me take the faster route without fooling myself. A nail gun is only faster for someone who already knows where the nail goes.

An LLM will give you a confident wrong answer in the same tone as a right one. While I was building firmware that speaks Meshtastic’s Bluetooth protocol, an AI assistant gave me “corrected” UUIDs (the identifiers the phone app looks for over Bluetooth Low Energy) from memory. They were wrong, the originals I had copied from the firmware source were right, and with the “corrected” ones the app connected but never sent anything to the board. That is why testing stays in the loop.

When I use generated code, I go through it line by line to verify it. Sometimes that review turns up a technique I had not considered: my way would have worked, but the way I found is better. That comparison is one of the best learning moments I know of, and it only works because I had my own approach before I looked. Without one, “review” shrinks to asking whether the code looks reasonable, which catches style problems and misses logic errors.

Some engineers worry that leaning on tools erodes the skill. My opinion is that skill atrophy is not a thing. Writing code was never the end goal. We already hand the translation into machine code to programs written for that purpose. The point is code that matches a specification, and tests that verify it does, written by someone who understands the system and why it is being built. Recall of syntax fades when you stop using it, and I don’t miss it. Reasonable engineers disagree with me here, and their strongest argument deserves respect: the judgment you use to review code comes from having written a lot of it, so someone who stops writing may slowly lose the ability to spot what is wrong. That is why I review every line myself and never hand off verification.

Typing the code yourself was never the safety mechanism either. Plenty of people have shipped something they thought they understood and didn’t. The Morris worm, released on November 2, 1988, was written by hand by Robert Tappan Morris, a Cornell graduate student, and a friend of his later told a reporter it was meant as a harmless experiment. Each copy was supposed to check whether the machine already had one running, but by design one copy in seven skipped that check, and copies kept infecting other machines on the same local network. Machines filled with copies and slowed to a crawl. No tool wrote that code. Morris’s model of how his program would behave on a real network was wrong, and nothing caught the mistake before it was loose. Writing every line by hand did not save him, and it will not save you. Checking your assumptions against reality might.

Look up the syntax, design the algorithm

Building from first principles means separating what you can derive from what is arbitrary. Syntax is arbitrary. Nobody derives from first principles that Go declares and assigns with := or that Rust wants a mut before a variable it will change. Those are conventions somebody chose, and looking them up every time you need them costs you nothing.

The algorithm is different. The steps that solve your problem come from understanding the problem, and that part should be yours. I make the full case for designing the steps first and translating them into a language second in The Elements of Programming.

One example is a peg-solitaire solver I wrote in Rust for an artificial intelligence course. I was learning Rust during that project. The design, including how to map the triangular board onto a flat array, came from a whiteboard before I wrote any code. Anything I did not know about Rust, I could look up. The mapping was not something I could look up. I had to work it out.

The same rule applies when the reference is an LLM. Ask it how to express something in a language you are learning. Don’t ask it what your program should do before you have decided that yourself.

How to look things up well

  1. Read the primary documentation for the version you run. Blog posts and old answers describe someone else’s version. The man page and the official docs describe what is installed. (Minimal container images often strip man pages out; the same pages are published at man7.org.)

    Copied!
    man 5 sshd_config             # section 5: file formats, here the SSH server config
    man -k cron                   # search man page descriptions for a keyword
    go doc strings.Cut            # Go documentation for one function
    python3 -m pydoc str.removeprefix
  2. Read the source when the documentation runs out. go doc -src strings.Cut prints the code behind the documentation comment. The source is the final word on what the code does, though not on what its authors intended.

  3. Reproduce before you trust. An answer you have not run is a hypothesis. Run it in a scratch directory or a throwaway virtual machine first, and snapshot before you touch production.

  4. Have your own answer before you ask an LLM. Then compare, and ask why its version differs from yours.

  5. Write down what you learned, in your own words. Include the exact command and the version you ran it on. My test for anything I publish is whether it is the documentation I went looking for and couldn’t find, written down so the next person can. Your notes are the first draft of that.

Sources and further reading