• 0 Posts
  • 10 Comments
Joined 2 years ago
cake
Cake day: June 14th, 2023

help-circle


  • When I was 18 and in my first job, my boss and I installed the very first windows NT file servers for a major uk public sector organisation. They were all named after beers that we’d drunk on team nights out. We had Blacksheep, Tanglefoot, Snecklifter, and so on. They were in a test environment so it didn’t matter. Until they went into production…

    That was over 30 years ago now, but I still usually resort to beers.



  • dave@feddit.uktoProgrammer Humor@lemmy.mlOff by one solitude
    link
    fedilink
    English
    arrow-up
    0
    ·
    10 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.