Naming
Table of Contents
Ask yourself
- Will a newcomer understand the meaning of the name?
Alternatives
| General | Specific |
|---|---|
send |
deliver, dispatch, announce, distribute, route |
find |
search, extract, locate, recover |
start |
launch, create, begin, open |
make |
create, setup, build, generate, compose, add, new |
filter |
select, exclude |
delay |
delay_secs |
size |
size_mb |
limit |
max_kbps |
angle |
degrees_cw |
password |
plaintext_password |
html |
html_utf8 |
data |
data_urlenc |
Contrasts
existing vs. extant
existingcould be relatively new.extantmeans something that has existed for a long time, that has not been destroyed.
indices vs. indexes
indices: a plural form of a scientific numberindexes: a plural form of a database index
plannedat vs. scheduledat
planned_at: for a placeschduled_at: for a specific time
version vs. revision
versionis mostly used in softwarerevisionis a noun form ofrevise, more general- In some sense,
reivisionstands for a major release, whileversionstands for small changes.
min,max vs. first,last vs. begin,end
- [
min,max]: inclusive limits - [
first,last]: incluslive range - [
begin,end): inclusive at first, exclusive at last
Antonyms
| A | B | Note |
|---|---|---|
parse |
compose, serialize, unparse |
stackoverflow |
min |
max |
[min, max], inclusive limits |
first |
last |
[f, l], incluslive range |
begin |
end |
[b, e], inclusive at begin, exclusive at end |