Dart Classes - Static Members

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

КОМЕНТАРІ • 9

  • @StanleyAkpeji-p2d
    @StanleyAkpeji-p2d Рік тому

    I have to admit you are one of the best in dart if not the best that I have come across. The tutorials are so relatable. Thank you so much.

  • @keithbertschin1213
    @keithbertschin1213 2 роки тому

    Thank you for showing a real world example. So many videos show abstract application that still leaves you asking why have you done that?

  • @tertiusscheepers8357
    @tertiusscheepers8357 2 роки тому

    @johan I have a quick question about getters and setters. In short why use them what are they preventing or assisting with?? Why make properties private to start off with just WHY. I see the use of them in PHP as well but I don't really know why it is being done. I know what it does (private vs protected vs public) I just don't know WHY??

  • @gregsullivan7408
    @gregsullivan7408 2 роки тому

    I find it interesting that static members CAN be accessed as "local" members from WITHIN the class. This isn't completely intuitive to me - I thought perhaps the qualifier would still be required, to emphasise that the members were static. (just for giggles, I tried defining both a static and a normal variable with the same name - unsurprisingly, that's not allowed - even if it were allowed, it would be extremely confusing)

  • @xtrinity205
    @xtrinity205 2 роки тому

    Very helpful! Thanks.

  • @Ahmed.r.a
    @Ahmed.r.a 2 роки тому

    thank you so much. very clear and intuitive. which English accent is this? I like it.

    • @gregsullivan7408
      @gregsullivan7408 2 роки тому

      Exceptionally good voice, yes. Sounds like it could be South African. It's so much easier when the presenter has a clear and pleasant tone.

  • @amosgaslin1897
    @amosgaslin1897 2 роки тому

    Thanks