<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/sources/stackov/best-of/2021" -->

---
title: Best Stack Overflow Blog posts of 2021 | daily.dev
description: The most upvoted Stack Overflow Blog posts of 2021, curated by the daily.dev community.
canonical: https://daily.dev/sources/stackov/best-of/2021
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/stackov/best-of/2021
og:type: website
og:site_name: daily.dev
og:title: Best Stack Overflow Blog posts of 2021 | daily.dev
og:description: The most upvoted Stack Overflow Blog posts of 2021, curated by the daily.dev community.
og:image: https://media.daily.dev/image/upload/s--VAY5ToZt--/f_auto/v1724209435/public/daily.dev%20-%20open%20graph
---

# Best of Stack Overflow Blog — 2021

1. 1  
[](/posts/no-joke-you-can-buy-our-copy-paste-keyboard-right-now-leckfwbkb "No joke—you can buy our copy/paste keyboard right now")  
[![stackov's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/003e14873238469caea60ebdd34508ae)](/sources/[source]/best-of/[year])  
3m read time • Sep 28, 2021  
### No joke—you can buy our copy/paste keyboard right now

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/34714a5aa2f57897bbf87ddb1278c69d)  
51  
3
2. 2  
[](/posts/i-followed-my-dreams-and-got-demoted-to-software-developer-lpc4nc0-t "I followed my dreams and got demoted to software developer")  
[![stackov's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/003e14873238469caea60ebdd34508ae)](/sources/[source]/best-of/[year])  
5m read time • Dec 29, 2021  
### I followed my dreams and got demoted to software developer  
The top ten Stack Overflow posts of 2014 have been re-publishing. This year's list includes a look back at the year's most memorable posts. We hope you enjoy the list and look forward to next year's top ten posts. See you in 2022!

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/daa602b666906dfcb9974db470966e1b)  
40  
2
3. 3  
[](/posts/level-up-introduction-to-typescript-go1zgv21o "Level Up: Introduction to TypeScript")  
[![stackov's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/003e14873238469caea60ebdd34508ae)](/sources/[source]/best-of/[year])  
1m read time • Sep 18, 2021  
### Level Up: Introduction to TypeScript

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/6fd3586d6e8b1b7f5f3ea64920e79b12)  
25  
1
4. 4  
[](/posts/the-tactics-great-developers-use-to-find-solutions-8p2kdycj6 "the tactics great developers use to find solutions")  
[![stackov's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/003e14873238469caea60ebdd34508ae)](/sources/[source]/best-of/[year])  
1m read time • Jun 15, 2021  
### the tactics great developers use to find solutions

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/26b7f638bd6fb24cff8d36323d23cb25)  
24  
1
5. 5  
[](/posts/best-practices-for-writing-code-comments-ylopuoese "Best practices for writing code comments")  
[![stackov's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/003e14873238469caea60ebdd34508ae)](/sources/[source]/best-of/[year])  
8m read time • Dec 23, 2021  
### Best practices for writing code comments  
Comments are important because they help programmers make sense of code. A bad comment is worse than no comment at all, but it's hard to measure the quality of comments. Comments should not duplicate the code and should not excuse unclear code. Comments that add no information have negative value because they add visual clutter.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/c168764647b12f8a4929d79600894693)  
23  
2
6. 6  
[](/posts/best-practices-for-writing-code-comments-8xkgocbre "Best practices for writing code comments")  
[![stackov's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/003e14873238469caea60ebdd34508ae)](/sources/[source]/best-of/[year])  
8m read time • Jul 05, 2021  
### Best practices for writing code comments

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/c168764647b12f8a4929d79600894693)  
23  
4
7. 7  
[](/posts/700-000-lines-of-code-20-years-and-one-developer-how-dwarf-fortress-is-built-mm5gfoquz "700,000 lines of code, 20 years, and one developer: How Dwarf Fortress is built")  
[![stackov's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/003e14873238469caea60ebdd34508ae)](/sources/[source]/best-of/[year])  
9m read time • Dec 31, 2021  
### 700,000 lines of code, 20 years, and one developer: How Dwarf Fortress is built  
Dwarf Fortress is a free game where you play either an adventurer or a fortress full of dwarves in a randomly generated fantasy world. The entire game is product of one developer, Tarn Adams, aka Toady One, who has been working on Dwarf Fortress since 2002\. He writes all the code himself, although his brother helps out with design and creates stories based on the game.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/99a2ff2361437c31a17f5b4fde454e7b)  
18
8. 8  
[](/posts/what-i-wish-i-had-known-about-single-page-applications-vgxwljlvx "What I wish I had known about single page applications")  
[![stackov's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/003e14873238469caea60ebdd34508ae)](/sources/[source]/best-of/[year])  
12m read time • Dec 28, 2021  
### What I wish I had known about single page applications  
A single-page app is a web page with no real content, just a handful of JavaScript files and some links to other files. This is the heart of the single page app, but it can be very difficult to build and maintain. This article is the tenth in a series on the top ten posts of the year.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/419cb3b5db0885a04681d718240fdcf5)  
12  
1
9. 9  
[](/posts/best-practices-can-slow-your-application-down-qmffzfy1e "Best practices can slow your application down")  
[![stackov's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/003e14873238469caea60ebdd34508ae)](/sources/[source]/best-of/[year])  
7m read time • Dec 22, 2021  
### Best practices can slow your application down  
The Stack Overflow team is re-publishing its top ten posts for the year. In this article, we walk through the choices we made and the tradeoffs they entailed. With more than a decade of history to reflect on, we examine why best practices aren’t always the best choice for particular projects.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/6b2381d243eee1708cf5c26ccdb20017)  
11
10. 10  
[](/posts/why-developer-platforms-are-going-headless-5bu-tq4wu "why developer platforms are going headless")  
[![stackov's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/003e14873238469caea60ebdd34508ae)](/sources/[source]/best-of/[year])  
1m read time • Jul 02, 2021  
### why developer platforms are going headless

+5  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/26b7f638bd6fb24cff8d36323d23cb25)  
12
11. 11  
[](/posts/best-practices-for-authentication-and-authorization-for-rest-apis-lfvvp4wz6 "Best practices for authentication and authorization for REST APIs")  
[![stackov's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/003e14873238469caea60ebdd34508ae)](/sources/[source]/best-of/[year])  
8m read time • Oct 06, 2021  
### Best practices for authentication and authorization for REST APIs

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/7cb1926335bd615dbc1d90895bd9db0b)  
10

[See all Stack Overflow Blog archives](/sources/stackov/best-of)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@graph":[{"@type":"CollectionPage","@id":"https://daily.dev/sources/stackov/best-of/2021#page","url":"https://daily.dev/sources/stackov/best-of/2021","name":"Best Stack Overflow Blog Posts of 2021","description":"The most upvoted Stack Overflow Blog posts of 2021, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/stackov/best-of/2021#items","numberOfItems":11,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/no-joke-you-can-buy-our-copy-paste-keyboard-right-now-leckfwbkb","name":"No joke—you can buy our copy/paste keyboard right now"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/i-followed-my-dreams-and-got-demoted-to-software-developer-lpc4nc0-t","name":"I followed my dreams and got demoted to software developer"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/level-up-introduction-to-typescript-go1zgv21o","name":"Level Up: Introduction to TypeScript"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/the-tactics-great-developers-use-to-find-solutions-8p2kdycj6","name":"the tactics great developers use to find solutions"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/best-practices-for-writing-code-comments-ylopuoese","name":"Best practices for writing code comments"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/best-practices-for-writing-code-comments-8xkgocbre","name":"Best practices for writing code comments"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/700-000-lines-of-code-20-years-and-one-developer-how-dwarf-fortress-is-built-mm5gfoquz","name":"700,000 lines of code, 20 years, and one developer: How Dwarf Fortress is built"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/what-i-wish-i-had-known-about-single-page-applications-vgxwljlvx","name":"What I wish I had known about single page applications"},{"@type":"ListItem","position":9,"url":"https://daily.dev/posts/best-practices-can-slow-your-application-down-qmffzfy1e","name":"Best practices can slow your application down"},{"@type":"ListItem","position":10,"url":"https://daily.dev/posts/why-developer-platforms-are-going-headless-5bu-tq4wu","name":"why developer platforms are going headless"},{"@type":"ListItem","position":11,"url":"https://daily.dev/posts/best-practices-for-authentication-and-authorization-for-rest-apis-lfvvp4wz6","name":"Best practices for authentication and authorization for REST APIs"}]},{"@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"Sources","item":"https://daily.dev/sources"},{"@type":"ListItem","position":3,"name":"Stack Overflow Blog","item":"https://daily.dev/sources/stackov"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/stackov/best-of"},{"@type":"ListItem","position":5,"name":"2021"}]}]}
```

