Log in Sign up
2 Matching Annotations
  1. Jan 2022
  2. github.com github.com
    Feature suggestion: error handling API · Issue #1096 · sveltejs/svelte
    1
    1. TylerRick 21 Jan 2022
      in Public
      Boilerplate is only boilerplate if it's the same everywhere, which it shouldn't be.
      good point boilerplate need to consider/solve specific case/problems individually (there is no general solution) error/exception handling
    Visit annotations in context

    Tags

    • good point
    • need to consider/solve specific case/problems individually (there is no general solution)
    • error/exception handling
    • boilerplate

    Annotators

    • TylerRick

    URL

    github.com/sveltejs/svelte/issues/1096
  3. Feb 2021
  4. sobolevn.me sobolevn.me
    Python exceptions considered an anti-pattern
    1
    1. TylerRick 23 Feb 2021
      in Public
      But why do we return 0? Why not 1? Why not None? And while None in most cases is as bad (or even worse) than the exceptions, turns out we should heavily rely on business logic and use-cases of this function.
      why? actually consider / think about how it _should_ (ideally) be need to solve specific case/problems individually (there is no general solution)
    Visit annotations in context

    Tags

    • need to solve specific case/problems individually (there is no general solution)
    • why?
    • actually consider / think about how it _should_ (ideally) be

    Annotators

    • TylerRick

    URL

    sobolevn.me/2019/02/python-exceptions-considered-an-antipattern
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