From: Noam Postavsky <npostavs@gmail.com>
To: Alan Mackenzie <acm@muc.de>
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
Emacs developers <emacs-devel@gnu.org>
Subject: Accessor functions vs nth (WAS: Decoded time accessors)
Date: Mon, 8 Jul 2019 20:12:04 -0400 [thread overview]
Message-ID: <CAM-tV-8SBf1m-q5ckGCsrVr76tsaYMQArXqdEuZMsQViYHkHuw@mail.gmail.com> (raw)
In-Reply-To: <20190707214326.GD4053@ACM>
On Sun, 7 Jul 2019 at 17:43, Alan Mackenzie <acm@muc.de> wrote:
> I disagree. All these "readability hacks" greatly increase the number
> of functions a hacker must cope with, and greatly increase their
> complexity (they require cl-... macros, many of which are poorly
> documented).
>
> We've coped now with (nth 8 state) (for the starting position of a
> string or comment) for decades now without any problems. The sort of
> "readability hack" proposed, as it is steadily proliferated, makes the
> entry barrier for new Elisp programmers steadily higher. To use it is
> one extra thing which has to be learned, or looked up.
> This sort of complication needs to be kept in check. But thanks, Lars,
> for actually having the consideration to ask here first.
Huh. I'm constantly annoyed at the (nth 8 state) thing, because I can
never remember which number is which. In fact, I had meant to propose
some accessors in Bug#32504. It didn't actually occur to me that this
might be at all controversial, the only reason that bug sat for a
while is that I got busy with other things.
https://debbugs.gnu.org/32504#51
next prev parent reply other threads:[~2019-07-09 0:12 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-07 19:33 Decoded time accessors Lars Ingebrigtsen
2019-07-07 19:52 ` Paul Eggert
2019-07-07 20:09 ` Lars Ingebrigtsen
2019-07-07 21:43 ` Alan Mackenzie
2019-07-07 22:20 ` Lars Ingebrigtsen
2019-07-07 22:25 ` Clément Pit-Claudel
2019-07-08 14:41 ` Eli Zaretskii
2019-07-09 0:12 ` Noam Postavsky [this message]
2019-07-10 10:02 ` Accessor functions vs nth (WAS: Decoded time accessors) João Távora
2019-07-29 12:29 ` Decoded time accessors Lars Ingebrigtsen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAM-tV-8SBf1m-q5ckGCsrVr76tsaYMQArXqdEuZMsQViYHkHuw@mail.gmail.com \
--to=npostavs@gmail.com \
--cc=acm@muc.de \
--cc=emacs-devel@gnu.org \
--cc=larsi@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.