Wednesday, May 04, 2005

Syntactic Salt


Syntactic salt is a feature designed to make it harder to write bad code. An example of syntactic salt in Java is Generics. The need for adding a semicolon, ;, after each and every statement could be viewed as syntactic salt.

Concept: Syntactic salt are constructs added to a language in order to make it harder for programmers to write bad source code.


No comments: