Get the latest tech news

The key to getting MVC correct is understanding what models are


stlab hosts modern, modular C++ algorithms and data structures.

When the controller requests a change in value, the boolean is updated, and the view is notified of the new state of the model. Contrast this with most UI frameworks where you have a checkbox widget from which you can query the value and you receive a notification when the value has changed. I conjecture that one of the reasons why MVC has been so screwed up is because, unlike in Smalltalk, writing something as simple as an observable boolean is a bit of a pain in a language like Pascal or C. You quickly get into object ownership and lifetime issues and how to write bind expressions.

Get the Android app

Or read this on Hacker News

Read more on:

Photo of F ed

F ed

Photo of MVC

MVC