groovy 语言入门
2017-08-02 21:12
435 查看
groovy 语言入门
源博客:http://www.cnblogs.com/amosli/p/3970810.html1、groovy简介
其官方介绍为,Groovy...is an agile and dynamic language(动态语言)or the Java Virtual Machine
builds upon the strengths of Java but has additional power features inspired by languages like Python, Ruby and Smalltalk
makes modern programming features available to Java developers with almost-zero learning curve
provides the ability to statically type check and statically compile your code for robustness and performance
supports Domain-Specific Languages and other compact syntax so your code becomes easy to read and maintain
makes writing shell and build scripts easy with its powerful processing primitives, OO abilities and an Ant DSL
increases developer productivity by reducing scaffolding code when developing web, GUI, database or console applications
simplifies testing by supporting unit testing and mocking out-of-the-box
seamlessly integrates with all existing Java classes and libraries
compiles straight to Java bytecode so you can use it anywhere you can use Java
简单说来:Groovy是一种运行在JVM上的动态语言,它吸取了Python,Ruby和Smalltalk等语言的优点,在Java语言的基础之上增加了许多特色功能;对于Java开发人员来说掌握Groovy是没有什么太大障碍的;相比 Java 而言,语法更易懂,更易上手,更易调试;无缝的集成了Java 的类和库;编译后的.groovy也是以class的形式出现的。
语法是相当的松散
相关文章推荐
- Gradle 入门之 Groovy 语言详解
- Groovy语言 Grails框架入门
- Groovy语言 Grails框架入门
- Groovy语言入门(1)
- Erlang语言学习入门
- go语言快速入门:模板应用(14)
- 寄存器(内存访问)02 - 零基础入门学习汇编语言14
- Green Marl 入门 Part1:语言相关
- 寄存器(内存访问)03 - 零基础入门学习汇编语言15
- Scala, Groovy, Clojure, Jython, JRuby and Java ----我们的工作语言
- 40-语言入门-40-C小加之随机数
- Delphi XE2 之 FireMonkey 入门(18) - TLang(多语言切换的实现)
- iPhone开发入门(7)— 从C/C++语言到Objective-C语言
- SQL 语言(命令)快速入门 (2)
- 【AMI BIOS入门】多语言版本转换
- [BX]和loop指令01 - 零基础入门学习汇编语言23
- Perl语言入门笔记 第四章 子程序
- [BX]和loop指令02 - 零基础入门学习汇编语言24
- Groovy轻松入门——搭建Groovy开发环境
- [BX]和loop指令04 - 零基础入门学习汇编语言26