What Are Data Types?

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024

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

  • @sixdsix5028
    @sixdsix5028 5 лет назад +21

    Hey Jabrils, I have been thinking about getting into software engineering for the longest time, and I have dabbled with Game Maker way back in the day; however, I have never buckled down and really invested time in learning the nuts and bolts of a programming language. This course has been an encouragement thus far and I bet the rest of the course is the same.
    I am no spring chicken anymore, as I am getting closer to my thirties and am not the fastest learner by any stretch, but I think that I have a shot if I dedicate myself to learning little by little.
    Thanks again for this tutorial!

    • @ThatGuyDownInThe
      @ThatGuyDownInThe 4 года назад +4

      how goes the journey brother?

    • @ShadaeMastersAstrology
      @ShadaeMastersAstrology 3 года назад +2

      @@ThatGuyDownInThe I was also wondering however no reply 😔 how are you doing with your programming progress so far?

    • @Tylers-Videos
      @Tylers-Videos Год назад +1

      we need an update on the journey homie

  • @josephgaviota
    @josephgaviota Год назад +4

    That was actually kind of interesting.
    My complements on going through all the permutations of "11" + 1; "11" + "1"; "11" - 1, etc.
    I think that would be very good food for thought for someone new to datatypes!

    • @hyikmen9945
      @hyikmen9945 Год назад +1

      true, i have been learnig data structures for 5 weeks now and its still very hard for me to understand.....but this guy made it easy

  • @ThatGuyDownInThe
    @ThatGuyDownInThe 4 года назад +6

    finding out my favorite youtuber has a programming teaching course: best day ever

  • @Easiven
    @Easiven 5 лет назад +37

    "11" - 1 will return an error
    *laughs in javascript*

    • @FurryDanOriginal
      @FurryDanOriginal 4 года назад

      same thing I thought lol

    • @liesdamnlies3372
      @liesdamnlies3372 3 года назад

      I swear JS might be the most weakly-typed of weakly typed languages.

  • @KavanBahrami
    @KavanBahrami 5 лет назад +4

    solid videos, quick thought (other than the edit needed at 3:07), it might be easier to understand string concatenation if you used "hello" + "world" instead of "1"+"11"... since "111" as output still seems like a bit of math

  • @heidihale7265
    @heidihale7265 Год назад +1

    What data type would rooms in a house be considered? I'm working on a UML diagram for my OOP class on housing developments. My professor wants us to add data types for the different rooms (living room, garage, kitchen, etc.). Would they all be considered strings?

  • @mgord9518
    @mgord9518 6 месяцев назад

    This seems to imply that the CPU itself is the one deciding whether or not the operation makes sense, which isn't true.
    Types are purely a language abstraction, thus the programming language (either compiler or interpreter) decides whether or not an operation is logical and many languages disagree for various technical and philosophical reasons on what should or should not be allowed.
    For example, Python allows the plus symbol for both addition and string concatenation, like in the video, but a lower-level language like C or Zig will not. String concatenation requires memory allocation, so a low-level language isn't going to let you do that without explicitly allocating and copying over the strings yourself. JS allows addition between a number and a string, but Python does not.
    The CPU has no knowledge of types, everything is simply a number. The only reason types exist is to make programming (much) easier and safer for humans

  • @ShadaeMastersAstrology
    @ShadaeMastersAstrology 3 года назад +1

    Thank you! I’m on my way to watch every video you’ve uploaded on your channel lol.

  • @ldpenrose
    @ldpenrose 4 года назад +6

    @2:08 "Hold My Beer" - Javascript

  • @MrFlotzone
    @MrFlotzone 5 лет назад +13

    3:07 You wrote "-" instead of "+"

    • @_Fawaz
      @_Fawaz 3 года назад

      Oh ya, ur right.

    • @rikon4931
      @rikon4931 3 года назад

      I also noticed

  • @rikon4931
    @rikon4931 3 года назад +1

    Nice explanation. Thank you!

  • @swaystar1235
    @swaystar1235 5 лет назад +2

    when given "11" - "1" why doesnt it give a "1" as a response? It would be removing a "1" from the "11" so it makes sense

    • @marcospinto9380
      @marcospinto9380 5 лет назад

      @Baby Kram subtract "hello" from "bye" you get "Wubba lubba dub dub!" Basic math

    • @Xentrolis
      @Xentrolis 4 года назад +4

      I think this requires some clarification: The reason why "11" + "1" results in "111" is because of a process known as *concatenation.* Using the + symbol is how python combines strings. There's no mathematical operation happening here, so if you passed python "11" - "1", it wouldn't know what to do with that because, again, they're strings. You could do "potato" + "soup" and come out with "potatosoup".
      To achieve the effect you're looking for, you'd have to do what is known as *slicing*, which treats each space of a string as an index, and then you output different parts of the string.
      Hope this helps.

  • @lenientbigcat2174
    @lenientbigcat2174 Год назад +1

    0:35 better call saul

  • @Cycleplayer117
    @Cycleplayer117 3 года назад +1

    thank you are great at this 👍🏾

  • @aydam3558
    @aydam3558 5 лет назад +3

    Hi, I just finished watching your tutorial on Floats. I was wondering why you didn't show the Int tutorial before it, and I realised that you don't have it covered in this playlist. At 1:00 in this vid you say that you do have them all covered, and Int is even shown here, however It's not in the playlist, like said. Is it possible for you to update that or something?
    That would have been very helpful, as I find your tutorials outstanding, and I'm thankful for you sharing your knowledge. :)

  • @quenzybabygirlworld2676
    @quenzybabygirlworld2676 3 года назад +1

    WoW 😲 interesting I know understand ♥️♥️✨✨, thanks for teaching.

  • @bully1676
    @bully1676 6 месяцев назад

    very good explanation

  • @iameben
    @iameben 5 лет назад +3

    I've just learnt that "5.6" in quote is a string not a float... My teacher didn't teach me, thanks!!😣

    • @codewizard5327
      @codewizard5327 4 года назад

      i m also teacher and my students often tell that I never taught them this and that things that I was supposed to teach. But the fact of the matter is its they who slept off. So what if....??? hahaha.

  • @zai8822
    @zai8822 4 года назад +3

    Simple, clear and nice. LIKE IT.

  • @triplentutoring
    @triplentutoring 3 года назад +1

    Wow! Very Nice.

  • @bigchungusofficial2912
    @bigchungusofficial2912 3 года назад +1

    thanks this was great !!

  • @ghadamahmoud4122
    @ghadamahmoud4122 3 года назад +1

    It is wonderful ,thx a lot

  • @antelectronica
    @antelectronica 2 года назад

    @3:07 Should be a '+' instead of a '-'!

  • @40wattstudio41
    @40wattstudio41 4 года назад +1

    Good explanation!

  • @prernachhetri7649
    @prernachhetri7649 3 года назад +1

    You got yourself a subscriber 😁😁

  • @burtmacklin6443
    @burtmacklin6443 3 года назад +3

    Data Types may seem boring and straight forward but their manipulation is where programming really starts to shine.
    Strings are really interesting pieces of data if you are getting into programming and can be used to both add and divide variables using delimiters. For Instance, you have a name input form that allows for a space. You can use that space as a delimiter and create firstName and lastName from a single variable. Ie, name = "John Smith" -> string[] names = name.split(' '); names.firstName = names[0]; names.lastName = names[1]; Or in reverse if you wanted smash names together you could do name = names[0] + " " + names[1];

  • @sachinkabburkar3589
    @sachinkabburkar3589 2 года назад

    Thanks for the information🙂

  • @amproductions9318
    @amproductions9318 Год назад

    Thank you so much ❤

  • @rcgaming5087
    @rcgaming5087 5 лет назад

    My python script in visual studio code isn’t doing print(doit) for some reason. Am i missing something?

  • @tarangplus5276
    @tarangplus5276 2 года назад +1

    Good job

  • @hafsaabdi5454
    @hafsaabdi5454 3 года назад +1

    I have a cat within 😂5 minutes en looking for a 3 minute tutorial lead me here 😂

  • @Oceam
    @Oceam 5 лет назад

    Why are these vids unlisted?

  • @joebot001
    @joebot001 5 лет назад +1

    Hello - 1 = Hellno. Math!

  • @mohammedshaikh8343
    @mohammedshaikh8343 2 года назад

    thanks

  • @AngelTFC
    @AngelTFC 3 года назад

    That's not George Bool, that's Saul Goodman.

  • @tonpetty1882
    @tonpetty1882 4 года назад +1

    How does this have like no viewsb

  • @whateversethh3235
    @whateversethh3235 3 года назад

    damn im really on my way to become the next Michael reeves

  • @akhasdeo7486
    @akhasdeo7486 4 года назад +1

    🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌🍌