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

Learn something new every day. I like this.

I think my point though is still valid: that it's implicit ownership rules which are not clear ownership rules.



The relationships are very clear in most code using Qt. When you create a QObject-derived object, one of the constructor parameters is always the parent. Little things like this goes a long way. I never felt the need to express ownership more explicitly with Qt. Whenever I felt the urge to do so, it turned out that I was trying to do something crazy that I probably shouldn't try in the first place...




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

Search: