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

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

1. 1  
[](/posts/5-habits-i-had-to-give-up-to-become-a-better-programmer-hzks1ah8x "5 Habits I Had To Give Up To Become a Better Programmer")  
Video  
[![zoranhorvat's profile](https://media.daily.dev/image/upload/s--TnVKcFzX--/f_auto/v1737645875/logos/zoranhorvat)](/sources/[source]/best-of/[year])  
10m watch time • May 13, 2025  
### 5 Habits I Had To Give Up To Become a Better Programmer  
The post explores five detrimental habits the author had in their early programming career and the journey to overcome them, focusing on control flow complexities, reliance on abstractions, and ensuring proper refactoring. Insights on simplifying code and promoting organic growth of abstractions are discussed.

+1  
![Post Cover image](https://i.ytimg.com/vi/84V1xd_kRbQ/sddefault.jpg)  
97  
1
2. 2  
[](/posts/property-patterns-will-change-how-you-write-c-code-ze1c7ewgn "Property Patterns Will Change How You Write C# Code")  
Video  
[![zoranhorvat's profile](https://media.daily.dev/image/upload/s--TnVKcFzX--/f_auto/v1737645875/logos/zoranhorvat)](/sources/[source]/best-of/[year])  
11m watch time • Nov 25, 2025  
### Property Patterns Will Change How You Write C# Code  
Property patterns in C# enable declarative code by matching objects against property conditions using switch expressions. This feature, introduced in C# 8 alongside nullable reference types, transforms complex if-else chains into concise, readable pattern matching statements. The approach is demonstrated through string formatting examples and a complete HVAC control system implementation, showing how dozens of conditional branches can be replaced with compact, maintainable pattern matching logic that provides compile-time safety and improved code organization.

+2  
![Post Cover image](https://i.ytimg.com/vi/BMJaFunQdE8/sddefault.jpg)  
29
3. 3  
[](/posts/how-fast-is-linq-the-benchmark-results-may-surprise-you--cjnmr259b "How Fast is LINQ? The Benchmark Results May Surprise You!")  
Video  
[![zoranhorvat's profile](https://media.daily.dev/image/upload/s--TnVKcFzX--/f_auto/v1737645875/logos/zoranhorvat)](/sources/[source]/best-of/[year])  
11m watch time • Apr 22, 2025  
### How Fast is LINQ? The Benchmark Results May Surprise You!  
The post demonstrates the performance of LINQ against traditional for loops through a series of benchmarks. It reveals that LINQ is significantly faster, even outperforming optimized versions using ReadOnlySpan. The post explains LINQ's efficient implementation and its ability to handle complex operations more swiftly than manual code, highlighting LINQ's exceptional speed in .NET development.

+3  
![Post Cover image](https://i.ytimg.com/vi/skQsmT-QGyQ/sddefault.jpg)  
17  
1
4. 4  
[](/posts/the-secret-ingredient-to-choosing-between-ienumerable-and-collections-in-c--rrvixbnbn "The Secret Ingredient to Choosing Between IEnumerable and Collections in C#")  
Video  
[![zoranhorvat's profile](https://media.daily.dev/image/upload/s--TnVKcFzX--/f_auto/v1737645875/logos/zoranhorvat)](/sources/[source]/best-of/[year])  
10m watch time • Mar 04, 2025  
### The Secret Ingredient to Choosing Between IEnumerable and Collections in C#  
Learn the differences between IEnumerable and various collections like List, Dictionary, and HashSet in C#. Understand when to use each, based on performance and specific coding needs. The video also demonstrates typical scenarios and the efficiencies of each collection type, concluding with an explanation of when to return IEnumerable and its implications.

+2  
![Post Cover image](https://i.ytimg.com/vi/_EjWexowFoQ/sddefault.jpg)  
16
5. 5  
[](/posts/master-cqrs-queries-in-ef-core-optimize-for-speed-and-efficiency-uzxcrwlhc "Master CQRS Queries in EF Core: Optimize for Speed and Efficiency")  
Video  
[![zoranhorvat's profile](https://media.daily.dev/image/upload/s--TnVKcFzX--/f_auto/v1737645875/logos/zoranhorvat)](/sources/[source]/best-of/[year])  
9m watch time • Feb 18, 2025  
### Master CQRS Queries in EF Core: Optimize for Speed and Efficiency  
Learn how to optimize database queries using the CQRS principle in Entity Framework Core. This involves separating queries from commands, projecting queries to collect only necessary data, and efficiently using resources by minimizing database calls. The post provides a practical guide, including code examples, to illustrate how to implement CQRS in a Minimal API application.

+3  
![Post Cover image](https://i.ytimg.com/vi/4pOp4qkq1L4/sddefault.jpg)  
13
6. 6  
[](/posts/are-you-using-the-extended-linq-operators--lpdqfraak "Are You Using the Extended LINQ Operators?")  
Video  
[![zoranhorvat's profile](https://media.daily.dev/image/upload/s--TnVKcFzX--/f_auto/v1737645875/logos/zoranhorvat)](/sources/[source]/best-of/[year])  
9m watch time • Jan 24, 2025  
### Are You Using the Extended LINQ Operators?  
The post discusses advanced LINQ operators: SelectMany, Zip, and GroupBy. It demonstrates how these operators can simplify complex data queries and transformations in C#. Detailed examples show how to use specific overloads to reduce intermediate steps and enhance code efficiency.

+2  
![Post Cover image](https://i.ytimg.com/vi/o-HHERFaT1o/sddefault.jpg)  
13
7. 7  
[](/posts/this-new-feature-gives-superpower-to-c-record-types-vkipzupdt "This New Feature Gives Superpower to C# Record Types")  
Video  
[![zoranhorvat's profile](https://media.daily.dev/image/upload/s--TnVKcFzX--/f_auto/v1737645875/logos/zoranhorvat)](/sources/[source]/best-of/[year])  
12m watch time • Nov 11, 2025  
### This New Feature Gives Superpower to C# Record Types  
C# 14 introduces extension methods for record types, enabling static factory methods to be attached directly to types rather than separate classes. The guide demonstrates building domain models with records using factory methods for validation, with expressions for non-destructive mutation, extension methods for behavior, and pattern matching with switch expressions. Records reduce code length by 2-3x and significantly decrease bugs through immutability and built-in features.

+2  
![Post Cover image](https://i.ytimg.com/vi/VSGeoxPszHU/sddefault.jpg)  
12
8. 8  
[](/posts/improve-api-responsiveness-with-streaming-json-deserialization-emhc6n52p "Improve API Responsiveness With Streaming JSON Deserialization")  
Video  
[![zoranhorvat's profile](https://media.daily.dev/image/upload/s--TnVKcFzX--/f_auto/v1737645875/logos/zoranhorvat)](/sources/[source]/best-of/[year])  
10m watch time • Nov 18, 2025  
### Improve API Responsiveness With Streaming JSON Deserialization  
When API endpoints receive large JSON arrays under high concurrent load, traditional deserialization can cause memory spikes and server unresponsiveness. Using streaming JSON deserialization with DeserializeAsyncEnumerable allows processing individual array elements as they arrive, reducing memory consumption by 20x and response time by 4x during traffic spikes, while maintaining similar performance under normal loads.

+2  
![Post Cover image](https://i.ytimg.com/vi/hlhAZgFp9xg/sddefault.jpg)  
10

[See all Zoran Horvat archives](/sources/zoranhorvat/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/zoranhorvat/best-of/2025#page","url":"https://daily.dev/sources/zoranhorvat/best-of/2025","name":"Best Zoran Horvat Posts of 2025","description":"The most upvoted Zoran Horvat posts of 2025, curated by the daily.dev community.","isPartOf":{"@type":"WebSite","url":"https://daily.dev"}},{"@type":"ItemList","@id":"https://daily.dev/sources/zoranhorvat/best-of/2025#items","numberOfItems":8,"itemListElement":[{"@type":"ListItem","position":1,"url":"https://daily.dev/posts/5-habits-i-had-to-give-up-to-become-a-better-programmer-hzks1ah8x","name":"5 Habits I Had To Give Up To Become a Better Programmer"},{"@type":"ListItem","position":2,"url":"https://daily.dev/posts/property-patterns-will-change-how-you-write-c-code-ze1c7ewgn","name":"Property Patterns Will Change How You Write C# Code"},{"@type":"ListItem","position":3,"url":"https://daily.dev/posts/how-fast-is-linq-the-benchmark-results-may-surprise-you--cjnmr259b","name":"How Fast is LINQ? The Benchmark Results May Surprise You!"},{"@type":"ListItem","position":4,"url":"https://daily.dev/posts/the-secret-ingredient-to-choosing-between-ienumerable-and-collections-in-c--rrvixbnbn","name":"The Secret Ingredient to Choosing Between IEnumerable and Collections in C#"},{"@type":"ListItem","position":5,"url":"https://daily.dev/posts/master-cqrs-queries-in-ef-core-optimize-for-speed-and-efficiency-uzxcrwlhc","name":"Master CQRS Queries in EF Core: Optimize for Speed and Efficiency"},{"@type":"ListItem","position":6,"url":"https://daily.dev/posts/are-you-using-the-extended-linq-operators--lpdqfraak","name":"Are You Using the Extended LINQ Operators?"},{"@type":"ListItem","position":7,"url":"https://daily.dev/posts/this-new-feature-gives-superpower-to-c-record-types-vkipzupdt","name":"This New Feature Gives Superpower to C# Record Types"},{"@type":"ListItem","position":8,"url":"https://daily.dev/posts/improve-api-responsiveness-with-streaming-json-deserialization-emhc6n52p","name":"Improve API Responsiveness With Streaming JSON Deserialization"}]},{"@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":"Zoran Horvat","item":"https://daily.dev/sources/zoranhorvat"},{"@type":"ListItem","position":4,"name":"Best of","item":"https://daily.dev/sources/zoranhorvat/best-of"},{"@type":"ListItem","position":5,"name":"2025"}]}]}
```

