cln.co/
POLS
POLSPrinciple of Least Surprise

"Write code in a way that does not surprise other developers."

Key Takeaways
  • Make your code behave in expected ways to avoid confusion.
  • Make it a smooth experience for everyone.
  • Surprising software frustrates users and wastes time.

Description

Make software behave in ways that other people will find natural and predictable. So when someone uses a function in a program or reads a chunk of code, it should work just like they think it will.

You might also like:
ADP
APO
BSR
CCP
CoI
CQS
CRP
DIP
DRY
EUHM
EWV
FF
FTSE
GRASP
HC
HLYW
IH
IoC
IOSP
ISP
KISS
LC
LoD
LOLA
LSP
OCP
POLP
POLS
PoMO
REP
RoT
RTFM
SAP
SDB
SDP
SLA
SoC
SOLDIER
SOLID
SPOT
SRP
TdA
WET
YAGNI
ZOI