4 ms·
If you named your variables properly and your editor supported type hints, you'd have none of these issues: I used generic names for demonstration. Compare it
by necovek 5mo ago
If you named your variables properly and your editor supported type hints, you'd have none of these issues: I used generic names for demonstration.
Compare it to
family_adults = [ person for person in family_members if person.age >= 18 ]
Code should be as readable as possible by default: I'd argue you do not even need types in code with good naming, though they do prove their worth in codebases being evolved for a long time and many people.