
#326 Let's Go for a PyGWalk
Python Bytes
00:00
Is There a Data Class in Python?
Data classes are pretty darn cool and like do we need non data classes anymore? That's the question. So a couple options that he's he talks about through this is, because wouldn't it be cool if we could just say class? But they really are two different things within Python or they're not really different things. If somebody gave you type hinted members within a class and also didn't provide their own init function, then they kind of wanted to be a data class... It seems like it seems like we could do it. Maybe you could even do it file by file. Yeah, I'm not sure.
Transcript
Play full episode
Remember Everything You Learn from Podcasts
Save insights instantly, chat with episodes, and build lasting knowledge - all powered by AI.