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.
Solution: dont use comments, use audio recordings
That's actually not a bad idea, don't know if it'll be a valuable addition, but it's definitely a cool addition.
Where are you bro, anyway? The views very fresh, green and nice...
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
❤❤❤❤
🤓
Do you suggest copilot ? For stacked feamework for apps, i thinking to buy copilot service
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.
I would definitely recommend you to use it! Super useful thing
How about someone who does not use comments at all
haha, well ... they might be a master, or they might be a beginner. It's all dependent on how many unit tests they have.
Use images
For what?
What is a unit test? 😅
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.
@@FilledStacks wow how do you do that? Could you give a simple example
@@Tanitolus sure. Search on my channel for practical unit testing and you can follow along with that tutorial.