Programming by Example
Also known as: PBE, Programming by Demonstration
A technique in end-user programming where a system infers a generalizable program from concrete examples provided by the user, rather than requiring the user to write code directly. In accessibility contexts, programming by example has been used to enable nonprogrammers to create data extraction wrappers for web pages by demonstrating the mapping of a few data items, which the system then generalizes to extract entire datasets. This approach lowers the barrier to contributing accessibility improvements by removing the need for programming expertise.
Category: Software Engineering · Human-Computer Interaction · Accessibility Tools
Related: Wrapper · Crowdsourcing