<commit_before>
### Questions from *Covert Ops: Transform Your Java Team (From The Inside!) With Groovy* (slides [here](http://codetojoy.github.io/talk_maritimedevcon_groovy/assets/player/KeynoteDHTMLPlayer.html#0)) at [Maritime Dev Con 2016](http://maritimedevcon.ca/) 

* **Q:** If the Acme-Dao jar uses Java 8 features, can we still use it with Groovy?
    * Yes, with [Groovy 2.3](http://groovy-lang.org/releasenotes/groovy-2.3.html) or higher. In [Example_C_Acme_Dao](http://bit.ly/25FKJoO), there is a new method, `getAccountUsernamesByStatus()` in [AccountDao](http://bit.ly/1ZphhzN). It uses Java 8 extensively and is illustrated [here](http://bit.ly/1PxmGV4).

* **Q:** Can we use Java 8 streams in Groovy?
    * Yes, with some changes in syntax. Check out [this implementation](http://bit.ly/1O9nsr1) of `AccountDao.getAccountUsernamesByStatus()` 

* **Q:** Aside from Java 8 lambdas and method references, are there other syntax differences between Groovy and Java?
    * Yes [here is a list](http://groovy-lang.org/differences.html). e.g. Groovy redefines `==`. In practice, there are rarely any problems.

* **Q:** Can we use [Grape](http://docs.groovy-lang.org/latest/html/documentation/grape.html) with a repository that is not Maven Central?
    * Yes, see [Section 1.2](http://docs.groovy-lang.org/latest/html/documentation/grape.html)
    * I hope to illustrate this with an example using the Acme-Dao jar, but that will take some time.

* **Q:** *after session* In [Nothing is Something](https://www.youtube.com/watch?v=OMPfEXIlTVE), Sandi Metz illustrates the power of object composition using `House`, `RandomHouse`, and `EchoHouse`. Can this be achieved in Groovy?
    * Yes, see Example D [here](https://github.com/codetojoy/talk_maritimedevcon_groovy)

* **Q:** Can you illustrate using a Groovlet from Jenkins?
    * Coming soon.
<commit_msg>more doc<commit_after>
### Questions from *Covert Ops: Transform Your Java Team (From The Inside!) With Groovy* (slides [here](http://codetojoy.github.io/talk_maritimedevcon_groovy/assets/player/KeynoteDHTMLPlayer.html#0)) at [Maritime Dev Con 2016](http://maritimedevcon.ca/) 

* **Q:** If the Acme-Dao jar uses Java 8 features, can we still use it with Groovy?
    * Yes, with [Groovy 2.3](http://groovy-lang.org/releasenotes/groovy-2.3.html) or higher. In [Example_C_Acme_Dao](http://bit.ly/25FKJoO), there is a new method, `getAccountUsernamesByStatus()` in [AccountDao](http://bit.ly/1ZphhzN). It uses Java 8 extensively and is illustrated [here](http://bit.ly/1PxmGV4).

* **Q:** Can we use Java 8 streams in Groovy?
    * Yes, with some changes in syntax. Check out [this implementation](http://bit.ly/1O9nsr1) of `AccountDao.getAccountUsernamesByStatus()` 

* **Q:** Aside from Java 8 lambdas and method references, are there other syntax differences between Groovy and Java?
    * Yes. [Here is a list](http://groovy-lang.org/differences.html). e.g. Groovy redefines `==`. In practice, there are rarely any problems.

* **Q:** Can we use [Grape](http://docs.groovy-lang.org/latest/html/documentation/grape.html) with a repository that is not Maven Central?
    * Yes, see [Section 1.2](http://docs.groovy-lang.org/latest/html/documentation/grape.html)
    * I hope to illustrate this with an example using the Acme-Dao jar, but that will take some time.

* **Q:** *after session* In [Nothing is Something](https://www.youtube.com/watch?v=OMPfEXIlTVE), <NAME> illustrates the power of object composition using `House`, `RandomHouse`, and `EchoHouse`. Can this be achieved in Groovy?
    * Yes, see Example D [here](https://github.com/codetojoy/talk_maritimedevcon_groovy)

* **Q:** Can you illustrate using a Groovlet from Jenkins?
    * Coming soon.

{'fraction_non_alphanumeric': 0.13499731615673644, 'fraction_numerical': 0.012345679012345678, 'mean_word_length': 4.5461309523809526, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2790182', 'n_tokens_mistral': 1296, 'n_tokens_neox': 1205, 'n_words': 386}