Slacker News Slacker News logo featuring a lazy sloth with a folded newspaper hat
  • top
  • new
  • show
  • ask
  • jobs
Library
← Back to context

Comment by zahlman

6 hours ago

> And now with newer Python projects using type annotations, the difference got smaller.

Just FWIW, you don't actually have to put type annotations in your own code in order to use annotated libraries.

1 comment

zahlman

Reply

cobolexpert  3 hours ago

Indeed, but nowadays it’s common to add the annotations to claw back a bit of more powerful code linting.

Slacker News

Product

  • API Reference
  • Hacker News RSS
  • Source on GitHub

Community

  • Support Ukraine
  • Equal Justice Initiative
  • GiveWell Charities