Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I don't use the init decorator myself but I would hazard a guess it's similar. Don't quote me on that though.

The point does stand though, outside of modifying properties I'm not sure what a "private" class itself achieves.



> I don't use the init decorator myself but I would hazard a guess it's similar.

Genuinely curious, why not? Seems to be less verbose. I don’t write C#s so I’m not sure of the downsides of any particular feature.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: