On Fri, 25 Jan 2013, Mattias Gaertner wrote:


Michael Van Canneyt <mich...@freepascal.org> hat am 25. Januar 2013 um 09:26
geschrieben:
[...]
You are totally missing the point.

Finding a use case to justify a feature is not difficult.
I could probably find some more use cases to justify other 'missing features'.

The point is: it is not because it can be done, that it must be done.

The point is that with every 'feature' added, the language becomes
more and more ugly.

My main worry is that Object Pascal, which used to be a beautiful,
easy to learn language is becoming a horrible, complicated, monster of a
langauge.

In general: +1

Even the common syntax highlighters have trouble. I don't know if Delphi's
syntax highlighter understand their language fully.

Bah. The Delphi IDE does not even understand include files.


But I must admit the for-in-loop makes code easier to read. I see it with
beginners and people coming from other languages. They instantly understand it
and use it.

I believe that. In it's simple form, it is indeed easy to understand and use.

Of course this is only about the loop itself, not how an enumerator is
created/declared. That is difficult to understand.

I agree. What is more, the way Delphi introduced it is simply braindead.

In this case, I think that the FPC alternative (operator enumerator) is more 
easy and more pascal-ish.

Michael.
_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to