DesignOfEverydayThings - Affordances

Chair affordance

  • An affordance is a relationship between the properties of an object and the capabilities of the agent that determine just how the object could possibly be used.
  • Ex. A chair affords support and sitting. It's easy to be discovered
  • Ex. Some chairs afford to be carried by one person

Glass Affordance

  • Affords transparency.
  • It blocks passage of most physical objects
  • The blockage of passage can be considered an anti-affordance: the prevention of interaction
  • Effective affordances and anti-affordances have to be discoverable. This poses a difficulty with glass.
    • Birds often try to fly through windows. 
    • Every year, numerous people injure themselves when they walk through glass windows

Affordance

  • Affordances exist even if they are not visible.
  • For designers, the visibility is critical: Visible affordances provide strong clues to the operations of things.
    • Ex. Slots are for inserting things into
  • Perceived affordances help people figure out what actions are possible without the need for labels or 

Programming Affordance 

(On my own opinion)
Programming language will have method name, already contains signifier, not natural affordance.
  • Perceived affordance
// affordance: Used to trim string
// discoverable: yes
StringUtils.trimToEmpty(String s)
  •  Not easy to be discovered affordance
// affordance: Used to get User data and update read count
// discoverable:  no, unable to know it will update data
UserDao.findById(String id) // Actually it will update read count
  • Anti-affordance

// hard to find an example… .. an anti-affordance in code may be just a bug? 

DesignOfEverydayThings - Discoverability and Understanding

  • The most important characteristics of good design: Discover-ability and Understanding
  • Discover-ability
    • Figure out what actions are possible
    • Where and how to perform them
  • Understanding
    • What does it all mean?
    • How is the product supposed to be used?
    • What do all the different controllers and settings mean?
  • Ex. Doors: Need signals to indicate naturally where to push. Ex. Vertical plate on a side to be pushed
  • We accept complex device needs aid of manual, but it should be unnecessary for simple things
  • Faced with array of controls and displays, we simply memorize one or two settings to fulfill requirement
  • When a device with complex settings let user unable to remember, then whole purpose of design was lost



Lessons Learned While Benchmarking vLLM with GPU

Recently, I benchmarked vLLM on a GPU to better understand how much throughput can realistically be expected in an LLM serving setup. One ...