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 9151563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:50:02+00:00 2026-06-17T11:50:02+00:00

How does the SOLID Interface Segregation Principle differ from Single Responsibility Principle? The Wikipedia

  • 0

How does the SOLID “Interface Segregation Principle” differ from “Single Responsibility Principle”?

The Wikipedia entry for SOLID says that

ISP splits interfaces which are very large into smaller and more specific ones so that clients will only have to know about the methods that are of interest to them

However, to me that sounds like just applying the SRP to interfaces as well as classes. After all, if an interface is only responsible for just one conceptual thing, than you wouldn’t be able to break it down further.

Am I missing something, or is ISP sort of redundant with SRP? If not, then what does ISP imply that SRP does not?

  • 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-17T11:50:03+00:00Added an answer on June 17, 2026 at 11:50 am

    SRP tells us that you should only have a single responsibility in a module.

    ISP tells us that you should not be forced to be confronted with more than you actually need. If you want to use a print() method from interface I, you shouldn’t have to instantiate a SwimmingPool or a DriveThru class for that.

    More concretely, and going straight to the point, they are different views on the same idea — SRP is more focused on the designer-side point-of-view, while ISP is more focused on the client-side point-of-view. So you’re basically right.

    It all came from

    The ISP was first used and formulated by Robert C. Martin when doing
    some consulting for Xerox. Xerox had created a new printer system that
    could perform a variety of tasks like stapling a set of printed papers
    and faxing. The software for this system was created from the ground
    up and performed its tasks successfully. As the software grew, making
    modification became more and more difficult so that even the smallest
    change would take a redeployment cycle to an hour. This was making it
    near impossible to continue development. The design problem was that
    one main Job class was used by almost all of the tasks. Anytime a
    print job or a stapling job had to be done, a call was made to some
    method in the Job class. This resulted in a huge or ‘fat’ class with
    multitudes of methods specific to a variety of different clients.
    Because of this design, a staple job would know about all the methods
    of the print job, even though there was no use for them.

    so

    The solution suggested by Martin is what is called the Interface
    Segregation Principle today. Applied to the Xerox software, a layer of
    interfaces between the Job class and all of its clients was added
    using the Dependency Inversion Principle. Instead of having one large
    Job class, a Staple Job interface or a Print Job interface was created
    that would be used by the Staple or Print classes, respectively,
    calling methods of the Job class. Therefore, one interface was created
    for each job, which were all implemented by the Job class.

    @ http://en.wikipedia.org/wiki/Interface_segregation_principle#Origin

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

Sidebar

Related Questions

Does anybody know of a good solid plugin that allows a user to have
Does anyone know of a solid non-encumbered suite of XSLT sheets that can generate
The Designing Toolbar Icons ' section of OS X Human Interface Guidelines says that
Does anyone have a solid benchmark about the speed of parsing PHP code comments?
In Java it's perfectly legal for an interface to extend an interface. Does this
Does anyone have a solid pattern fetching Redis via BookSleeve library? I mean: BookSleeve's
Does anyone know of a solid C# library / approach to manage a hierarchy/web
Does using virtual methods violates LSP ( L part of SOLID principles) or there
Does anyone know of a routine that works out if today is a trading
Observe that the jQuery UI CSS does not pass validation. I try to adhere

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.