What is Your Flutter Code Level?

Поделиться
HTML-код
  • Опубликовано: 9 сен 2024
  • Stages for Flutter developers code quality as seen through comments
    Beginner: Comments to explain classes, functions, variables
    Intermediate: Well-named classes and comments to explain functions
    Advanced: Well-named objects with comments on complex functions
    Master: Complex functions documented with unit tests. No comments
    Comments should be used for examples or meta-data, not to explain the code.

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

  • @iGhostr
    @iGhostr Год назад +7

    Solution: dont use comments, use audio recordings

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

      That's actually not a bad idea, don't know if it'll be a valuable addition, but it's definitely a cool addition.

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

    Where are you bro, anyway? The views very fresh, green and nice...

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

      Yeah, I'm just walking through my neighborhood when I record this. I live in South Africa so we've got some nice greenery here

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

    ❤❤❤❤

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

    Do you suggest copilot ? For stacked feamework for apps, i thinking to buy copilot service

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

      I have never used it so I don't know how useful it is. I only recommend things that I've actually used / paid for myself.

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

      I would definitely recommend you to use it! Super useful thing

  • @KosakiOnodera-bz9fc
    @KosakiOnodera-bz9fc Год назад

    How about someone who does not use comments at all

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

      haha, well ... they might be a master, or they might be a beginner. It's all dependent on how many unit tests they have.

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

    Use images

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

    What is a unit test? 😅

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

      haha, it's the first step in writing self-testing code. It's code that tests your code, so you can focus on writing more code instead of retesting your code for hours before releasing a new version to users.

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

      @@FilledStacks wow how do you do that? Could you give a simple example

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

      @@Tanitolus sure. Search on my channel for practical unit testing and you can follow along with that tutorial.