Measures Concepts
GitHub icon

Nice

Nice - Programming language

< >

Nice is a programming language created in 2006 by Daniel Bonniot.

#1482on PLDB 18Years Old

Nice is an object-oriented programming language released under the GNU General Public License. It features a powerful type system which can help eliminate many common bugs, such as null pointer dereferences and invalid casts, by detecting potential runtime errors at compile-time; the goal of the designers was to provide safety features comparable to those found in languages such as ML and Haskell, but using a more conventional syntax. Nice aims to be feature-rich, and as such, in addition to the common features of modern object-oriented programming languages, it implements contracts in the style of Eiffel, class extensibility through multimethods, and many concepts drawn from functional programming such as anonymous functions, tuples, pattern matching (“value dispatch”), and parametric polymorphism. Read more on Wikipedia...


Example from hello-world:
void main(String[] args){ println("Hello World"); }

Language features

Feature Supported Token Example
Strings "
"Hello world"
Print() Debugging println

View source

- Build the next great programming language · Search · Add Language · Features · Creators · Resources · About · Blog · Acknowledgements · Queries · Stats · Sponsor · Day 605 · feedback@pldb.io · Logout