Signals/slots vs publish/subscribe

294 views
Skip to first unread message

workin...@gmail.com

unread,
Jan 16, 2014, 1:17:08 PM1/16/14
to pypu...@googlegroups.com
Hello,

I have a question about differences between these 2 patterns
signals/slots and publish/subscribe

I see this

First answer says that's same
Second answer says that "there is a little difference"

I wonder if the second answer is not better than the first one ?

What is your opinion ?

Kind regards

WFC

oliver

unread,
Jan 16, 2014, 3:03:21 PM1/16/14
to PyPubSub
I agree with the second comment, I have upvoted it. It's not just an academic difference, it has practical implications. Although I don't know how Qt implements its signal/slot mechanism, perhaps it makes it quite easy to replace either end without affecting the other. 

Oliver
Contributor to Open Source: PyPubSub, Lua-iCxx, iof
Contributor to StackOverflow



--
You received this message because you are subscribed to the Google Groups "pypubsub" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pypubsub+u...@googlegroups.com.
To post to this group, send email to pypu...@googlegroups.com.
Visit this group at http://groups.google.com/group/pypubsub.
For more options, visit https://groups.google.com/groups/opt_out.

Reply all
Reply to author
Forward
0 new messages