You finished the tool, ran it, and the output scrolled past in half a second. That is the moment most people reach for a phone and photograph their monitor, producing a tilted, glare-streaked image in which the code is unreadable. Finished programming work can be documented beautifully, but it needs the same care a woodworker gives a finished box: the right angle, the right light, and a decision about what the picture is meant to prove.
Capture the screen, not the room
A screenshot is almost always better than a photograph of a screen. It is sharp, free of glare, and crops to exactly the region you want. The exception is a shot that includes the whole setup — desk, notes, mug — to show the working environment, which is a different kind of picture and should be framed as such. Never mix the two by photographing a screen from an angle and calling it documentation.
Before capturing, resize the window to a shape that suits a wide image, increase the font size until the text is legible at thumbnail scale, and close every tab that is not part of the story. The terminal prompt with your username is part of the story; a dozen unrelated tabs are not.
Make the output the subject
What did the program produce? A table, a chart, a file listing, a clean exit message. That result should occupy the centre of the frame, with the command that produced it visible just above or below. A reader who sees only a wall of code learns that you wrote code; a reader who sees input, command and result learns what it does.
If the output is long, capture the beginning and the end in two images rather than zooming out until everything is tiny. Two legible pictures beat one unreadable one, and you can label each in the caption.
Use motion for anything that changes
Some work only makes sense in motion: a progress bar filling, a window resizing, a loop writing files one by one. A short screen recording or animated image shows this in a way a still cannot. Keep it brief and silent, crop to the relevant window, and make sure the first frame already shows something meaningful, since many viewers see only that frame.
Record at a steady pace and avoid live typing of long commands. Paste them, or slow the recording down afterward, so the viewer is not watching your fingers hunt for the right key.
Deal with glare and colour
If you must photograph hardware, turn off the room lights that reflect in the glass and light the scene from the side. Place the laptop so the window is behind the camera rather than behind the screen. A dark editor theme photographed in a bright room becomes a mirror; a light theme in a dark room becomes a grey rectangle.
Keep the background plain and consistent across a set of images. A dedicated folder of export settings — same window size, same font, same theme — makes a project page look deliberate without any extra editing.
Label what you show
An image without a caption is a puzzle. One sentence naming the input, the command and the outcome is enough, and it also forces you to check that the picture really demonstrates the thing you claim. Store these alongside the project, not only on the site where you posted them, so the set survives a platform change.
Good documentation of finished work is a habit rather than an event. Capturing as you finish each piece means the collection grows on its own, and you never have to reconstruct a project from memory later.