[snip]...pascal syntax is not good not use...[snip]
It's a bit "raw", as a judgment.
You can't say that Pascal's syntax is bad, since it's rich enough to, and allow you to
write dll\so that can be used by other applications, and allow you to
use dll\so already written in C\C++ (
used\called by Python too, and Php, ...). The "price to pay" for this capacities, is probably to learn the knowledge of the pointers, present in these 2 languages (C and Pascal).
In short, who can do the most, can do less... but we can't say the opposite.
[snip]...and the Lazarus Code editor seems not modern...[snip]
I don't know exactly what you call a "modern" IDE (it's a "fuzzy" judgment), but I suggest you:
- to install this package: anchordockingdsgn.lpk .
- and read this wiki:
https://wiki.lazarus.freepascal.org/Anchor_Docking (there are screenshots showing different examples of possible IDE configurations).
In doing so, you must be able to configure the IDE in the most useful way, "that maybe will suits to your needs".
I donot like the begin end in if condition
Indeed, the traditional indentation in Pascal creates "superfluous" lines, *amo*. You could indent like this (in the same way as the C):
if () and () or () then begin
.../...
end
else if () and () or () then begin
.../...
end
else begin
.../...
end;