[fpc-pascal] Syntax changes suggestions

Martin fpc at mfriebe.de
Tue Jul 17 22:48:57 CEST 2018


> On 07/17/18 11:50, Ryan Joseph wrote:
>>
>> If lots of programmers using main stream languages like c++ are 
>> having a similar problem we are I think it’s incumbent for Pascal to 
>> at least consider if there is merit to the concern.
>>
>

So if a lot of programmers find it bad to have to much freedom, then it 
is good if it is restricted?

Because take JavaScript, well there freedom of declaring variables is 
even less restricted, than was asked for in this thread.
But it seems that many JavaScript developers got frustrated with that. 
So much that the now have external tools to restrict that freedom

http://www.adequatelygood.com/JavaScript-Scoping-and-Hoisting.html
https://eslint.org/docs/rules/vars-on-top

This is not directly related to the original post/request.
But it shows that the statement quoted on top is severely dangerous.

Just because another language has a feature, or even because many use it 
(where it is not know what expertise those have, nor how many do not use 
it)...
Just because any of this, does by no means indicate that such a feature 
is any good at all.

Just because c++ has the feature does not mean that it solves any 
problem that c++ programmers would otherwise have. It can same as good 
mean the opposite.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20180717/4d4850e5/attachment.html>


More information about the fpc-pascal mailing list