When you can get an app for everything why would you want to code your own?
The first reason you might want to learn to program is to make some money. Either by working for an employer or by selling your own products.
Maybe you are already working in a technical environment and you need a utility to solve some problem or to make life easier by creating software to carry out a repetitive task.
Whatever the reason, you will soon discover that creating working software is just fun. The utilities you create work exactly the way you designed them. If a feature is missing you can add it straight away without having to wait for someone else to publish a “new” version. None of this compares with the joy of seeing other people using your software either for pleasure or helping them do their job better.
Learning to program is continuous learning curve but you can get results quickly by just making a start. We will primarily use Lazarus although some Delphi projects are included. The beginner will probably wish to work through my projects in the order that I publish them. If you have some coding experience then pick a project that interests you and see if you can improve it. Please contact me and submit improved versions or new projects to make this web site better.
Lets get started...
I like to create a folder with sub-folders for the code
of all my projects to keep it all together for easy backup.
On a Mac or Linux this will be in your home folder. On Windows I like to keep the folder in the root of my “C:” drive however a folder in “My Documents” is just fine.
If you work as a programmer (developer) for a software house or contribute to an open source project, you must conform to the “house style”.
The novice is strongly urged to learn and comply with accepted way of formatting code to make it easier to read and maintain by other developers. Unless you have a good reason to use another style then this one as used in Delphi is strongly recommended.
Now is the time to start with one of my projects. The “Family Tree” project is a good place to start as it shows you how to plan, create and design a new project; get familiar with the Pascal language syntax and pick up some useful tips on the way.