Sebastian
12/19/2017, 7:20 PMHi everyone! Soo, you seem to just use the normal read/write properties for data classes. Can’t that lead to some issues? The flux idea (similar concepts are available), where there’s only one class that can update the data, seems more structured. That way the whole encapsulation also makes more sense to me.I’ve written some code with read only properties (objects and primitives / not sure about lists and maps), but what’s your view on it as (more) experienced programmers?
Ruckus
12/19/2017, 7:30 PM..., but what’s your view on it as (more) experienced programmers?Do you mean in general or specifically with regard to TornadoFX? If you want TornadoFX specific, @carlw's answer is top. If you mean in general, well, it depends. Flux, MVC, MVVM, <insert architecture here> can be great and solve various problems, but that doesn't make them universal solutions to every problem (which is why there are so many at all).
Sebastian
12/19/2017, 7:52 PMRuckus
12/19/2017, 8:14 PMRuckus
12/19/2017, 8:17 PMRuckus
12/19/2017, 8:19 PMSebastian
12/19/2017, 8:33 PM