单词 "target" 和 "dest" 之间有什么不同

What's different between words "target" and "dest"

我正在编写一个函数,只是将一些属性从一个复制到另一个:

function copyProperties(one, another){
    //...
}

但是当我命名这两个参数时我感到困惑:

source and dest

source and target

我知道这有点可笑,但我还是想帮忙...

dest 表示 Destination
target 只是 Target

单词 "destination" 的定义是(根据 google)

The place to which someone or something is going or being sent.

"target" 的定义是

An objective or result towards which efforts are directed.

所以在我看来,您应该将此函数的参数命名为 dest,因为您正在向那里复制(发送)那些属性。