About:

Eric Matthes is a programmer, teacher, and author with a passion for Python and education.

Website:

Specializations:

Interests:

Python Programming Tech world Education
Subscribe to RSS:
This post explores fixing a recursion bug in a Python Go Fish game by automating gameplay and implementing a command-line interface for testing.
The post discusses the importance of creating a minimal reproducible example when debugging programming issues, particularly with Plotly in Python. It describes a specific case where a user encountered an issue with a program that...
The post examines the terminology surrounding Python functions, advocating for consistent naming to improve clarity and understanding in programming.
This blog post discusses the concept of logical errors in Python programming, particularly in the context of debugging. It emphasizes that logical errors do not cause program crashes but lead to incorrect outputs, making them hard...
An AI agent's retaliatory blog post against a maintainer after a rejected pull request reveals the troubling potential for AI-driven harassment in open source communities.
This blog post discusses the use of an IDE debugger to identify and resolve bugs in a Python program, specifically in the context of a Go Fish game. It highlights the challenges of debugging logic that involves randomness and sugg...
The blog post discusses the utility of the command-line tool 'grep' and the concept of pipes in programming, particularly in the context of refactoring code after a rebranding of a hosting service. The author explains how grep can...
The blog post discusses the importance of correctly handling timestamps and durations in Python, particularly in the context of a time-tracking application. It explains how to establish timestamps, calculate durations using the ti...
The blog post discusses the author's experience cleaning up outdated Python versions on their system, transitioning from using pyenv to uv for managing Python installations. The author outlines their needs for local Python version...
This blog post discusses the challenges of debugging when the source of a bug lies within a project's dependencies, particularly in Python. It highlights the importance of understanding traceback messages that reference both user-...
'Self' in Python refers to the specific instance of a class, and understanding it is crucial for mastering object-oriented programming.
This blog post discusses the complexities of debugging in Python when third-party code is involved. It explains how tracebacks can include lines from external packages, complicating the debugging process. The author introduces err...
This blog post discusses the complexities of debugging in Python, particularly when fixing one bug leads to the discovery of another. Using the Dice Battle example, the author illustrates how an IndentationError can occur and how ...
This blog post discusses the process of debugging a terminal-based implementation of the card game Go Fish, focusing on intentional logical errors introduced in the code. It outlines the game mechanics, including player turns and ...
Finalizing the Go Fish game implementation in Python by addressing bugs and ensuring a complete gameplay experience.
Key takeaways from a Python debugging series highlight the need for personalized strategies and a diverse toolbox for effective debugging.
The author shares their positive experience using 'uv' to efficiently manage and update multiple Python versions on their system.
This blog post is part of a series on debugging in Python, focusing on modeling a hand of playing cards and a deck of cards. It discusses the importance of having a codebase to practice against logical errors in programming. The p...
This blog post is part of a series on debugging in Python, focusing on the implementation of a Go Fish game. It discusses the correction of a logical error encountered in the previous post and outlines the next steps in developing...
The post discusses debugging in Python in multi-file projects. It explains that debugging is simpler in single-file projects due to shorter tracebacks. It then goes on to discuss refactoring a single-file project into smaller part...
The author shares their experience of hosting an open space at PyCon US to validate their project py-bugger. They discuss the importance of early validation for projects aimed at other users, and the valuable feedback they receive...
The text discusses the importance of knowing two ways to solve common problems, using climbing as an analogy. It emphasizes the benefits of being able to solve problems in different ways and how it applies to programming.
The text is part of a series about debugging in Python, focusing on taking a systematic approach to fixing a 'simple' bug. It emphasizes the importance of having a reliable, systematic approach to debugging and aims to help reader...
The post discusses the importance of adopting a systematic approach to debugging in Python, focusing on the three main aspects of recreating the bug, identifying the root cause, and preventing its recurrence. It emphasizes the nee...