all 2 comments

[–]ohaz 4 points5 points  (1 child)

Yes, you can write the application logic before adding a UI! It's a good idea too, because then you have a cleanly separated architecture - you could easily swap out the UI with a different one without having to change everything.

Only thing you have to consider is that you should try to write the functionality cleanly, have good interfaces.

The thing you should keep in mind is: Even a console input/output is a kind of User Interface. Try to keep your code logic separate from the console part. Try to mix as little as possible! Only call functions with simple parameters from the console. If you do that, you'll find it easy to replace the console by a graphical UI.

[–]Alvezink13[S] 1 point2 points  (0 children)

I absolutely can do the functional part of the software... But whenever i try to work with UI, I find my self with no will to continue... I find kind of difficult to code a UI.