unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Clément Pit-Claudel" <cpitclaudel@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: customize hideshow.el?
Date: Mon, 14 Aug 2017 06:44:50 +0200	[thread overview]
Message-ID: <767f9dfe-3c49-23bd-4ee2-eb6cbb6f78da@gmail.com> (raw)
In-Reply-To: <CAP_d_8Uxy3pM43MJS9fvyj52a8YdOorbvqh_6w7MepOO3d5inQ@mail.gmail.com>

On 2017-08-13 18:58, Yuri Khan wrote:
> You can treat the symptom with a painkiller such as hideshow. But the
> root cause is better treated by extracting a
> function/procedure/subroutine.

The OP seems to be refactoring existing code, so I'm not sure what this comment is getting at :/

Sure, ideally all code would be clean and nice and there would be no need for tools that work around ugly code.  In practice, though, it's hard to get people to agree on exactly what clean and nice code is, and many of us end up reading a lot of code they didn't write, cannot change, and don't necessarily like.  In these cases, "treating the symptoms with hideshow" sounds like a very reasonable approach.

Clément.






  reply	other threads:[~2017-08-14  4:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-08-13 16:46 customize hideshow.el? Stephen Leake
2017-08-13 16:58 ` Yuri Khan
2017-08-14  4:44   ` Clément Pit-Claudel [this message]
2017-08-13 17:15 ` Eli Zaretskii
2017-08-13 19:35   ` Stephen Leake
2017-08-27 12:07     ` Stephen Leake

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=767f9dfe-3c49-23bd-4ee2-eb6cbb6f78da@gmail.com \
    --to=cpitclaudel@gmail.com \
    --cc=emacs-devel@gnu.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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).