• 0 Posts
  • 13 Comments
Joined 1 year ago
cake
Cake day: July 16th, 2023

help-circle
  • It absolutely should not have been named zeroth() because the reasoning for that is purely pedantic and ignores WHY arrays are 0 indexed. It’s not like the people in the early days of writing programming languages were saying “the zeroth item in the array” - they would refer to it using human language because they are humans, not machines. Arrays are 0 indexed because it’s more efficient for address location. To get the location in memory of an array item, it’s startingAddress + (objectSize * index). If they were 1 indexed, the machine would have to reverse the offset.
    Function/Method names, on the other hand, should be written so as to make the most sense to the humans reading and writing the code, because the humans are the only ones that care what the name is. When you have an array or list, it’s intuitive to think “I want the first thing in the array” or “I want the last thing in the array),” so it makes sense to use first and last. That also makes them intuitive counterparts (what would be the intuitive counterpart to “zeroth”?).




  • I think you’re confused. The men’s lib community is a progressive, feminist-supporting space focused on giving men an opportunity to discuss matters of vulnerability and struggle. They try to help people struggling with mental issues hard times, and discuss how to counter toxic masculinity type shit.
    I’m not involved in the Lemmy community but I used to check out the Reddit one back when I still got on there. The toxic neckbeard shit that’s up in arms about the overblown man v bear shit is the MRA (“men’s rights”) group.


  • I think some portions of the company do want to buy these studios to make games. Mostly because they need a regular funnel of titles to put on Game Pass, and the best way to do that is small- to mid-budget games that can generate hype. But then other portions of the company want to chase that big AAA paycheck because big numbers look good, even if ROI isn’t as good for that one game versus 3 or 4 smaller titles. And others still only care about what will make the balance sheet look the best for the quarter.
    Even smaller companies end up with various “factions” within the org as far as vision and how to best create success (or even how to define success); a company like Microsoft is so fractured that different divisions are unaware of each other’s goals and have competing interests.
    I’m not trying to defend Microsoft here, I just think this is a consequence of an overly large organization that doesn’t have unified goals.







  • JustAnotherRando@lemmy.worldtoMemes@lemmy.mlba dum tss
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    1 year ago

    Again, that’s incorrect. Pounds (Lbs) are the US measurement for mass. Feel free to provide a source to the contrary. I specified pounds mass vs pounds force because in an engineering space, it’s worthwhile to be specific, but the Pound (lb) is all that is specified in any documentation as the unit for mass in the US system.



  • JustAnotherRando@lemmy.worldtoMemes@lemmy.mlba dum tss
    link
    fedilink
    arrow-up
    15
    arrow-down
    2
    ·
    1 year ago

    It’s just a pun. They’re both units of mass, hence there would be mass confusion.

    It doesn’t work with the pun, but the more confusing part for people would probably be the fact that pounds are used for both mass and force, but in SI, the units are different (kilograms for mass vs newtons for force), though that doesn’t really matter for most people.