File: control

package info (click to toggle)
nice 0.9.10-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 7,260 kB
  • ctags: 6,867
  • sloc: java: 42,604; xml: 3,205; lisp: 1,079; makefile: 652; sh: 342; cpp: 21; awk: 3
file content (37 lines) | stat: -rw-r--r-- 1,872 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Source: nice
Section: devel
Priority: optional
Maintainer: Daniel Bonniot <bonniot@users.sf.net>
Build-Depends-Indep: debhelper (>> 3.0.0), jikes-classpath (>= 1:1.18), kaffe (>= 2:1.1.4.RC1), javacc, groff, libant1.6-java
Standards-Version: 3.6.1

Package: nice
Architecture: all
Depends: kaffe | java-virtual-machine, kaffe | java1-runtime | java2-runtime
Suggests: emacsen, ant, gcj-3.4
Description: Extension of Java with parametric types, multi-methods, and more
 Nice is a new object-oriented programming language.
 .
 It extends Java with many advanced features:
   * Parametric types: this is especially useful for containers 
     (lists, hash-tables) and allows for shorter and safer code.
   * Anonymous functions: functions can be created and manipulated as 
     first-class expressions, just like in Lisp and ML. 
     This is much lighter than Java's anonymous classes in many situations, 
     for instance with listeners in a GUI.
   * Multi-methods: they allow methods to be defined outside classes. 
     This means that new methods can be defined on classes that
     belong to a different package (even in java.*). 
     Multi-methods alse extend usual methods with the possibility to
     dispatch on every argument, instead of only the receiver class.
     This supersedes the Visitor pattern.
   * Tuples: this allows in particular methods to return several values.
   * Optional parameters to methods. 
     Optional parameters have a default value that is used when the parameter 
     is not present in the call. This is much simpler than in Java, where one 
     has to write several versions of the method for each combination of 
     parameters. 
   * Nice detects more errors during compilation: programs written in Nice
     never throw NullPointerException nor ClassCastException.
 .
 For more information see http://nice.sourceforge.net