Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7873173
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T02:26:10+00:00 2026-06-03T02:26:10+00:00

According to the GoF Command Pattern UML it seems to me like ConcreteCommand just

  • 0

According to the GoF Command Pattern UML it seems to me like ConcreteCommand just adapts Reciever to common Command (which could be) interface. I am probably hit by golden hammer, so please explain where is the difference or what did I get wrong.

Command pattern

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T02:26:12+00:00Added an answer on June 3, 2026 at 2:26 am

    A lot of these patterns do look very similar and intent does help in understanding the pattern definition. Here is my (probably incomplete) knowledge on these patterns:

    The Command pattern seperates the invoker from the operation.

    A Command may have a lifetime independent of a specific request, receiver, or invoker – it is a seperate first-class entity. It allows the ability for queuing, and executing commands at different times and allows command execution to be recorded/remembered, perhaps for logging.

    It can be used to organise UI command implementation, undo, or redo functionality,or transaction management as examples.

    The Adapter pattern is used to adapt an object to the usage of another.

    I wouldn’t confuse an object that operates on another object (ConcreteCommand doing something to Receiver) with an implementation of the ‘Adaptor’ pattern where an Adaptor acts almost like a proxy to allow the Adaptee to work with other collaborators.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

According to Microsoft , you must sign your ClickOnce application. But it seems to
A Singleton should be inheritable or They should not be ? According to Gof
According to my class notes, you can allocate an array in C++ like int
According to the documentation i would like to overwrite predefined formats using this settings:
According to RFC 1738: Uniform Resource Locators (URL): 3.1. Common Internet Scheme Syntax ,
According to Wikipedia , function calls don't copy parameters which are are references to
According to the information I could gather on .NET and Java execution environment, the
According to the gcc docs , memcmp is not an intrinsic function of GCC.
According to here , the C compiler will pad out values when writing a
According to Apple's description, the aurioTouch sample app is suppose to get the audio

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.