Greetings list, A simple question: why do we need field(default_factory ) in dataclasses?
Why not make that field as an attribute return a function? Useful implementation examples / use cases appreciated. Kind Regards, Abdur-Rahmaan Janhangeer about <https://compileralchemy.github.io/> | blog <https://www.pythonkitchen.com> github <https://github.com/Abdur-RahmaanJ> Mauritius -- https://mail.python.org/mailman/listinfo/python-list