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


Groups > comp.programming > #3158

Which function names to choose?

From Victor Porton <porton@narod.ru>
Newsgroups comp.programming
Subject Which function names to choose?
Followup-To comp.programming
Date 2013-03-12 16:47 +0200
Organization Aioe.org NNTP Server
Message-ID <khnf5u$66i$1@speranza.aioe.org> (permalink)

Followups directed to: comp.programming

Show all headers | View raw


I am going to create two functions:

1. Append to the list of items (actually the list of children of a HTML DOM 
node) with an item initialized with a default value.

2. Append to the list of items (actually the list of children of a HTML DOM 
node) with an item initialized with specified values.

What are the best names for functions 1 and 2?

I think "add"<->"append" not sure which of these is 1 and which is 2.

-- 
Victor Porton - http://portonvictor.org

Back to comp.programming | Previous | Next — 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