[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Why not push?
From: |
Rasmus |
Subject: |
Re: [O] Why not push? |
Date: |
Sun, 15 Feb 2015 12:35:35 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
Marcin Borkowski <address@hidden> writes:
> Hi there,
>
> I don't want to be nitpicking, but I'm just curious. I'm looking at the
> function `org-split-string'. It uses (two times) the following
> construction:
>
> (setq list (cons (something) list))
>
> Is there any particular reason for not using `push' there?
These days you even have split-string in subr which you can make behave
like org-split-string.
Oh, and there's all the cl re-implementations... I like org-some better
than cl-some just cause it sounds nice when you say it (try):
org (tiny pause) some.
—Rasmus
--
When in doubt, do it!
Re: [O] Why not push?,
Rasmus <=
Re: [O] Why not push?, Sebastien Vauban, 2015/02/16