SpiceQA
Questions
Tags
Users
Badges
duck-typing
32 Questions
Newest
Active
Unanswered
Frequent
More
Score
View
Card
Compact
Are abstract base classes redundant since Protocol classes were introduced?
user_2825403
0
•
asked Aug 5, 2022
2
0
52
duck-typing
oop
python
A way in Python to agnostically append() / add() to a collection (or other receiver)?
user_2136767
0
•
asked Jul 5, 2022
2
3
103
python-3.8
duck-typing
python
python : using type hints to dynamically check types
user_1484601
0
•
asked Nov 13, 2021
2
1
281
type-hinting
typing
duck-typing
python
Abstract class Container - Python
user_8332866
0
•
asked Nov 4, 2021
1
2
133
built-in-types
duck-typing
abstract-class
oop
python
Redefine Method of an Object
user_13438431
0
•
asked Oct 18, 2021
5
2
191
duck-typing
metaprogramming
python
How to indicate to mypy an object has certain attributes?
user_1603480
0
•
asked Sep 26, 2021
2
2
1023
python-typing
mypy
type-hinting
duck-typing
python
Asserting a variable has certain properties if it passes certain tests
user_5119871
0
•
asked Sep 16, 2021
2
2
161
python-typing
type-hinting
duck-typing
python
Python Protocol Allowing Optional Attributes
user_11612399
0
•
asked Jul 26, 2021
4
1
587
python-typing
type-hinting
duck-typing
protocols
python
How to express hasattr() duck typing logic with structural pattern matching?
user_424499
0
•
asked May 13, 2021
3
1
164
structural-pattern-matching
python-3.10
duck-typing
python
How to test if a class satisfies a concept in C++?
user_6662425
0
•
asked May 5, 2021
2
1
735
c++-concepts
c++20
duck-typing
static-typing
c++
1
(current)
2
3
4
Next
Next
Hot Questions