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

I don't consider connecting signals in xml (via designer) better than connecting them in code. The line is still there, just in different place.


But the UI changes very rarely, and it’s out of the way most of the time; whereas the class method is always in the way in parts of code that could see a lot of day-to-day activity, migrations (py3...) and so on.


On the other hand refactoring is much easier if all your signals are connected in code.




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

Search: