I've never heard of Lazarus but it sounds like an implementation of Pascal.
If you are already into Pascal, that's fine, but having used it myself at one time I found Pascal very frustrating. It is very, very fussy about the order that your code is in. Fix one bug and it results in five new ones, I found.
I believe it originated as a teaching tool to force students to use structured code, which is why the compiler nags you so much.
Maybe Lazarus is different though ......
Unsolved mysteries of the Universe, No 13 :-
How many remakes of Anna Karenina does the World need?