Delegate vs Agent - What's the difference?
delegate | agent |
a person authorized to act as representative for another; a deputy
a representative at a conference, etc.
(US) an appointed representative in some legislative bodies
(computing) a type of variable storing a reference to a method with a particular signature, analogous to a function pointer
to authorize someone to be a delegate
to commit a task to someone, especially a subordinate
(computing, Internet) (of a subdomain) to give away authority over a subdomain; to allow someone else to create sub-subdomains of a subdomain of yours
One who exerts power, or has the power to act; an actor.
One who acts for, or in the place of, another (the principal), by authority from him; one intrusted with the business of another; a substitute; a deputy; a factor.
An active power or cause; that which has the power to produce an effect; as, a physical, chemical, or medicinal agent ; as, heat is a powerful agent.
(computing) In the client-server model, the part of the system that performs information preparation and exchange on behalf of a client or server. Especially in the phrase “intelligent agent” it implies some kind of autonomous process which can communicate with other agents to perform some collective task on behalf of one or more humans.
(grammar) The participant of a situation that carries out the action in this situation, e.g. "the boy" in the sentences "The boy kicked the ball" and "The ball was kicked by the boy".
In computing terms the difference between delegate and agent
is that delegate is a type of variable storing a reference to a method with a particular signature, analogous to a function pointer while agent is in the client-server model, the part of the system that performs information preparation and exchange on behalf of a client or server. Especially in the phrase “intelligent agent” it implies some kind of autonomous process which can communicate with other agents to perform some collective task on behalf of one or more humans.As nouns the difference between delegate and agent
is that delegate is a person authorized to act as representative for another; a deputy while agent is one who exerts power, or has the power to act; an actor.As a verb delegate
is to authorize someone to be a delegate.delegate
English
Noun
(en noun)Synonyms
* See alsoVerb
(delegat)agent
English
(wikipedia agent)Noun
(en noun)- Heaven made us agents , free to good or ill. --Dryden.
- I see in him [Moby Dick] outrageous strength, with an inscrutable malice sinewing it. That inscrutable thing is chiefly what I hate; and be the white whale agent , or be the white whale principal, I will wreak that hate upon him. --Herman Melville, , ch. 36
