this post was submitted on 24 Apr 2025
63 points (94.4% liked)

Python

7104 readers
3 users here now

Welcome to the Python community on the programming.dev Lemmy instance!

๐Ÿ“… Events

PastNovember 2023

October 2023

July 2023

August 2023

September 2023

๐Ÿ Python project:
๐Ÿ’“ Python Community:
โœจ Python Ecosystem:
๐ŸŒŒ Fediverse
Communities
Projects
Feeds

founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] muntedcrocodile@lemm.ee 1 points 4 weeks ago (1 children)

Ur function args if fucked up should always throw an error that's the entire point of python type hints

type hints are static, not necessarily runtime.

A chaos monkey throws everything at everything to see what breaks.

That won't be caught by perfect type hints, which is merely one tool in the toolbox.

and when things break, often hear WAD, works as designed. Or some other nonsense excuse.