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


Groups > comp.programming > #3161

Re: Which function names to choose?

From Jacob Sparre Andersen <sparre@nbi.dk>
Newsgroups comp.programming
Subject Re: Which function names to choose?
Date 2013-03-13 06:19 +0100
Organization Jacob Sparre Andersen Research & Innovation
Message-ID <871ubjri4n.fsf@adaheads.sparre-andersen.dk> (permalink)
References <khnf5u$66i$1@speranza.aioe.org> <37bd7e7e-679b-4801-9a50-0ec2d27adb1c@googlegroups.com>

Show all headers | 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