Top 1K Features Creators Events Podcasts Books Extensions Interviews Blog Explorer CSV

Nice

< >

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

#1218on PLDB 18Years Old
Homepage · Wikipedia · Docs

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 Example Token
Strings "Hello world" "
Print() Debugging println

- Build the next great programming language · Add · Issues · About · Search · Keywords · Livestreams · Labs · Resources · Acknowledgements

Built with Scroll v154.3.0