Hacker News new | ask | show | jobs
by sametmax 3347 days ago
Use the comment syntax for type annotations. They are compatible with both versions.
1 comments

I didn’t like the idea of moving the annotations out-of-band with the parameter names. Aesthetically you also loose syntax highlighting.