Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.programming > #3161

Re: Which function names to choose?

Path csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!nuzba.szn.dk!news.jacob-sparre.dk!munin.jacob-sparre.dk!pnx.dk!.POSTED!not-for-mail
From Jacob Sparre Andersen <sparre@nbi.dk>
Newsgroups comp.programming
Subject Re: Which function names to choose?
Date Wed, 13 Mar 2013 06:19:52 +0100
Organization Jacob Sparre Andersen Research & Innovation
Lines 21
Message-ID <871ubjri4n.fsf@adaheads.sparre-andersen.dk> (permalink)
References <khnf5u$66i$1@speranza.aioe.org> <37bd7e7e-679b-4801-9a50-0ec2d27adb1c@googlegroups.com>
NNTP-Posting-Host 79.138.242.230.bredband.3.dk
Mime-Version 1.0
Content-Type text/plain; charset=us-ascii
X-Trace munin.nbi.dk 1363151993 8238 79.138.242.230 (13 Mar 2013 05:19:53 GMT)
X-Complaints-To news@jacob-sparre.dk
NNTP-Posting-Date Wed, 13 Mar 2013 05:19:53 +0000 (UTC)
User-Agent Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux)
Cancel-Lock sha1:/wGtJYsPi/2JMown0pgsWBKHJ/M=
Xref csiph.com comp.programming:3161

Show key headers only | View raw


bob wrote:
> Victor Porton wrote:

>> I am going to create two functions:
>> 
>> [...]

>> What are the best names for functions 1 and 2?

> I would call them both add and use overloading.

I would call them both Append and use overloading. - If you describe
them as "Append ...", that is most likely the name you will understand
the next time you look at the code.

Greetings,

Jacob
-- 
"Problems worthy of attack
 prove their worth by hitting back" -- Piet Hein

Back to comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Which function names to choose? Victor Porton <porton@narod.ru> - 2013-03-12 16:47 +0200
  Re: Which function names to choose? bob <bob@coolfone.comze.com> - 2013-03-12 12:22 -0700
    Re: Which function names to choose? Jacob Sparre Andersen <sparre@nbi.dk> - 2013-03-13 06:19 +0100
  Re: Which function names to choose? malcolm.mclean5@btinternet.com - 2013-03-16 06:03 -0700

csiph-web