Picking Good Variable Names When You are Programming

Поділитися
Вставка
  • Опубліковано 11 січ 2025

КОМЕНТАРІ • 6

  • @rycona9878
    @rycona9878 14 днів тому

    I've watched a good handful of general naming convention videos since yesterday to help me cope with some early project naming crises, and you covered a few things that I hadn't heard in those other videos, and that perceived data uniquity has led me to set bSubscribe to true, as well as seeing you have a lot more content on programming in general (I don't Java) and I am curious what little nuggets I'll pick up. This video's "averageProfit vs. profitAverage" section contextually flipping the "general-to-specific" paradigm I see touted a lot was particularly noteworthy. The exceptions of the rules is where the music lives.
    Also, I'd never heard the term "kebab-case" until now. Love it. +1 to the programming/food Venn diagram.

    • @wizardcraftcode
      @wizardcraftcode  14 днів тому +1

      Cool! The little details on these things are the real fun! I've done a bunch of Java recently and will do a few in C soon because my classes need them. But I love doing the overarching things like design patterns and software engineering processes. I really hope to get back to those soon!

  • @matusalemdamarin4060
    @matusalemdamarin4060 8 місяців тому

    estou tateando na programação mas sou professor de Filosofia aqui no Brasil e o seu ponto no vídeo é de grande importância para a organização do estudante ou do trabalhador na área. Muito boa sua observação!

    • @wizardcraftcode
      @wizardcraftcode  8 місяців тому

      Thank you! Learning to program IS easier if you pay attention to names of things. That's one of the things I try to teach my students really early on. Good luck with your programming adventures!

  • @Coder.tahsin
    @Coder.tahsin 8 місяців тому

    The creator of Kubernetes once said "The hardest thing in computer science is Naming" 😂

    • @wizardcraftcode
      @wizardcraftcode  8 місяців тому

      There are a zillion funny riffs on that, too. Here's my favorite:
      There are 2 hard problems in computer science: cache invalidation, naming things, and off-by-1 errors.
      -- Leon Bambrick