Re: [fpc-pascal] Underscores in numerical literals - grouping
Yet another daft idea from java. Is there any other place in any language (programming or natural) where underscored are used in this way? Any long list of digits will represent a string anyway. My library card had a field with 9 digits, but that sure ain't a number. On 22/11/2016 3:46 am, "Graeme Geldenhuys" wrote: > I don't know about you, but I like this idea implemented in Java 7 and > later. > > http://jasdhir.blogspot.co.uk/2016/11/using-underscores-in-literals.html > > > I always find it hard to read long numeric literals. > > > Alternatively, without needing compiler changes, the IDE's and > programmer editors should become more clever in how they display source > code (think Elastic Tabstops), and automatically display numeric > literals with slight increase in [render] spacing between certain number > groups. Binary literals could be grouped every eight digits, whereas Hex > could be grouped every 4 and Decimals every 3 digits. The age old rule > of programmer source code always being in a mono-spaced font is > ridiculous for this day and age. > > Regards, > Graeme > > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal
Re: [fpc-pascal] docs
I've been programming a long time but when I first took up with Lazarus and FPC there were three issues: - out of date documentation. - for many topics (for example in the LCL) there is formal documentation but not tutorial material. - distros sometimes have quite old versions in their repos. For example my opensuse machine right now is offering Lazarus 2.2. [ fpcupdeluxe was invisible at the time. And on a single monitor machine, trunk version 3.9.9 with its greatly improved docked interface is a blessing. ] Addressing these issues is vital to attract new users. I'm happy to help anyone writing updated tutorial material. On Mon, Oct 21, 2024 at 11:52 AM ppadilcdx--- via fpc-pascal < fpc-pascal@lists.freepascal.org> wrote: > Apropos the new users discussion, i think the state of the docs is really > important, new users can be discouraged by lack of documentation or > up-to-date docs. > I just recently retired so not a new young user, but relatily new to fpc. > So, I’m willing to help update the docs, correct typos, etc, if someone > points me in the right direction. > > Regards > Pete > ___ > fpc-pascal maillist - fpc-pascal@lists.freepascal.org > https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal > ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal