Statically and Dynamically Typed Languages Explained | Coding Concepts

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 2

  • @madlep
    @madlep 3 місяці тому

    Great video. One little nitpick about binary representation of negative numbers: The example here is using "ones' complement" to encode the numbers (highest bit indicates negative, all other bits act the same), but virtually all CPUs designed since the 1960s will use "twos' complement" instead. So "11000001" would actually be -63 on a modern computer with twos complement (-128 + 64 + 1), NOT -65, like it would be with ones complement (-64 + -1)

    • @CodingWithTom-tn7nl
      @CodingWithTom-tn7nl  3 місяці тому

      I realized this afterwards after watching another video and it was too late to change it. I'll keep it in mind for future videos.