As a beginner i thought that i can sit and write a program. I have lately learned hard way that programming doesn’t work that way. After that mess i decided that in future i never write anything without a plan (even a short one). Every application has to be planned if it has to work properly. After a short research i found an Umbrello UML

Use case diagram

Modelling application which might be very useful even without knowing whole UML language. I have been able to model a basic application structure and to generate a source code of my application. I hope that now it will be much more orderly.Like in most tutorial is written I started from creating a use case diagram and working scenario. They help to define all users of the application, users input and application behaviour. Scenarios helps to define data and control flow. After that i started preparing a class diagram.After I defined all classes (probably not 🙂 i just generated source code. Of course every class needs implementation but this way everything should be more orderly I hope.

I learned important lesson here – ALWAYS PLAN YOUR CODE 🙂

Leave a Reply