Log in Sign up
2 Matching Annotations
  1. Feb 2021
  2. sobolevn.me sobolevn.me
    Python exceptions considered an anti-pattern
    1
    1. TylerRick 23 Feb 2021
      in Public
      And we can specify types of wrapped values in a function return annotation, for example Result[float, ZeroDivisionError] returns either Success[float] or Failure[ZeroDivisionError].
      type annotations not: type checking: type annotations (unchecked; in comments)
    Visit annotations in context

    Tags

    • not:
    • type annotations
    • type checking: type annotations (unchecked; in comments)

    Annotators

    • TylerRick

    URL

    sobolevn.me/2019/02/python-exceptions-considered-an-antipattern
  3. runestone.academy runestone.academy
    12.7. Type Annotations — Foundations of Python Programming
    1
    1. TylerRick 23 Feb 2021
      in Public
      type checking: type annotations (unchecked; in comments)
    Visit annotations in context

    Tags

    • type checking: type annotations (unchecked; in comments)

    Annotators

    • TylerRick

    URL

    runestone.academy/runestone/books/published/fopp/Functions/TypeAnnotations.html
Share:
Group. Only group members will be able to view this annotation.
Only me. No one else will be able to view this annotation.
Hypothes.is
  • About
  • Blog
  • Bioscience
  • Education
  • Jobs
  • Help
  • Contact
  • Terms of Service
  • Privacy Policy