4 ms·
Groovy and/or Python depending on what I'm doing. If I want to do something where I know using some Java library that I'm already familiar with will help, I wil
by mindcrime 7y ago
Groovy and/or Python depending on what I'm doing. If I want to do something where I know using some Java library that I'm already familiar with will help, I will definitely use Groovy.
- mindcrime 7y agoI especially like the .execute() method in Groovy. Just create a String that represents a valid command, call .execute() on it, and use the .text property to get the output. For example: $groovy -e ' println "ls /".execute().text'