← Back to Tech Radar
Hacker News tech

Bespoke: A programming language for people who say please

Trending on Hacker News: Bespoke: A programming language for people who say please (97 points / 25 comments, via blog.hofstede.it)

In one line

Modern programming languages are full of violence, vulgar abbreviations, and naked imperatives. Bespoke is a statically typed alternative in which exceptions…

Opening excerpt

We kill processes, abort transactions, throw exceptions, break out of loops, and execute instructions. We acquire locks without asking, mutate values without apologising, and order the machine to return as though it were a Labrador. Even the gentler languages expect us to address the runtime in a sequence of terse imperatives:

let carriageCount = 0 ; carriageCount = 42 ; console . log ( carriageCount ); No salutation. No explanation. Not so much as a much obliged .

I therefore propose Bespoke , a statically typed and uncompromisingly civilised programming language for developers who believe that machine execution should never come at the expense of good manners. Informally it is known as The Queen’s Code : Victoria’s, naturally; the etiquette committee has yet to approve the twentieth century. Source files use the .charming extension, and the compiler reserves the right to be disappointed in you.

The implementation is, at present, somewhat less advanced than the etiquette manual. This is entirely appropriate: one does not rush a formal introduction.

(Excerpted from the original; full article via the source link below.)

This story hit the Hacker News front page today (97 points / 25 comments, via blog.hofstede.it). Our Tech Radar aggregates daily signals on AI engineering, backend architecture and DevOps — browse the related services and further reading below, or get in touch with our team.

Source: Hacker News

Related Services

Related Reading