Re: [fpc-pascal] Be careful of too many features

2022-05-30 Thread Hairy Pixels via fpc-pascal
> On May 31, 2022, at 9:12 AM, Steve Litt via fpc-pascal > wrote: > > I think function references and to a lesser extent anonymous functions > are necessities. Things I consider Perlization are things like > inferring context of the receiving function, "Sort( @(left, right) > begin", and

Re: [fpc-pascal] Be careful of too many features

2022-05-30 Thread Steve Litt via fpc-pascal
Brian via fpc-pascal said on Mon, 30 May 2022 22:36:00 -0400 >On 5/30/22 14:59, Steve Litt via fpc-pascal wrote: >> Hi all, >> >> In 1984 I started my programming career with Whitesmith Pascal, > >Sorry for the off-topic post, folks, but this just opened a wound from >my distant past... :( >

Re: [fpc-pascal] Be careful of too many features

2022-05-30 Thread Brian via fpc-pascal
On 5/30/22 14:59, Steve Litt via fpc-pascal wrote: Hi all, In 1984 I started my programming career with Whitesmith Pascal, Sorry for the off-topic post, folks, but this just opened a wound from my distant past... :( I was a couple of years ahead of you, Steve, but at least in 1982 on the

Re: [fpc-pascal] Be careful of too many features

2022-05-30 Thread Steve Litt via fpc-pascal
Hairy Pixels via fpc-pascal said on Tue, 31 May 2022 08:39:20 +0700 >> On May 31, 2022, at 1:59 AM, Steve Litt via fpc-pascal >> wrote: >> >> The example code I've seen in the "Feature Announcement: Function >> References and Anonymous Functions" not only doesn't look like any >> Pascal I've

Re: [fpc-pascal] Be careful of too many features

2022-05-30 Thread Steve Litt via fpc-pascal
Sven Barth via fpc-pascal said on Mon, 30 May 2022 23:25:52 +0200 >Steve Litt via fpc-pascal schrieb am >Mo., 30. Mai 2022, 21:25: > >> With the addition of callback functions, and the closures and events >> they bring to the table, you can go procedural, OOP, or to a degree >> functional. I

Re: [fpc-pascal] Be careful of too many features

2022-05-30 Thread Hairy Pixels via fpc-pascal
> On May 31, 2022, at 1:59 AM, Steve Litt via fpc-pascal > wrote: > > The example code I've seen in the "Feature Announcement: Function > References and Anonymous Functions" not only doesn't look like any > Pascal I've ever seen, but it resembles Perl (the "one language on a > desert island"

Re: [fpc-pascal] Be careful of too many features

2022-05-30 Thread Sven Barth via fpc-pascal
Steve Litt via fpc-pascal schrieb am Mo., 30. Mai 2022, 21:25: > With the addition of callback functions, and the closures and events > they bring to the table, you can go procedural, OOP, or to a degree > functional. I think adding yet more features obfuscates and Perlizes > Pascal. > We are

Re: [fpc-pascal] Be careful of too many features

2022-05-30 Thread Steve Litt via fpc-pascal
Rainer Stratmann via fpc-pascal said on Mon, 30 May 2022 21:22:48 +0200 >Am Montag, 30. Mai 2022, 20:59:56 CEST schrieb Steve Litt via >fpc-pascal: >> I think adding yet more features obfuscates and Perlizes >> Pascal. > >What does Perlize mean? Perlize means to outfit a language with many

Re: [fpc-pascal] Be careful of too many features

2022-05-30 Thread Rainer Stratmann via fpc-pascal
Am Montag, 30. Mai 2022, 20:59:56 CEST schrieb Steve Litt via fpc-pascal: > I think adding yet more features obfuscates and Perlizes > Pascal. What does Perlize mean? Only a very little percentage of the code is using it. And you could easily do it in another way. I also don't like make things

[fpc-pascal] Be careful of too many features

2022-05-30 Thread Steve Litt via fpc-pascal
Hi all, In 1984 I started my programming career with Whitesmith Pascal, and soon after Turbo Pascal 3, then C. C had the advantage of pointers to functions, Pascal had the advantages of better readability and less likelihood of errant pointers and buffer overruns. I did a little work with Object

Re: [fpc-pascal] Feature Announcement: Function References and Anonymous Functions

2022-05-30 Thread Bart via fpc-pascal
On Mon, May 30, 2022 at 7:25 AM Sven Barth via fpc-pascal wrote: > === code begin === > > Sort(lamba (left, right) as > if left < right then -1 > else if left > right then 1 > else 0); > This doesn't look like Pascal at all. I definitively hope this is not the future of our beautiful