H
Hal Fulton
I'm refactoring some ugly code and looking for some general
high-level advice.
I'm always rather at a loss when it comes to separating the GUI-related
data from the non-GUI data.
For example, a Note might have certain attributes. But a NoteWidget, which
would know about a Note, would have different (GUIish) attributes.
But I'm a little uncomfortable with this separation, and I always end up
with a certain tangling anyway.
How do you handle this sort of issue?
Hal
high-level advice.
I'm always rather at a loss when it comes to separating the GUI-related
data from the non-GUI data.
For example, a Note might have certain attributes. But a NoteWidget, which
would know about a Note, would have different (GUIish) attributes.
But I'm a little uncomfortable with this separation, and I always end up
with a certain tangling anyway.
How do you handle this sort of issue?
Hal