Re:Type hinting for Python
by afandian on Tuesday January 06, 2015 @12:51PM
(#8845793)
Why? If a, b and c are separate args why not name them? Especially if they're of different types (as per second example).
[ Parent
| on HN ]
[deleted]
Sure, but isn't the comment obviously a demonstration of formal parameter syntax rather than functionality? Surely the more idiomatic Python would be not to write the function at all if it does nothing (and then there's no example code to illustrate with).