FACTOID # 89: In the 1990's, nearly half of all arms exported to developing countries came from the United States of America.
 
 Home   Encyclopedia   Statistics   Countries A-Z   Flags   Maps   Education   Forum   FAQ   About 
 
WHAT'S NEW
RECENT ARTICLES
More Recent Articles »
 

SEARCH ALL

FACTS & STATISTICS    Advanced view

Search encyclopedia, statistics and forums:

 

 

(* = Graphable)

 

 


Encyclopedia > Groovy programming language

In slang and informal language, Groovy refers to a fashionable or desirable quality, without necessarily specifying one. It can also be used as a generally positive exclamation. It originated in britain, and largely remains a british word.


It has slightly outdated connotations in recent times, although it can still be used in everyday speech.



In computing, Groovy is an object-oriented programming language designed for the Java platform as an alternative to Java programming language with features from Python, Ruby and Smalltalk.


Groovy uses a Java-like syntax which is dynamically compiled to JVM bytecodes and that works seamlessly with other Java code and libraries. The Groovy compiler can be used as an alternative to javac to generate standard Java bytecode to be used by any Java project or it can be used dynamically as a scripting language.


Groovy is currently undergoing standardization through the Java Community Process [1] (http://www.jcp.org/en/jsr/detail?id=241).


Examples

 Slang: Groovy paintjob Real groovy to see you baby! 
 Computing: class Foo { doSomething() { data = ["name": "James", "location": "London"] for (e in data) { println("entry ${e.key} is ${e.value}") } } closureExample(collection) { collection.each { println("value ${it}") } } static void main(args) { values = [1, 2, 3, "abc"] foo = new Foo() foo.closureExample(values) foo.doSomething() } } 

External links

  • Official site (http://groovy.codehaus.org/)

  Results from FactBites:
 
The Java Community Process(SM) Program - JSRs: Java Specification Requests - detail JSR# 241 (1243 words)
Groovy is a complement of the Java programming language, not a replacement of it.
Groovy is a very "learnable" programming language that makes adoption of the Java platform by developers go more quickly and smoothly.
Groovy can be a low-threshold language for developers new to the Java platform as well as a productivity-enhancing tool for experienced Java developers.
A Crash Overview of Groovy (1730 words)
Scripting languages allow for light-weight programs that are often quick and easy to write, which makes writing a script more attractive than writing a full-fledged program for some common tasks; however, there are times when we want the convenience of a scripting language without giving up the features of a programming language.
Groovy is "an agile dynamic language for the Java 2 Platform" [1] that attempts to combine the convenience of scripting with the functionality of Java.
Groovy does not provide the arbitrary operator overloading that lends itself to abuse in C++ but pairs nineteen common operators to method names so that using an operator will have the same effect as a method call with the corresponding name [2].
  More results at FactBites »


 

COMMENTARY     


Share your thoughts, questions and commentary here
Your name
Your comments
Please enter the 5-letter protection code

Want to know more?
Search encyclopedia, statistics and forums:

 


Lesson Plans | Student Area | Student FAQ | Reviews | Press Releases |  Feeds | Contact
The Wikipedia article included on this page is licensed under the GFDL.
Images may be subject to relevant owners' copyright.
All other elements are (c) copyright NationMaster.com 2003-5. All Rights Reserved.
Usage implies agreement with terms.