emacs-devel
[Top][All Lists]
Advanced

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

Re: complexity in minibuffer


From: João Távora
Subject: Re: complexity in minibuffer
Date: Wed, 2 Jun 2021 17:29:12 +0100

> This sounds like an unnecessary mutation
> of the candidates and it is more complicated.

This is what I value:

- Rendering is less coupled to state or extra function arguments so
  it's good for debugging, unit testing and eventually rewriting the
  completion data structures.
- Each of the intervening rendering functions has less code.

You may deem the above "unnecessary", that's fine.  I find it useful
and _less_ complicated as a whole.

> If you ask me, threading the argument down is the better approach.

You have made that abundantly clear many times now.

João



reply via email to

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