Puas yog Groovy tseem cuam tshuam?
Puas yog Groovy tseem cuam tshuam?

Video: Puas yog Groovy tseem cuam tshuam?

Video: Puas yog Groovy tseem cuam tshuam?
Video: Da Vang - Puas Yog Nyuab2 Koj (nkauj tawm tshiab 2021) 2024, Kaum ib hlis
Anonim

Thiab qhov kawg tab sis tsis tsawg kawg - Groovy yog tseem ib qho ntawm cov tsev qiv ntawv rub tawm tshaj plaws hauv Java ecosystem. Cédric Champeau tau hais qee lub sijhawm dhau los, qhov ntawd Groovy tau rub tawm 23M zaug hauv 3 lub hlis dhau los - wow!

Ua kom pom qhov no, yog Groovy nrov?

Groovy (cov lus programming) tau txais groovier, raws li lub Ob Hlis hloov tshiab ntawm TIOBE Index, uas nyob rau hauv lub ntiaj teb no feem ntau. nrov programming lus. Xyoo dhau los, Groovy tau leapt los ntawm 49th mus rau 19th qhov chaw, ib tug zoo nkauj stunning sawv.

Ib tug kuj yuav nug, vim li cas peb yuav tsum siv Groovy? Groovy yog Java enhancer vim hais tias nws muab kev yooj yim dua thiab txawm qhia tshwj xeeb rau cov ntawv thov (cov uas twb tau tsim tuaj yeem txhim kho lossis lawv tuaj yeem tsim los ntawm kos). Groovy yog Java zoo li syntax, tab sis nrog qhov yooj yim ntawm ntau hom lus zoo li Python thiab Ruby.

Tib neeg kuj nug, Groovy puas tuag?

Tsis yog, Groovy tsis tuag! Groovy , cov lus qub qub rau JVM, muaj ntau yam kev txhim kho ntawm nws txoj hauv kev, xws li txhawb Java 9 modularity thiab Java 8 lambda muaj peev xwm. Apache Software Foundation tau tshaj tawm cov hauv qab no Groovy hloov kho tshiab hauv lub xyoo no: Versions 2.6 rau Java 7 thiab tom qab.

Puas yog Groovy zoo dua Java?

Groovy yog superset ntawm Java uas txhais tau tias Java program yuav khiav hauv Groovy ib puag ncig tab sis vice-versa tej zaum yuav los yog tsis tau. Qhov twg Java yog hom lus zoo thiab statically ntaus programming.

Qhov txawv ntawm Groovy thiab Java.

Java Groovy
Nws yog siv los ua programming thiab object oriented Language Nws yog siv los ua ob qho programming thiab scripting Language

Pom zoo: