But let's suppose that I realize that I'm doing a lot of addition in my programs, and I actually want to factor out what seems to becoming a lot of copy, paste.
但是假如我在程序中做了很多加法,我实际上想要提出那些,复制粘贴的东西。
If you're writing a one line function, whose sole purpose in life is addition, and, clearly, this is about addition, well, then it's, in fact, A reasonable to use a shorter symbol like A, but I do have to specify it's type.
如果你在写一个一行的函数,它唯一的目的是,做加法,显然这是关于加法的,好的,实际上,用一个短的标识符是合理的,像,但是我必须指明它的类型。
It doesn't matter the sequence in which you add the two vectors.
在做两个矢量的加法时无所谓相加的顺序
As Dero says, " "soul grows more by subtraction than by addition", by getting rid of these limitations, limitations that are preventing us from fulfilling our potential.
就像俗话说的那样,“做减法比做加法让灵魂成长得更快,减法包括除去那些,阻碍我们发挥潜能的限制。
应用推荐