Re:Poll: Is the leetcode grind necessary to land a high payi...
by willcipriano on Thursday January 27, 2022 @09:20AM
(#30100852)
Run mypy on it and see if it complains. If it does I think it will even tell you what type is being emitted instead.
[ Parent
| on HN ]
Re:Poll: Is the leetcode grind necessary to land a high payi...
by nopenopenopeno on Thursday January 27, 2022 @09:56AM
(#30101293)
The question wasn’t what mypy will do. The question was what type will the function return.
Re:Poll: Is the leetcode grind necessary to land a high payi...
by willcipriano on Thursday January 27, 2022 @10:00AM
(#30101337)
mypy error: function 'x' returns type 'y' expected type 'z'
I don't recall the exact message but I think it will emit something along those lines.