Briefle
LearnGlossaryPricing

Briefle words · Code & architecture

Pluralization convention

The rule that lists get plural names and single items get singular names.

Say it to an AI

JSON response for GET /v1/clinics/:id/day?date= powering the daily schedule screen: clinic, doctors, appointments, the current patient, rooms and openSlots. Follow a strict pluralization convention: plural camelCase keys for every array, singular for single objects or ids, and no Hungarian-style 'List' suffixes.

How an expert would brief the stronger version of “Clinic day endpoint”.

See it

Try it as a puzzle →

JSON response in an API client for the endpoint that powers a clinic's daily schedule screen.

Study A · the weaker one
Study B · the stronger one

Why: B follows it everywhere; A breaks it both ways, with 'doctor' as a list and 'openSlot' holding three times.

Related words

  • Intention-revealing name
  • Magic number
  • Single responsibility principle
  • Boolean
  • Predicate
  • is/has/can prefix
  • Flag argument
  • Abbreviation

Room 2 · Naming

Learn “Pluralization convention” in a five-minute lesson

Start free
AI can build almost anything. The bottleneck is saying what you want.
WordsPricingTermsPrivacyRefundsContact
© 2026 Briefle