I beg to differ. Read Niklaus' work on why he created Pascal: two objectives stand out : readability and ease-of-compiling. He wrote explicitly he wanted a language he could easily write his compiler in...
Sorry rigidity is not part of the original Pascal mandate. Look at Modula and the more recent Active Oberon language, you'll see objects are not in contradiction with those goals that Niklaus had. Units neither. Generics neither. Pointer (typed) neither. Anonymous functions (or anonymous whatever) is another debate: as i wrote previously, if you can't name it, you can't design it... Pascal is all about good design, visible in the code, readable. 90% of the time a developer reads code, usually somebody else's. This is a well-known statistic. If Pascal optimizes my reading time, I'm all for it! If the new features conform to the readability and ease-of-compiling principles, then go for it! We shouldn't dwell on the Pascal of the early 1970's. I'm fed up of seeing comparisons of 2012 C++ with 1970 Pascal... Keep up the good work, fpc team! Best regards, Thierry ----- Mail original ----- De: "Arioch" <arioch...@gmail.com> À: fpc-pascal@lists.freepascal.org Envoyé: Jeudi 30 Août 2012 10:04:08 Objet: [fpc-pascal] Re: Delphi's anonymous functions in Free Pascal Ralf A. Quint wrote > > At 12:09 AM 8/30/2012, michael.vancanneyt@ wrote: >>They are IMHO a negation of what pascal stands for. If your programming > +1 > Well, the same should be told about everything modern pascal is. Open and dynamic arrays, pointer math, objects, generics, even units. It was all breaking the initial Pascal strictness and rigidness. Because what was counted "large blocks" deserving their own explicit naming back then - now seems trivial small detail. Generics are alien to Pascal no more no less than closures. -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Delphi-s-anonymous-functions-in-Free-Pascal-tp4911527p5711052.html Sent from the Free Pascal - General mailing list archive at Nabble.com. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal