Erik

@coderik
4 Followers
2 Following
4 Posts
I'm a software engineer with over 10 years of experience and a passion for Python. Curious how I keep my codebase testable, maintainable, and a joy to work with? I share what I’ve learned here and on my blog.
#python #architecture #developer #software
Bloghttps://coderik.nl/blog/
GitHubhttps://github.com/erikvdven/
on one hand criticizing OOP for subclassing crimes is a strawman argument; on the other hand every cthulhudamned OOP tutorial starts with subclassing some bloody kind of vehicle

My blog post about separating Pydantic from the domain layer blew up today. Almost 2k visitors in just one day!! Who would’ve ever dreamed that?

#pydantic #fastapi #python #python3 #pythonprogramming #webdevelopment #softwareengineering

With the rising popularity of FastAPI and Pydantic, it's becoming increasingly important to protect a clean domain, free from third-party tools. I wrote an article to help you with that.

https://coderik.nl/posts/keep-pydantic-out-of-your-domain-layer/

#fastapi #pydantic #softwaredevelopment #python #cleancode #architecturepatterns #pythonprogramming

Keep Pydantic out of your Domain Layer | Coderik

Stop Pydantic leaking into your domain layer. Use lightweight mappers or dacite to convert Pydantic models into pure old python dataclasses and keep your domain layer free of third-party libraries.

Design Pressure: The Invisible Hand That Shapes Your Code - Hynek Schlawack

YouTube