need to do 和 need do的区别

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了need to do 和 need do的区别相关的知识,希望对你有一定的参考价值。

need to do 表示主语与need这个动作是主动关系,\r\n如:I need to go now.我现在需要离开了。\r\n而need doing sth表示主语与need这个动作是被动关系,\r\n例如:The windows need cleaning.窗户需要清扫。 参考技术A

need to do和need do的区别为:意思不同、用法不同、词性不同。

一、意思不同

1.need to do:需要做

2.need do:必须做的

二、用法不同

1.need to do:need用作实义动词的基本意思是缺少急切需要的东西,强调急需。need是及物动词,可接名词、代词、动词不定式、动名词作宾语,也可接以动词不定式或过去分词充当补足语的复合宾语。

2.need do:need用作情态动词时没有人称、时态及语态的变化,后面须接不带to的动词不定式一起用作谓语,表示“必须,必要”。一般只用于否定句或疑问句中,也可用于含有否定意味的肯定句中。

三、词性不同

1.need to do:need to do中need一般是实意动词。

2.need do:need do中的need是情态动词。

参考技术B need有2种词性
1,情态动词 就是你说的need do
2,实意动词 就是need to do
这两个都可以用,都是正确的,所以在肯定句中看不出区别
一般做题是从否定句中看出来的
1,needn't do
2,doesn't/don't need to do
这两种都是正确的
以下是一些干扰选项,都是错误的
needn't to do
doesn't/don't need do
因为它们混淆了情态动词与实意动词
needn't 是把need 看作情态动词,后面就不能再用to了
而dosen't/don't则把need看作实意动词,而后面加do,又相互矛盾.
need to do ; need doing ; need do的区别:
need to 作情态动词,通常用于疑问句、否定句、条件句、 whether(if) 名词从句或含否定意义的句子中。如:
I do not see why we need discuss it further.
我看我们没有必要讨论下去了。
That's all settled. It needn't be talked about.
那已全部解决了,没有必要再说了。
He asked me whether he need attend the meeting?
他问我他是否有必要出席这次会议?

2. need 又是实义动词,各种变化和用法与普通实义动词相同。如:
They need a rest after a long walk.
长距离行走后他们需要休息一下。
I need you to work for me, young man!
小伙子,我需要你为工作。

3. need 接动名词主动形式,表示被动意义、这时动名词和主语之间有动宾关系, need doing 可转换为 need to be done 结构,意思相同。如:
My hair needs washing badly. (= My hair needs to be washed badly.)
我的头发非常需要洗一洗。
The garden needs watering. (=The garden needs to be watered.)
花园需要浇水。
  
参考技术C need的用法讲解,供参考:

一、作情态动词

1.need作情态动词无人称或数的变化, 后接动词原形,多用于否定句和疑问句中。如:You needn't worry.你不必担心。

2.由need引出的一般疑问句,肯定回答常用must或have to;否定答语常用needn't. 如:

—Need I answer the question? 我需要回答那个问题吗?

—Yes, you must. /Yes, you have to.是的,你必须回答。/是的,你得回答。/No, you needn't.不,不必了。

3.由must引出的一般疑问句,肯定回答用must,否定答语用needn't或don't have to。如:

—Must I do the work now? 我必须现在干这个活吗?

—Yes, you must /have to.是的,你必须做。/No, you needn't /don't have to. 不,你现在不必做。

二、作行为动词

need 作为行为动词有人称和数的变化, 后面可接名词、代词、动名词及带to 的动词不定式;可用于肯定句、疑问句和否定句中,如:

She needs help.她需要帮助。

I don't need to see the doctor.我不需要看病。

—Do you need to go at once? 你需要马上走吗?

—Yes, I do.是的,我得马上去。

—No, I don't.不,不用马上走。

need的用法:

(1)need表示“需要”、“必须”。作为情态动词主要用于否定句和疑问句,无时态,人称变化,后面跟动词原形。其否定式为:need not(needn’t)。如:

You needn’t try to explain. 你不需要解释。

Need we stay here this evening? 今晚我们需要在这儿住下来吗?本回答被提问者和网友采纳
参考技术D need do 和need to do的意思是一样的,一个是情态动词用法,一个是实意动词用法。need to do:need用作实义动词的基本意思是缺少急切需要的东西,强调急需。need do :一般只用于否定句或疑问句中,也可用于含有否定意味的肯定句中。

why do we need, what advantages to use mongoose

question:

I have just started up with mongodb and i recently gone through Mongoose, an ODM framework.

On the documentation, i couldn‘t find why we need to use Mongoose. One reason i can give is we can define application schema from Mongoose.

I am looking for more possible reasons, and needs that will attract me to use Mongoose.

Please list all possible advantages and reasons/needs why use Mongoose.

some voice:

(1)、Main advantage is abstraction on top of pure mongo.

Many developers come from SQL database types, and feel very uncomfortable working with dynamic collections that have no any structure defined. So Schemas in first place helps with that.
Additionally to that it implements validation and other neat features in order to make sure your schema is well satisfied when inserting/updating/finding documents from collections.

It as well creates Model abstraction which makes it easier to work with, so it looks like you are working with just objects rather than pure data.

There is more concepts like middlewarepluginspopulationvalidation and more, please check here: http://mongoosejs.com/docs/guide.html

Personally, I prefer mongo-native as it is more consistent with official 10gen mongo docs and does not creates abstractions that always cost of some limits and rules that you will have to follow.

(2)、If you are working with Node.js and you are pretty new NoSQL I‘d recommend using the the native Node Driver(mongodb) at first.

Reasons:

1)The syntax between the Node Driver and the Mongo shell is very similar and so you‘ll get a quicker grasp of how to use MongoDB in general.

2)Models are only useful when you are scaling into a big application with a large API that needs to be broken up into a MVC system(mongoose being your models).

Pros/Cons of using Mongoose:

Pros:

  • Biggest Pro is that it has the data validation built into it(requirements of what data you will allow to be added or to update your database). It will take some work to build that yourself.(but not THAT hard)
  • It will abstract away most of the mongoDB code from the rest of the application.

Cons

  • Biggest con is starting off with schemas right out of the gate will really defeat the purpose of using NoSQL and it will be hard to experience what is good about having a loose structured data system during the stages of rapid development.

  • Not all of your data operations will nicely fit into a characterization that can encapsulated with a model. Encapsulation is especially hard initially - unless you have a very clear idea of data flow before you start(which is ideal, but not easy when you are building something conceptually new and requires a lot of experimentation and change/redesign).

参看:https://www.quora.com/Node-js/Node-js-Whats-the-advantages-of-using-MongoDB-Mongoose

以上是关于need to do 和 need do的区别的主要内容,如果未能解决你的问题,请参考以下文章

need的用法

need do和need to do如何用?啥时候用need do

need后面啥时候加to ,啥时候不加?

The 4 Most Important Things You Need to Do

why do we need, what advantages to use mongoose

How to do when I need boost headfiles (on OSX) ?