In the german language there is a Proverb for something like that: "Verschlimmbessern" (I have no idea how to translate that into english
The Internet English translation of that word is "improveworsement".
Это означает ухудшить.
Eng: It means to worsen.
---------------------------------------------------------------------------
Извиняюсь, изначально не читал с чего всё началось.
Не стоит многое изменять во FreePascal.
Первоначальная причина: это язык достаточно прост для изучения и позволяет не наделать ошибок новичкам.
Вторая причина: далеко не все "улучшения" - это улучшение!!! Каждый раз, когда что-то хотят внести новое - надо десять раз подумать и решать ("семь раз отмерь, один раз отрежь").
Не стоит ровняться на другие ЯП! От слова "совсем"! Не всё, что есть в других языках - хорошо!
Язык паскаль, достаточно хорошо читается начинающим программировать, а впоследствии, уже становится не так важно, как это выглядит. Скобки это или
begin/end.
Да, в некоторых случаях очень удобно одновременно объявить переменные и задать им данные.
Удобно взять и "множеству" переменных присвоить одно значение.
Но! Давайте посмотрим на это со стороны программирования! Каждый, кто так будет делать, со временем не будет понимать, что происходит в программе. Будет забывать как это должно происходить в коде и будет пользоваться "тем, что легче". Как итог, как программист такой человек будет деградировать. А код, создаваемый такими людьми, будет расти.
Я ориентируюсь на основную массу людей, что сейчас идут в программисты. Лично я считаю, что большую часть надо сразу отсеивать и отправлять пользоваться конструкторами. И когда человек уже сам захочет углубиться в программирование, то "милости просим".
google translate:
I apologize, initially I did not read how it all started.
Don't change a lot in FreePascal.
The original reason: This language is easy enough to learn and avoids making mistakes for beginners.
The second reason: not all "improvements" are improvements !!! Every time they want to introduce something new - you have to think and decide ten times ("measure seven times, cut once").
Do not be equal to other programming languages! From the word "absolutely"! Not everything in other languages is good!
The Pascal language is readable enough for beginners to program, and later, it becomes not so important as it looks. The parentheses are either
begin/end.
Yes, in some cases it is very convenient to simultaneously declare variables and set data to them.
It is convenient to take and assign one value to a "set" of variables.
But! Let's look at this from the programming side! Anyone who does this will eventually not understand what is happening in the program. He will forget how it should be done in the code and will use "what is easier". As a result, as a programmer such a person will degrade. And the code these people write will grow.
I am guided by the bulk of people who are now going to be programmers. Personally, I think that most of it should be immediately sifted out and sent to use the constructors. And when a person himself wants to delve into programming, then "you are welcome."