I started using dataclasses after your last video -- very useful. This video makes the other features much more concrete. Thanks so much!
@samjiman25 күн бұрын
I knew about dataclass, but I didn't know about field. Thanks.
@dragonfly-725 күн бұрын
Hm, at 01:32 I'm confused a little - at least ... Wouldn't be the 3rd line something like "DIVERSE" the preferred one followed by "USER_SPECIFIED" ?
@eduferreyraok25 күн бұрын
great video! quick question: how can I match your zsh settings? the snake icon and branch name etc etc?
@Carberra25 күн бұрын
There's a video link the in description! The terminal one.
@saisuapalli25 күн бұрын
Haven't verified it, but having different hashes in the same object per execution should be necessary for security reasons, wouldn't it?
@TakeshySun26 күн бұрын
I've used attrs, and u know, for debug class initialisation was a pain in my ass. Also if we want to make crazy initialisation logic, need to use base python constructor :( Because lambda is cool, but debug :)
@maleldil126 күн бұрын
At least with stdlib's dataclasses, you can just define your own `__init__` method, and dataclass won't override it.
@cbernier325 күн бұрын
Are you programming straight on windows? I only program on WSL. Programming on Windows is silly because you are gonna deploy to linux. You're creating extra heacaches when you need to port that from windows to linux. The vscode remote extension let's you code in WSL, on remote servers, and straight into Docker containers. I got my team off coding straight on windows and into WSL back in 2019.
@Carberra25 күн бұрын
Oh god no, I mainly use a Mac for coding, including videos. I used to code on WSL though as at the time it was more stable then trying to dual-boot with Linux on my old laptop and it was pretty nice.
@cbernier325 күн бұрын
dataclasses aren't new though. They came out in 2018.