|
|
|
|
|
by nomel
1274 days ago
|
|
> guessing what is SomeAPIResult I disagree. It’s not a guess, it is precisely what it is, where the variable name is free to betray me. A sane IDE/linter will tell me if my local assumption is incorrect, where a variable called result_SomeAPIResult relies on an assumed, possibly ancient, state of reality. |
|
list[SomeAPIResult] in your example is redundant. You can get all the benefits of types without it.