Re: [fpc-devel] Some thoughts on multi-line string support, and a possible syntax that I think is perfectly clean and Pascal-ish.

2019-07-03 Thread John Doe
On Wed, Jul 3, 2019 at 4:20 PM Ben Grasset wrote: > const SA = ` > This is a multiline > string using hypothetical backticks. > Imagine it was fully syntax-highlighted > like normal strings and the comment > above are. > `; > That would be great to have! I've definitely wanted somethin

Re: [fpc-devel] Thoughts on being able to declare "pointer-to-type" parameters directly in method signatures?

2019-06-09 Thread John Doe
Personally I'd LOVE to see be possible. I'm pretty sure just about every Pascal developer out there has wanted to be able to do that kind of thing at some point. It's not like there's any real downsides to it either that I can think of. It doesn't make code harder to read. It's not ambiguous (beca

Re: [fpc-devel] Fppkg

2019-02-05 Thread John Doe
On Tue, Feb 5, 2019 at 3:55 PM Ben Grasset wrote: > Do people actually use fppkg for anything? > I've also been a bit confused about the recent Lazarus FPPKG work. As far as I can tell all FPPKG itself actually does is connect to a repository that contains roughly five outdated packages? Is ther

Re: [fpc-devel] Looking for clarification on what I think are obviously missing "const" prefixes for parameters in the methods of TRect (the typshrdh.inc one)

2019-01-26 Thread John Doe
On Sat, Jan 26, 2019 at 7:44 PM Sven Barth via fpc-devel < fpc-devel@lists.freepascal.org> wrote: > Changing this behavior would not only be a backwards incompatibility, but > would also violate the ABI which describes how records shall be passed. > On second thought, I definitely agree with you

Re: [fpc-devel] Looking for clarification on what I think are obviously missing "const" prefixes for parameters in the methods of TRect (the typshrdh.inc one)

2019-01-26 Thread John Doe
Not the right person to give a qualified answer to your question, but bare record parameters in method signatures are kind of a problem throughout various parts of the standard FPC and Lazarus libraries, I've noticed. It almost makes me think the either the compiler should perform the kind of opti