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

---
title: Best Engineer’s Codex posts of 2025 | daily.dev
description: The most upvoted Engineer’s Codex posts of 2025, curated by the daily.dev community.
canonical: https://daily.dev/sources/engineerscodex/best-of/2025
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:url: https://daily.dev/sources/engineerscodex/best-of/2025
og:type: website
og:site_name: daily.dev
og:title: Best Engineer’s Codex posts of 2025 | daily.dev
og:description: The most upvoted Engineer’s Codex posts of 2025, 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 Engineer’s Codex — 2025

1. 1  
[](/posts/how-to-not-write-garbage-code-by-linus-torvalds--e7clfjdc7 "How to Not Write "Garbage Code" (by Linus Torvalds)")  
[![engineerscodex's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/fbe1aec98f16412b9f299723be70fbfc)](/sources/[source]/best-of/[year])  
4m read time • Sep 12, 2025  
### How to Not Write "Garbage Code" (by Linus Torvalds)  
Linus Torvalds criticized a Meta engineer's code for creating unnecessary abstractions that increase cognitive load. The piece argues that good code should minimize context switches and mental overhead for both humans and AI systems. Sometimes code duplication is preferable to complex helper functions when it keeps logic self-contained and easier to understand. The principle of "Please Repeat Yourself" can reduce cognitive burden, especially as AI coding tools become more prevalent.

+1  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/7df1931babb9cbf4851da8cfdba9bf67?_a=AQAEulh)  
962  
68

[See all Engineer’s Codex archives](/sources/engineerscodex/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/engineerscodex/best-of/2025#page","url":"https://daily.dev/sources/engineerscodex/best-of/2025","name":"Best Engineer’s Codex Posts of 2025","description":"The most upvoted Engineer’s Codex posts of 2025, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/engineerscodex/best-of/2025#items","numberOfItems":1,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/how-to-not-write-garbage-code-by-linus-torvalds--e7clfjdc7","name":"How to Not Write \"Garbage Code\" (by Linus Torvalds)"}]},{"@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":"Engineer’s Codex","item":"https://daily.dev/sources/engineerscodex"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/engineerscodex/best-of"},{"@type":"ListItem","position":5,"name":"2025"}]}]}
```

