What Do You Write in a Programming Blog?


In this section, I’ll explain how to write code that is easy to read, maintain and understand.

I’ll also give you tips on how to format your code so that it can be easily diffed (compared) when changes need to be made later.


  • Know your tools.

  • Learn new ones.

  • Understand their strengths and weaknesses, both as a technical solution for a problem and as a means of communication.

  • Remember that the best tool for the job is not always the most popular one (or even free).


A design pattern is a general reusable solution to a commonly occurring problem in software design. Design patterns are formalized best practices that can be applied to the structures of software systems to solve common problems. They are intended to improve the structure of your code and don’t provide complete solutions on their own.

You can find patterns in books or online, but some of the most useful ones I’ve come across have been at https://www.cplusplus.com/patterns/. This site has some good explanations of many different types of patterns, as well as examples for each one. Some examples include:

  • Singleton class – Ensures only one instance exists at any given time and provides it through a global variable (i) * Factory Method – Creates an object without exposing its type (i) * Observer Pattern – Allows objects with events to communicate with each other without needing direct references between them * Composite Pattern – Encapsulates parts of an object as sub-objects (i), which allows you keep track of different parts separately but still work together


Writing about problems is a great way to boost your blog’s search engine traffic.

Problem: You need to write about problems

Solution: Write about the problem you have with writing about problems


When you’re writing about something that interests you, it’s easier to write in your own words and find a way to make the content interesting. If you know how something works but want to explain it in your own terms, try writing down how you think it works as if you were explaining it to someone else who didn’t know what they were doing.

Design Decisions

Design decisions are important because they can make a program easier to understand, maintain and extend. A good design decision is one where you have chosen the best way to solve a problem. This might be a clever way of implementing something or it could simply be that you have chosen the most intuitive solution. Design decisions don’t always need to be made at the beginning of a project and they do not always need to be complicated either – having an iterative approach when designing software can help you avoid bad design decisions too!

A good example of a design decision would be whether or not your code should use exceptions or error codes for error handling since this has implications on how you write your code (more on this here).

Bad examples include: using global variables everywhere in your program; having functions that return void rather than something useful such as an object containing information about what happened during execution; using inheritance where composition would work better instead

Links to other blogs or articles you find useful, and why.

The next thing you should put in your blog is links to other blogs or articles that you find useful. You can link to the website of an author, a particular article on their site, or even a guest post on another blog. Make sure you explain why the link is useful and why other people would like it too. If there’s something about the piece you don’t like (or think could be improved), include that in your critique as well!

If you are linking to someone else’s website and they have referenced yours in their own content, make sure they know by leaving them a comment or emailing them directly so they can return the favor!

The differences between different programming languages.

One of the best things you can do for your blog is to talk about programming languages. There are many different languages out there, and they each have their own advantages. Some languages are easier to learn than others, some are better at certain types of programming tasks, and some are more popular than others.

You should explain what makes each language unique so that readers can determine which one will be best for them. For example:

  • Python (a general-purpose language) is often used in scientific fields because it’s designed for readability and simplicity.

  • Java (a general-purpose language) is very popular because it runs on nearly every computer system in use today and is relatively easy to learn compared to other options like C++ or C#..

Good communication is important in any field, so writing a blog can be good practice for people who work on programming teams with non-technical people.

Good communication is important in any field, so writing a blog can be good practice for people who work on programming teams with non-technical people.

If you work on a team that includes non-programmers, then it’s likely that those teammates will have questions about what you do. Writing a technical blog can help you gain experience explaining your day-to-day work to non-technical readers and build relationships with them.

Write about what you think is interesting or informative. You can start by writing in your own words about concepts you already know. Or write about things that confuse you and try to explain how they work to yourself. Learn them better by explaining them to someone else! Who knows, maybe you’ll even convince yourself that you’re right after all. 🙂

When you’re writing blog posts, it’s good to keep in mind that most people won’t care about the same things as you. It’s not a bad thing if they don’t—you can always find someone else who does and write for them instead.

That said, your first instinct may be to assume that everyone is like you and wants to read about what interests YOU. But often the best way to get people interested in something is by explaining why it’s interesting (or confusing) in YOUR words!

You might also find that when you start thinking about things from new perspectives—or explain concepts to yourself in ways that make sense—it helps connect some dots between seemingly unrelated ideas or concepts.

Anything related to coding can make a good blog post!

Anything related to coding can make a good blog post!

For example, you might talk about:

  • A piece of code you wrote that’s useful for your readers.

  • A new technique that you’ve discovered for solving problems in a way other people haven’t.

  • The current state of your project and what’s next for it.

You could also write about topics like:

  • What programming languages are best for beginners, intermediate programmers, and advanced programmers?

  • How to find developer jobs when you don’t have experience working as a developer yet (or if you have past experience but not enough).

Leave a Reply

Your email address will not be published. Required fields are marked *