[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RFC] Getting rid of `def'

From: Jose E. Marchesi
Subject: Re: [RFC] Getting rid of `def'
Date: Sat, 07 Nov 2020 18:50:16 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

>> I can see a couple of advantages:
>> a1) It would shorten the size of programs, and also make them easier to
>>     read.
>> a2) Since Poke is used interactively, having shorter names is a plus.
> Forgot to mention another advantage:
> a3) Using the var, fun, type, ... form matches better with `method'.

I pushed a branch jemarch/nodef to savannah with the proposed change, to
get a taste on how the new keywords look and feel.  See pickles/*.

I can say that IMO the code looks better now, and it is certainly more
compact.  The only annoyance I found is that in one of the pickles
(btf.pk) there were several structs having fields named `type'.
However, more natural terms came to mind for these fields, in this

Aurelien, can you please check etc/poke-mode.el and make sure the
changes are ok for the Emacs mode?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]