Polite

Description

A variant of Smalltalk which supports "sentence case" identifiers.

Details

Source
GitHub
Stars
10
Created
April 18, 2013
Updated
Dec. 24, 2024

README excerpt

Polite
======

*"We are nothing if not polite."* 
(Don Ysidro, B.H. Rogers)

Since every polite person talks in sentences, Polite is a programming language
which encourages developers to name their method names in the most natural manner. Indeed, every method in a class 
denotes an action, which is best expressed as a sentence not as a terribly long camelcase identifier 
 (which might still be preferred by the germanic people). We call this **sentence case identifiers** and 
 we wrote a [short paper about it](https://github.com/mircealungu/Polite_Programmers__NOOL16/blob/master/preprint.pdf).
			
In our opinion a syntax like the one of Polite will encourage people to write nicer and more readable code. And since we spend much more time reading existing code than writing new code, this might make everybody happier in the long run. 

Finally, Polite is a modified Smalltalk; so all the power, and meta-power of that language is available to the Polite programmer. 

Program Examples
----------------
- [Median](https://github.com/mircealungu/Polite/blob/master/examples/median.polite)
- [Stack](https://github.com/mircealungu/Polite/blob/master/examples/stack.polite)
- [100 doors](https://github.com/mircealungu/Polite/blob/master/examples/100-doors.polite)


Installation
------------

The easiest way to try out Polite is to [download it from Zenodo](https://zenodo.org/record/61578#.WDhvaqIrK9s)

Contact Us
----------
We're happy to talk about Polite: 
- [Mircea Lungu](mircealungu.tumblr.io)
- [Jan Kurs](http://scg.unibe.ch/staff/kursjan)
← Back to results