Diego J.
diegojromerolopez.bsky.social
Diego J.
@diegojromerolopez.bsky.social
Software engineer. Python, Ruby, Typescript. Blog: https://diegojromerolopez.github.io/
Hey #Python blueskyers, what's your take on static validation of Python code?

www.reddit.com/r/Python/com... 🤔
From the Python community on Reddit: What's stopping us from having full static validation of Python code?
Explore this post and more from the Python community
www.reddit.com
December 22, 2025 at 9:18 AM
Now, what would happen if I leverage LLMs in a language I don't have much experience in an unknown area for me? I will come back with my findings!
December 9, 2025 at 10:10 PM
It's been interesting to check what's the speed of coding some Python libraries with some AI support. Of course I didn't aspire to have 100% perfect code, but they have tests and they work.

The speed is an order of magnitude lower. Months are now weeks, and the weeks days.
December 9, 2025 at 10:04 PM
Second project done making extensive use of LLMs: github.com/diegojromero... a mypy extension that provides a decorator to mark functions that raise exceptions.
GitHub - diegojromerolopez/mypy-raise: A mypy extension that provides a decorator to mark functions that raise exceptions
A mypy extension that provides a decorator to mark functions that raise exceptions - diegojromerolopez/mypy-raise
github.com
December 9, 2025 at 9:53 PM
I have created this plugin for mypy: mypy-pure (github.com/diegojromero...) that provides a function decorator that enforces (partial) purity.

The development took less than 6 hours because I used LLMs.

Read my opinion about the experience: diegojromerolopez.github.io/blog/2025/12...
GitHub - diegojromerolopez/mypy-pure: A mypy extension that provides a decorator to mark functions as pure
A mypy extension that provides a decorator to mark functions as pure - diegojromerolopez/mypy-pure
github.com
December 5, 2025 at 9:28 PM
I've leveraged Antigravity and the Claude and Gemini models to create a #mypy plugin to signal a function as free of side-effects. The development has been much faster! Check it out!
github.com/diegojromero...
December 3, 2025 at 8:53 PM
Just heard that a person has an appointment to their doctor to the year 2999 #software #databases #errors
September 23, 2025 at 10:41 AM
Several weeks ago I developed a package to ease the pain of instrumenting #Python code with #OpenTelemetry. Now, I have written a post in my blog explaining how to use it. Check it out!

diegojromerolopez.github.io/blog/2025/09...
September 16, 2025 at 8:14 AM
Why not have a way to have automatic #OpenTelemetry instrumentation for your functions in #Python? I have created a package called otelize (pypi.org/project/otel...) that provides a decorator that creates a span for each function call.

github.com/diegojromero...

Feedback welcome!
September 6, 2025 at 11:55 AM
New very basic library for helping your #opentelemetry efforts in #Python: github.com/diegojromero...
August 31, 2025 at 5:02 PM
Some days ago I was using #copilot for code generation and had a fragment of Queen's Bohemian Rhapsody in the test code I wanted to review. I kid you not, the AI responded by ignoring all my instructions and adding the next part of the verse.
August 31, 2025 at 4:49 PM
AI is pretty useful for getting the scaffolding in a programming language. Forgot how to create a decorator in #python or don't want to create to a TypedDict by hand? The AI has your back!
August 30, 2025 at 3:11 PM
I wrote a #python package for writing log messages with a background #thread.

It is a proof of concept but it led me to interesting new ideas and challenges, posible issues and improvements.

github.com/diegojromero...

It’s the basic premise of async functions but done without the event loop.
July 11, 2025 at 3:48 PM
Do you do unit tests and integration tests in your code? Why you should be doing both? diegojromerolopez.github.io/blog/2025/06...
June 8, 2025 at 12:50 PM
Unpopular opinion: I don't like *args and **kwargs in #python.

diegojromerolopez.github.io/blog/2025/05...
May 18, 2025 at 5:19 PM
Do you read code just for pleasure? I was intrigued about how #pylint works and took a look to some rules.

What are your favorite legible software projects?
March 16, 2025 at 7:16 AM
Simplicity in software engineering is a must. If you do nothing against the continuous complexity increase, you will pay. For sure you will face a hurdle while extending or maintaining your software that you will not be not be able to overcome.
March 8, 2025 at 11:47 AM
Some days ago I learned how to patch objects in the setUp method with #unittest in #python. I used to patch objects via the @patch decorator, but I'm starting to think this is cleaner if the same object is mocked for all the test methods.

diegojromerolopez.github.io/blog/2025/02...
February 13, 2025 at 6:22 PM
I developed and maintain a #python package to freeze objects called gelidum (github.com/diegojromero...). I've noticed that I have a bunch of users but they haven't given me any feedback. How do you approach your users to ask them for feedback?
February 1, 2025 at 5:38 PM
Just asked #chatgpt how to improve my #python project github.com/diegojromero... and it surprisingly gave some good points.

A new use-case for the AIs (for me): getting feedback for an open-source project.
January 26, 2025 at 10:00 AM
How do you deal with #irrational people in the workplace? What is your approach to conversations with people that do not have their mind in the right place?

Some of my thoughts here diegojromerolopez.github.io/blog/2025/01...
January 25, 2025 at 8:08 AM
Been playing around with python a bit. type, metaclass and decorators to do a simple thing: enforce constants at class-level.

github.com/diegojromero...

This project is in pre-alpha, but it has forced me to learn and refresh some concepts, so it has some value.
January 18, 2025 at 11:06 AM
My thoughts about technical #blogging for 10 years diegojromerolopez.github.io/blog/2024/12...
December 29, 2024 at 6:37 PM
Unsure on how to add #otel to your #deno #fresh application? See my latest post about that: diegojromerolopez.github.io/blog/2024/12...
December 29, 2024 at 6:36 PM
Yesterday I wrote about some of the faulty career ladders I've seen in the software development world diegojromerolopez.github.io/blog/2024/12...

Once you have some years behind you it's funny to remember all the experiences you have had in a particular topic.

#cscareer #promotions #career
December 27, 2024 at 9:33 AM