• 1 Post
  • 54 Comments
Joined 2 years ago
cake
Cake day: June 14th, 2023

help-circle








  • dave@feddit.uktoLinux@lemmy.mlLinux suggestion
    link
    fedilink
    English
    arrow-up
    4
    ·
    19 days ago

    Yeah, I was being trite but still there is a reason. Idle doesn’t mean doing nothing. Perhaps it’s obscure, perhaps as impenetrable as some combination of machine state and number of milliseconds since 1970 being an even number. But you could try to track it down.

    And sometimes the easiest thing is to reinstall from scratch.






  • dave@feddit.uktoProgrammer Humor@lemmy.mlOff by one solitude
    link
    fedilink
    English
    arrow-up
    2
    ·
    4 months ago

    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

    Of course—that’s why we have such classics as stristr(), strpbrk(), and stripos(). Pretty obvious what the differences are there.

    But to your point, the ‘intuitive’ counterpart to ‘zeroth’ is the item with index zero. What we have is a mishmash of accurate and colloquial terms for the same thing.