News for hackers. Stuff that matters.
Re:The complexity that lives in the GUI by IshKebab on Sunday February 14, 2021 @02:43PM (#26135513)
> There’s always a stack trace.

I think you misunderstood. Of course there's always a stack trace; you're still executing code. But with message buses and magic reactivity systems your stack trace always just goes to `mainEventLoop()` or `processEvents()` or whatever.

It doesn't go to the thing that actually caused the change as it would if you used direct function calls. I'm not saying it's a deal breaker, it's just a notable downside of those architectures.

Re:The complexity that lives in the GUI by TeMPOraL on Sunday February 14, 2021 @07:52PM (#26137808)
As GP said, you have to compensate with some form of logging/tracing. At the very least, if you assign an ID to every event, then to debug an issue you can start logging sends and receives, and work out the relationship.
Re:The complexity that lives in the GUI by IshKebab on Monday February 15, 2021 @05:42AM (#26141384)
Yes you can do that but it's still worse than a proper stack trace that goes back to where the message is generated.