很明显,我可以只使用一个SELECT INTO为了解决这个问题,但我认为这将是冷静,做一行。
Obviously I could just use a SELECT INTO to resolve this, but I thought it would be cool to do in just one line.
您可以这么做,有时也必须这么做,但一行程序可以重用。
You can, and sometimes you should, but one-liners are about reuse.
随后她会很好奇地问起自己的新爱人是做哪一行的。
And then she be would be curious about what her new intended did.
It's 71 or whatever so that if condition doesn't apply, but now what do I do in this next line?
它似乎71或者其它的,如果条件不适用,在下一行我做了什么?
I just realized that education was kind of the path that I wanted to go on.
最后意识到我想接着做教育这一行。
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.
如果你在写一个一行的函数,它唯一的目的是,做加法,显然这是关于加法的,好的,实际上,用一个短的标识符是合理的,像,但是我必须指明它的类型。
应用推荐