SRP

Abbreviation with 2 meanings

SRP
Stands forSingle-responsibility principle
Meanings2
CategoriesTechnology & Computing, Business & Finance

SRP has two meanings. It stands for Single-responsibility principle (programming) or Suggested retail price (e-commerce & retail).

Meanings of SRP at a glance

#SRP stands forContext
1Single-responsibility principleTechnology & Computing › Programming
2Suggested retail priceBusiness & Finance › E-commerce & Retail

1. Single-responsibility principle

Technology & Computing · Programming Abbreviations

The first SOLID principle: a class or module should have only one reason to change, meaning it serves one actor or concern. A class that both formats reports and saves them to the database violates it.

Example: Split the UserService; it handles login, emails and billing, which breaks SRP.

Robert C. Martin defines a responsibility as a reason to change, often tied to one group of stakeholders, rather than as "doing one thing". The idea builds on the older concepts of cohesion and separation of concerns. Overapplied, it scatters simple logic across many tiny classes.

2. Suggested retail price

Business & Finance · E-commerce & Retail Abbreviations

Price a manufacturer or distributor suggests for retail sale, widely used in the US and in the Philippines, where the government also sets SRPs for basic goods. Retailers may sell above or below it unless local law sets limits.

Example: The new console launches at an SRP of $499.

SRP is used interchangeably with MSRP in the US. In the Philippines, the Department of Trade and Industry publishes official SRP lists for basic necessities such as canned goods and bread.

More programming abbreviations

  • SOAP – Simple Object Access Protocol
  • SoC – Separation of concerns
  • SOLID – Single responsibility, open-closed, Liskov substitution, interface…
  • SQL – Structured Query Language
  • SRS – Software requirements specification
  • STL – Standard Template Library
  • SVN – Subversion (Apache Subversion)
  • SWE – Software engineer

See all 154 programming abbreviations →

More e-commerce & retail abbreviations

  • RRP – Recommended retail price
  • RTO – Return to origin
  • S&H – Shipping and handling
  • SPSF – Sales per square foot
  • SSS – Same-store sales
  • TACoS – Total advertising cost of sale
  • UPT – Units per transaction
  • VGUC – Very good used condition

See all 75 e-commerce & retail abbreviations →