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

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

1. 1  
[](/posts/should-interfaces-be-asynchronous--fi0fhcnxt "Should interfaces be asynchronous?")  
[![ploeh's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0645fe7a0b9f40ba9ef17f7a7b49e893)](/sources/[source]/best-of/[year])  
17m read time • Jul 08, 2024  
### Should interfaces be asynchronous?  
Asynchronous (async) and Await are 'contagious,' making it challenging to choose whether interfaces should be Task-based. The discussion revolves around two types of interfaces: those enabling variability/extensibility in behavior, and those supporting automated testing. It outlines strategies for implementing async interfaces when needed and warns against preemptively making interfaces async, as it complicates APIs unnecessarily. It also emphasizes the use of Adapters to bridge synchronous and asynchronous operations.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/55ab2866e0063b69584d9dfbb31e6f97?_a=AQAEuiZ)  
18  
1
2. 2  
[](/posts/three-data-architectures-for-the-server-g75r5vmfd "Three data architectures for the server")  
[![ploeh's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0645fe7a0b9f40ba9ef17f7a7b49e893)](/sources/[source]/best-of/[year])  
7m read time • Jul 25, 2024  
### Three data architectures for the server  
Choosing the right software architecture is crucial for meeting future requirements, although predicting the future is not feasible. This post explores three data architectures—Ports and Adapters, Shared Data Model, and Domain Model only—to raise awareness of the alternatives available for persisting data in applications. The examples focus on persisting restaurant table configurations and highlight different data formats like JSON and XML. Readers are encouraged to understand the benefits and drawbacks of each architecture to make informed decisions.

+2  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/895450fd0f104b6895c27089069e29d3?_a=AQAEuiZ)  
12
3. 3  
[](/posts/pytest-is-fast-yrrkrhfje "Pytest is fast")  
[![ploeh's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0645fe7a0b9f40ba9ef17f7a7b49e893)](/sources/[source]/best-of/[year])  
10m read time • Dec 30, 2024  
### Pytest is fast  
The author discusses their evolving perspective on dynamically typed languages, particularly Python, emphasizing the fast feedback loop when using pytest for TDD. They compare this with statically typed languages like C#, F#, and Haskell, noting the significant compilation time that affects the development process. The discussion highlights the balance and trade-offs in choosing a language for development, based on testing efficiency and compile time.

+4  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/4a6e3356f1d6f77054acaa60a0ce865b?_a=AQAEuj9)  
10  
1
4. 4  
[](/posts/a-binary-tree-zipper-in-c--ri7w7j4mn "A Binary Tree Zipper in C#")  
[![ploeh's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0645fe7a0b9f40ba9ef17f7a7b49e893)](/sources/[source]/best-of/[year])  
15m read time • Sep 09, 2024  
### A Binary Tree Zipper in C#  
The post explains how to port the Zipper data structure from Haskell to C#. It focuses on using Church encoding to model sum types and discusses the implementation of a binary tree with catamorphisms. It includes detailed code examples and comparison with alternative strategies, emphasizing the navigational structures required for tree manipulation. The code enhances understanding of abstract functional programming concepts in a C# context, although it's noted that this approach may not be practical for production use.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/d98f721eee8bb741fd213590ac64add2?_a=AQAEuiZ)  
10
5. 5  
[](/posts/fundamentals-zzk8elx6j "Fundamentals")  
[![ploeh's profile](https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/0645fe7a0b9f40ba9ef17f7a7b49e893)](/sources/[source]/best-of/[year])  
13m read time • May 20, 2024  
### Fundamentals  
Learn the importance of studying fundamentals rather than specific technologies, and how it can make it easier to learn new technologies in the future.

+3  
![Post Cover image](https://media.daily.dev/image/upload/t_mobile_feed/v1/posts/d98f721eee8bb741fd213590ac64add2?_a=AQAEuiZ)  
10

[See all ploeh blog archives](/sources/ploeh/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/ploeh/best-of/2024#page","url":"https://daily.dev/sources/ploeh/best-of/2024","name":"Best ploeh blog Posts of 2024","description":"The most upvoted ploeh blog posts of 2024, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/ploeh/best-of/2024#items","numberOfItems":5,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/should-interfaces-be-asynchronous--fi0fhcnxt","name":"Should interfaces be asynchronous?"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/three-data-architectures-for-the-server-g75r5vmfd","name":"Three data architectures for the server"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/pytest-is-fast-yrrkrhfje","name":"Pytest is fast"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/a-binary-tree-zipper-in-c--ri7w7j4mn","name":"A Binary Tree Zipper in C#"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/fundamentals-zzk8elx6j","name":"Fundamentals"}]},{"@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":"ploeh blog","item":"https://daily.dev/sources/ploeh"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/ploeh/best-of"},{"@type":"ListItem","position":5,"name":"2024"}]}]}
```

