Is it bad practice to define a private method solely for initializing a class attribute? [closed]

Eklenme Tarih 1 hour ago
Active 19
Görüntülenme 89
S

Is it bad practice to define a private method solely for initializing a class attribute? [closed]