• 0 Posts
  • 5 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle



  • naught@sh.itjust.workstoProgrammer Humor@lemmy.ml1 hour in Java
    link
    fedilink
    arrow-up
    6
    arrow-down
    2
    ·
    edit-2
    3 months ago

    Just curious, what about spaces made it hard? What language would have been easier? In curly brace languages, 99% of the time, a curly brace is followed by a line break and an indent. Python is similar except it’s typically a colon, line break, then indent.

    What I have learned is: If the code is indented too deeply, it’s a code problem, not the language.

    Torvalds infamously wrote:

    “… if you need more than 3 levels of indentation, you’re screwed anyway, and should fix your program.”


  • I am a man and I am affected 0% by this meme. This meme was a chance to display some empathy and understand why it might be that the bear analogy strikes a chord with many women.

    When I go to the grocery store, do I have to think about being snatched? My privilege affords me the convenience of not worrying about that. Do I need to worry about being sexually assaulted walking home? Statistically, probably not. There are a whole host of problems and horrific fates that befall women disproportionately, and very often at the hands of men.

    Why would a woman feel safer with a bear?

    The 750,000 black bears of North America kill less than one person per year on the average, while men ages 18-24 are 167 times more likely to kill someone than a black bear.

    Most attacks by black bears are defensive reactions to a person who is too close, which is an easy situation to avoid. Injuries from these defensive reactions are usually minor.

    https://bear.org/bear-facts/how-dangerous-are-black-bears

    Since 1784 there have been 82 fatal human/bear conflicts by wild brown bears in North America. Yellowstone National Park has seen a mere 8 since being established in 1872, which is only one more than the number of people who have died from a falling tree.

    https://bearvault.com/bear-attack-statistics/

    Seems to me that even I would be safer with a bear than a man. Makes you think, doesn’t it?