What are Variables?

Поделиться
HTML-код
  • Опубликовано: 5 сен 2024
  • try.codeaesthe... has experiments for this video. Help gary in his scheme to automate his jobs.
    %d stands for "decimal", as in decimal numbers (base 10). Like all things computers, integers are actually represented in binary (0s and 1s). Printf then converts the binary to decimal numbers - which are the standard numbers we know and love. In gcc, to print binary you can use %b.

Комментарии • 43

  • @mutated__donkey5840
    @mutated__donkey5840 Месяц назад +42

    I thought this was going to be a lower level, "what are variables to the computer", not a C tutorial, but it was still an interesting watch.

    • @Jabberwockybird
      @Jabberwockybird Месяц назад +3

      C is pretty low level considering the modern web brained landscape.
      But I also would like to see a definition of variables that comes more from the perspective of machine code and memory addressed and how compiled languages come into it.

    • @DaSquyd
      @DaSquyd Месяц назад +2

      Variables don't exist at a low level. They’re an abstraction that only exist in high level languages like C.

    • @lolcat69
      @lolcat69 Месяц назад +3

      Variables are a high level concept, not a real thing, they are just memory locations that have a name and a type, an abstraction on top of memory, the actual data used by the program

    • @Jabberwockybird
      @Jabberwockybird Месяц назад +1

      @@DaSquyd See, they need a video explaining how variables abstract the memory locations

    • @DaSquyd
      @DaSquyd Месяц назад +1

      @@Jabberwockybird I mean... there are videos about stack/heap allocation if that's what you’re after.

  • @John-yg1cq
    @John-yg1cq Месяц назад +15

    month, day, year???
    Absolutely disgusting.

  • @AK-vx4dy
    @AK-vx4dy Месяц назад

    I was surprised expecting some philosophical take 😅
    Very good job!

  • @rickwoods5274
    @rickwoods5274 Месяц назад +11

    fyi the channel logo covers up some of your "coming up next" text

  • @kumekster
    @kumekster Месяц назад +1

    Informative and beautifully presented.

  • @wobbly28361
    @wobbly28361 Месяц назад +3

    Are there any videos coming for Code Aesthetic? Cool video!

  • @eriksilva631
    @eriksilva631 Месяц назад +1

    há 0 segundo
    Dear god, I am a dev with more than 5+ years working and 2 years mostly doing custom reports, templates, features using Birt and Jasper report. Why am I watching how to declare and use variables? my life comes in full circle.

    • @asynchr
      @asynchr Месяц назад

      Eu gosto muito dos vídeos do code aesthetic, apesar de ainda serem pouco, são muito didático e sucintos além de trazer várias técnicas que a maioria só aprende com experiência, algo que sinto faltar na maioria dos canais de tutorial/ensino para devs.

  • @khai96x
    @khai96x Месяц назад

    Variables is actually a mathematical concept. In Math, all variables are immutable, but unlike constants, the value of a variable still depends on other factor.

  • @ilyhanshi
    @ilyhanshi Месяц назад

    what's that font you are using called?

  • @gandalfgrey91
    @gandalfgrey91 Месяц назад +1

    In before the Primeagen reacts to this

  • @thunder____
    @thunder____ Месяц назад +1

    "Deez Beans" lmaooooooo

  • @joshuachan6317
    @joshuachan6317 Месяц назад

    When I was learning Python, I thought variables are boxes that stores data
    When I am learning Rust, now I think variables are references to data already existing in RAM

    • @lev-th
      @lev-th Месяц назад

      The first one is closer to the truth. "Variable" is just a name for a place in memory, hence a name of the box that stores data. It's completely fine to think of a variable as a box that stores data. Variable is not a reference, that would be a syntax sugared pointer to a variable, and that pointer (or reference) is itself stored in a variable.

  • @Shnugs
    @Shnugs Месяц назад

    Was hoping for some philosophical dive into “what” a variable is.

  • @enguerranddesmet3313
    @enguerranddesmet3313 Месяц назад

    Really Cool ! Just small question: with what "tool"(lib) are you animating this video ?

    • @Carlos-kh5qu
      @Carlos-kh5qu Месяц назад

      it's a custom tool made by him i think

    • @MrMudbill
      @MrMudbill Месяц назад

      I saw a video a while back about something doing this type of animation in PowerPoint of all things.

    • @luxluth
      @luxluth Месяц назад

      It may be manim or a custom tool

  • @user-qm2zg6rj9m
    @user-qm2zg6rj9m Месяц назад

    is it Data or DATA ?

  • @radicant7283
    @radicant7283 Месяц назад

    >coffee architect

  • @franck8731
    @franck8731 Месяц назад

    I'm gonna nitpicking and say that at 7:43, the hourly rate is displayed in the terminal as 28 instead of 25.
    Anyway, great video!

    • @MrMudbill
      @MrMudbill Месяц назад

      You mean the number of hours is using the rate variable, and displaying 28 instead of 25. The rate is 28, as it should be.

  • @Jabberwockybird
    @Jabberwockybird Месяц назад +1

    Deez beans. What flavors do you have? Hazel-

  • @edems131
    @edems131 Месяц назад

  • @whtiequillBj
    @whtiequillBj Месяц назад

    it is beautifully presented but, wouldn't macros or a Visual Basic script in Word or a LibreOffice BASIC script in Writer be more efficient these days? Rather then a C program and using troff?

    • @yankeebastard8684
      @yankeebastard8684 Месяц назад

      This is a channel about C. The point of the video isn't about the best way to specifically make a prompt for HR

    • @adriancruz2822
      @adriancruz2822 Месяц назад +1

      This video is for novices.

    • @Jabberwockybird
      @Jabberwockybird Месяц назад

      Lower level languages are more efficient

  • @nikbl4k
    @nikbl4k Месяц назад

    yaml::pp

  • @ElvesLOL
    @ElvesLOL Месяц назад +2

    First!

    • @Jabberwockybird
      @Jabberwockybird Месяц назад +2

      Sorry, but this is programming.
      Zero-ith comes before first