• 10 Posts
  • 1.01K Comments
Joined 2 years ago
cake
Cake day: July 16th, 2023

help-circle





  • I guess it’s less the response itself but the response objects in the codebase. The main code base I work on is fully typed Python/FastAPI but we depend on an API from another team that was, up until recently, untyped entirely. The responses were just dictionaries that were dynamically generated randomly in 10 layer deep functions. There was absolutely no way to tell what they would actually return, let alone what types they would be. It’s like, if you see a function that’s just called get_big_fat_entity_findings() with no typing, how would you handle that without spending an hour reading through the code line by line? Typing is important for any project that’s bigger than a quick script



  • It never made sense to me that “fish don’t feel pain”. Like, even as a kid I didn’t understand why they wouldn’t. Who would be okay with a metal hook through their mouth? Even if they didn’t feel the same kind of pain we do (I’m sure they do), there’s got to be some part of their body screaming that things aren’t okay. Add on top of that the sudden inability to breathe and it really is just torture.

    I like the idea of fishing (like relaxing on a boat with a goal) but I couldn’t do it