I was reading through Groovy in Action, Second Edition and on a footnote, I found the following text
Java pours “syntax vinegar” over such a construct to discourage programmers from using it.
What does the term syntax vinegar
means here?
I have never heard of this term before and searched on DuckDuckGo and Google but couldn't find a meaning. But it's being used in multiple places. It would be great if someone can clarify the meaning of this term and how it applies in the context of programming languages. Hope this constitutes as a valid question. Couldn't find any other stackexchange site where I can ask this.