Save last window position & window size
Saving and restoring the window state across sessions is a useful feature, so the App can be reopened right to where the user left off.
How to code it
"Since applications know best what their state and geometry are – and whether, or how, those should be applied once the application is launched – it’s better to have this function near the code that creates the application window itself."
What do you think?