[–] 3 points 1 week ago (1 child)

Okay, I do think this makes you sound crazy.

I'm putting my question first before I rant about this cause I think I got way more into this response than is warranted.

What problem does this design of just creating bespoke functions have that your design solves?

def mean(numbers):
    return efficient calculation
def normalization(numbers):
    return efficient calculation
def geometric_mean(numbers):
    return efficient calculation

Rant starts here:

With your design, every time someone wants an average of a set of numbers, you're reimplementing the actual logic. Then if someone forgets the +1 and writes:

quotient_reduce(sum, lambda x,y: x, numbers)

A bug is introduced that's hard to spot in a review, won't give an error, and is hard to write tests for. Turning the lambda to an enum meant to be passed around would solve a some of the accidental bugs, but keeps the interaction with the function more complicated.

I really just don't understand why you wouldn't just write each efficient implementation as it's own function and call it directly.

  • source
  • parent
  • context
  • [–] 2 points 1 month ago

    I appreciate the concern, it's very kind of you. This is really just when I first wake up and am standing there at the toilet. I'm pretty tall and think my body forgets it needs keep the pressure high enough when just standing there barely awake. I am otherwise pretty healthy and put in effort to take care of myself.

  • source
  • parent
  • context
  • [–] 1 point 1 month ago (2 children)

    This is just a me thing, but I can get pretty light headed when I first wake up or the middle of the night and have fainted while peeing multiple times. I once 'came to' in the bathtub cause I tipped over instead of crumbling down.

    Everyone else's points are really just bonuses on not hitting my head on the bathtub and dying.

  • source
  • parent
  • context
  • [–] 3 points 3 months ago

    I kinda did that? When I got sober in my mid 20s I also didn't seek out romantic relationships for years. I had too much of myself to figure out first. Though I didn't stop being friends with women, just wasn't really all that interested dealing with the emotions required to date.

  • source
  • [–] 6 points 7 months ago (3 children)

    It can, depending on plan. Mine covers emergencies everywhere in the country regardless of in my state or not. But I better not need a normal dr appointment on vacation.

    Though medication can be pretty easily accessed using a national chain like cvs or walgreens.

  • source
  • parent
  • context
  • [–] 4 points 7 months ago (1 child)

    The big things are the deli counter and vibe of the place. Things aren't necessarily super over priced like chain convenient stores. They also often also tailor to more specific customers. There is one near me that has shelves of Indian products while another just a block away carries Polish products.

  • source
  • parent
  • context
  • view more: next ›