Skip to content

Apr 15th, 2025 · 8 min read

Writing for Developers

Karan Kalra
Karan KalraMTS @ CodeCrafters
Sarup Banskota
Sarup BanskotaCodeCrafters CEO

Developers have a high bar for content.

Today, we're publicly releasing the internal guidelines we use to write for our audience of developers.

Know Your Reader

Always picture one specific person as your target reader.

Understand the expertise level, pain points, and motivations of this reader.

This is important to ensure a high degree of relevance. One post can't serve everyone.

Example blog copy for illustration

Udemy vs Pluralsight: A comparison

We evaluate both platforms through the lens of a software engineer.

As a bonus, we also cover alternative platforms you can consider at the end.

This is part 1 of a 2 part series and focuses on the pros and cons for developers. If you're looking to purchase for your team, read this instead.

If you want to cover multiple audiences for a topic, break it into a series of posts.

Best Practices

After GPT, people (and least of all, developers) lack the patience to go through unnecessary text.

Avoid long sentences (anything over 30 words). Attention spans are fragile.

Write like you speak, with simple words and clear, natural sentences.

Avoid unnecessarily complex words like "akin" and "delve". The subject of your writing is complex enough. Don't make your reader spend their limited energy on figuring out the meaning of your words.

What language would you use when speaking to a friend? Use those same words when writing.

Bad example
Utilize the appropriate syntax to achieve the desired outcome.
Good example
Use the right syntax based on your needs.
Bad example
The techniques discussed henceforth will enhance your understanding of low-level programming.
Good example
Here are some techniques to help you get better at low-level programming.
Bad example
We shall now delve into the intricacies of memory management.
Good example
Let's break down how memory management works.

…but don't over-optimize. A touch of creative writing has its place, it can add rhythm and personality to your words.

Avoid forcing short formal phrases that you'd typically use in emails and internal documents. (Honestly, don't even use them there.)

Uphold grammar, maintain flow, complete your sentences.

Bad example
Tool provides value. Helps teams collaborate. Documentation is okay.
Good example
This tool makes team collaboration smoother, and its documentation is clear and easy to follow.
Bad example
Why this framework works? 1. Fast performance 2. Easy to set up 3. Scales well
Good example
This framework is fast, easy to set up, and scales well. It's a solid choice.

Again, the rule of thumb is to write like you're speaking to your audience on stage.

Many blogs use up 10-50% of the writing on setting up the introductory context. Skip all of that, get to the point. If you've identified your reader correctly, they will already have the context.

For example, if you're writing a guide on Docker deployment, skip sections like "What is Docker?" or "Why use Docker?". Open with 2–3 sentences (perhaps about why this guide was necessary), then dive straight into the steps.

Be precise. Don't make vague statements.

Bad example
We'll learn some advanced Rust features.
Good example
We'll learn about ownership, borrowing, and lifetimes, which are core concepts in Rust.
Bad example
This approach doesn't always work.
Good example
This approach fails when you try to mutate shared data across threads.

Don't spell out what the reader can infer or judge on their own.

Bad example
This article will enhance your understanding of Rust's ownership model.
Good example
This article explains Rust's ownership model.
Bad example
This guide is perfect for beginners and experts.
Good example
This guide starts with the basics and moves into advanced topics.
Bad example
Here is a really cool hack to achieve X.
Good example
Here is a hack to achieve X.

Once you have a draft, review and trim anything that doesn't add value.

Content-Blogging-specific advice

Aim to inspire creativity and curiosity. You don't always need to spell everything out. Nudge your reader to think in interesting ways and explore things on their own.

An example of leaving room to explore

Build a Lox interpreter

Once it is running, try optimizing it or adding new features-

  • Bytecode compilation for faster execution
  • Automatic memory management
  • Built-in functions for usability
Just enough direction to spark ideas, without spoonfeeding.

Software developers are already subject matter experts. Don't over-explain things.

For hard and confusing topics, the best articles are simple, fun, and easy to read, without watering down the technical depth.

Whenever possible, bring something fresh that other blogs miss.

Rust · Before and after

A fresh angle: match the tuple.

− before.rs · Nested matches
let id = Some(42);
let enabled = Some(true);

let label = match id {
    Some(_) => match enabled {
        Some(true) => "Ready",
        _ => "Disabled",
    },
    None => "Missing ID",
};
+ after.rs · One tuple match
let id = Some(42);
let enabled = Some(true);

let label = match (id, enabled) {
    (Some(_), Some(true)) => "Ready",
    (Some(_), _) => "Disabled",
    (None, _) => "Missing ID",
};
Technique: Ferrous Systems · Elements of Rust · Tuple MatchingA small, valid illustrative adaptation, not a verbatim excerpt. Both versions return the same label.
Introduce angles that are fresh or overlooked.

If you don't understand parts of your topic, that's not a bad thing, necessarily. Admit it.

Take extra care to get terminology right. Mistakes will cost you credibility.

Typos, mixing up casing e.g "Git hub" or "Javascript", mixing up asynchronous and concurrent, or calling Rails or React a programming language are all red flags.

An example of precise terminology

Building user interfaces with React

Before
React is a programming language for building websites.
After
React is a JavaScript library for building user interfaces.

The edit fixes a factual error. Choosing between “coding” and “programming” is a matter of context, not a test of someone’s expertise.

Prefer a precise technical claim over a label that misclassifies the tool.

Writing from personal experience is extremely valuable. Developers appreciate insights from those who have actually dealt with the topic.

You can talk about how you built, used, learned, or fixed something.

Matt Brubeck’s Let’s build a browser engine! introduction and seven-part series list, including his invitation to build a toy HTML rendering engine.
Reading others' experiences can spark ideas readers can use to solve problems or build something.Matt Brubeck · Let's build a browser engine! (), with a presentation-only dark treatment. Safari-inspired frame added.

In these kind of posts, write about the messy process, successes and failures.

Acknowledging weaknesses and blind spots will build trust. Ignoring or dismissing them will raise questions on your understanding or integrity.

Jon Gjengset describes a Rust email notifier that failed to connect before the network was ready, his attempted backoff fix, and the same error returning a few days later.
Make your blog authentic and relatable by being transparent and objective.Jon Gjengset · The Story of a Rust Bug (), in its native dark theme. Safari-inspired frame added.

If you don't have personal experience, you can try to research and present some insights from others' experiences.

Use humor sparingly. A sharp observation can make a technical point memorable, but the explanation should still be useful without the joke.

Pride versioning: version 2.7.123 is labeled proud, default, and shame version, with the original Dishpit and Reddit attribution retained.
The original pride-versioning joke, now in monochrome. Attribution is retained in the image.

Avoid reaction memes, ragebait, jokes at the reader's expense, and commentary on unrelated topics. Let the technical insight carry the writing.

For programming posts specifically, include working code. Link a GitHub repository. This makes your article more useful to the reader.

Finally, remember that all of the above are guidelines. You should always keep them at the back of your mind, but don't be afraid to break a rule when you feel strongly.

If everyone wrote the same way, it'd be boring. Your unique style will make your writing more valuable in the sea of SEO-optimized, generic content.

Presentation

Use paragraph spacing after every few sentences. This makes the blog easy to digest and retains the reader's attention.

The Algorithm section of Wojciech Muła’s Drawing trees article, with its two original paragraphs and paragraph spacing preserved.
This style ensures that fewer readers lose the will to keep reading until the end.Wojciech Muła · Drawing trees · Algorithm (), in its native dark theme. Safari-inspired frame added.

Add images, GIFs, or videos every 1–2 screen scrolls.

Visuals should have intrinsic value, and not just serve as text breaks. Use them to add insight or commentary that deepens the conversation.

Vercel’s two-panel Helly Hansen chart and original caption: LCP improved by 30% immediately after launch by moving off Adobe Commerce’s PWA to Next.js and Vercel.
Use captions to add further to the conversation instead of just describing visuals.Updated example: Vercel's Helly Hansen story (), captured . Safari-inspired frame added. View the chart and its original caption at full size.

Maintain a design style consistent with the rest of your website pages and graphics.

Native English Tests

Unnatural language can sometimes slip into writing, especially for non-native speakers.

Use tools like Hemingway App and Grammarly to receive ideas to improve your drafts.

Hemingway Editor’s default sample in its genuine light theme, with colored highlights for lengthy sentences, simpler words, and weakening phrases.
These apps give helpful suggestions, but remember to use your own judgement in the end.Hemingway Editor's default sample, not this article, in its genuine light theme. Safari-inspired frame added.

You can also use ChatGPT. Enter a prompt like the one below.

"Rewrite these sentences to how a native English speaker would have written them. Don't lose the main message or deviate too much from my writing. Just tweak the parts that don't sound like a native English speaker speaking."

No AI-generated content

Developers won't take you seriously if they sense your writing was produced by LLMs.

Avoid GPT-generated content. In fact, we recommend that you proactively avoid writing styles that are now associated with AI:

  • "X is not only Y, it is Z."
  • Overuse of em dashes ( — )
  • Cliche openings like "In today's X world…"
QuillBot result illustration from the original article: 74% AI-generated, 0% AI-generated and AI-refined, 0% human-written and AI-refined, and 26% human-written.
Use tools like QuillBot’s AI detector and aim for 0% detection. A crop of the illustration in the original April 2025 article; the displayed 74% is its example result, not a test of this article.

Promotions

You should only promote a product or service in your blog if and where it adds real value to the conversation and benefits readers.

Avoid inducing any forced bias. Developers will detect it instantly and reject your blog.

What to Write?

No developer has ever said, "I'd love to read a list of 50 Python packages."

Focus on real problems developers face where they

  1. don't understand. Make complex things simple for them.
  2. get confused. Help them do the right thing.
  3. waste too much time. Give them insights that save effort.

Here are few themes where content is always welcome. We have linked an example for each.

Final Thoughts

Writing is hard. Your first drafts will need several revisions. Ideas will change as you write them down for the first time. That's normal. Your writing skills will develop with practice.

Over time, you'll realize that good writing both comes from and sharpens your clarity of thought.

It also forces you to improve your understanding of the topic you're writing about.

Finally, if we've inspired you, send us your articles. We'd love to read your work and share it with our community of top developers.

Resources

Paul Graham's short musings on writing are full of insights:

Hacker News guidelines provide a general idea of what kinds of posts work well there. Additionally, this HN thread shares tips straight from the community.

You can also check out Phil Eaton's list of great non-corporate tech blogs or this round-up of the best engineering blogs from dev teams.

CodeCrafters

Become a
next-level engineer.