Rust dev, I enjoy reading and playing games, I also usually like to spend time with friends.

You can reach me on mastodon @sukhmel@mastodon.online or telegram @sukhmel@tg

  • 1 Post
  • 472 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle

  • lad@programming.devtoProgrammer Humor@lemmy.mlOff by one solitude
    link
    fedilink
    English
    arrow-up
    6
    ·
    edit-2
    12 days ago

    There’s no such thing as “zeroith” because it’s called “zeroth — being numbered zero in a series”

    This works for building storeys, this would work equally well for tables. The only reason this is not used often is because the series are rarely zero-based in anything that doesn’t also want to equate index and offset.

    You’re right that first may be read as “opposite of last”, that would add to the confusion, but that’s just natural language not being precise enough.

    Edit: spelling

    Edit2: also, if you extend that logic, when you’re presented with an ordinal number, you would need to first check all the options, sort them, and then apply the position you’re asked, that’s not really how people would expect ordinal number to be treated, not me, at the very least





  • lad@programming.devtoGit@programming.devcommit messages are optional
    link
    fedilink
    English
    arrow-up
    1
    arrow-down
    1
    ·
    2 months ago

    Merge requests should be rather small to make it easier to review.

    With this I wholeheartedly agree

    if your work warrants multiple commits, then it probably also warrants multiple merge requests.

    With this not so much, but if you keep your merge requests so small, squashing them is no big deal, that’s a good counterexample for my previous point.

    another good thing is that when we decide to release, we can easily look through the commit history for a change log. No more sifting through minor fixes commits.

    That still requires you to write meaningful messages, just a bit rarer. We do have trouble with change logs, but we had exact same problems when people squashed left and right. Maybe squashing helps self-discipline, though, I haven’t thought about it that way