Mark Spritzler wrote:I really hope that if they are working in Groovy, they know what "it" means, because it is very important basic to know with Groovy and Closures.
We aren't using a ton of Groovy. I (by far) know the most Groovy of anyone on the team. (These are scripts and not long programs.) And I've been using explicit names up until now, so "it" hasn't shown up.
Mark Spritzler wrote:Also I recommend using. ${} in your Strings instead of concatenation. But not in log messages. In Slf4J logging for instance it is best to do log.debug("My message with a {} placeholder", valueOfPlaceholder)
I ise ${} "sometimes". (aka "when I remember"). Performance doesn't matter for what we are running though. So I'm doing it more to develop good habits and make the code easier to read.