Skip Navigation
How Quora Died
  • @FinishingDutch @ahornsirup

    But Wikipedia aren't charging people to see the work you contributed for free. That's a significant difference.

  • A proposal for java's "throws" in python: Extend type hints to cover exceptions
  • @Maoo @onlinepersona
    That's unfair. Java did everyone a huge favour by giving a practical demonstration of why (mandatory) checked exceptions are awful.

  • Python errors as values
  • @SittingWave @mac

    That article isn't really advocating handling _all_ errors as values AFAICS - it just doesn't distinguish between _exceptional_ and _normal but unsuccessful_ paths.

    For a wrapper around an HTTP transport, returning HTTP responses instead of raising an exception for stuff like "403 Forbidden" is probably reasonable. Their own example code is full of exceptions, though.

  • Introducing Immortal Objects for Python
  • @Sternout @jnovinger
    Maybe, but (apart from the "Accidental Immortalisation" case mentioned in PEP 683) these things are created deliberately by C extensions.
    A sane extension shouldn't be building loads of them on the fly in the first place.

  • tnuctip tnuctip @mastodonapp.uk

    Fictional extinct arboreal pack predator, or whatever sort of hominid would choose that as a profile.

    Posts 0
    Comments 4