Links tagged: code
Groovy Ternary Operator
Another one of the great operators that more and more languages support is their ternary operator. The ternary is a conditional operator and often referred to as an inline if statement. Before we look at how to use it lets take a look at a common problem it helps us solve. There are often times when you want to set a variable to one value if an expression evaluates to true and another if its false. In pseudo code it might look something like this.
September 21st 2017
Mastering VS Code's Terminal - Growing with the Web
Some handy info about running terminals in visual studio code.
April 6th 2017