@thepackbot

That tidbit about "variables with default values must come after the ones without them", just explained a big problem I was having.  Thank you!

@adrianbratt9927

Very interesting, and cleanly presented. Nice.
It is really good to have the "why" as well as the "how"

@pankuang-q1k

your explaination is very helpful for understanding the question 'why we need to do that ', and i like your explaination for reading a json file to an object.  Thank you very much for this good video.

@FrocketGaming

Thanks for this. As I was watching and working on a selenium web scraping script I realized I could make a config dataclass to store all the css_selectors / xpaths I need for this script!

@davidl3383

Thank you. Very clear like your udemy couse ;)

@velicihanates

You could have used two asterix operators to insert json in your person class
'bob = Person(**json)'

@kostasmessinis

:hand-purple-blue-peace:good

@chromery

Great video as always! Have you by any chance made a video about Pydantic (couldn't find it), or are you maybe planning to?

@djtomoy

5:44 nice 😎

@logicboard7746

Jump: @10:00

@smanzoli

It's important to talk about _post_init_ because real code WILL need it, dataclass cannot do all the _init_ most times.

@mecrayavcin

Nice video

@enricoroselino7557

bob job nice

@MrGeordiejon

bob = Person(**json)
print(bob)
>>> Person(name='Bob', age='30', job='Salesman', friends=['Mario', 'Luigi'])

@kamurashev

Nice! Named tuple vs dataclass for the next video?

@forethiocodingstaff

Young, energetic python developer

@jeyosman1

I just wanted to take a moment to express my sincere appreciation for your exceptional explanations and the engaging speed at which you communicate. Your clarity and enthusiasm truly stand out, making learning from you an absolute pleasure. Thank you for your dedication and talent—I genuinely admire the way you convey information

@NoidoDev

Is it better to use that for data or some dict? For example, It seem that I won't be able to get "keywords".

Also, there's a difference between _slots_ and slots=True, which is that you can use default value with the new method.

@MathewGuest

How do data classes compare to pydantic third-party library?

@aryandatla5188

can we implement linked lists using dataclass?