logoalt Hacker News

andsoitisyesterday at 10:16 PM1 replyview on HN

which is why, I think, it is better to not have to do that manual rendering gymnastics when retained mode does it for you.


Replies

mort96yesterday at 10:58 PM

Let's not pretend that retained mode is somehow easy. Procedurally changing the system's state in response to events gets pretty complex. A philosophy which approximates the II as a function of state is tempting, in a lot of ways. As someone with a fair amount of experience of both retained mode and immediate mode UIs, I can't confidently say that retained mode requires less "mental gymnastics" than immediate mode.