short circuit evaluation
Ruby doesn’t look at both expressions unless it has to; if it sees
false && true
it stops reading as soon as it sees &&
because it knows false &&
anything must be false.
Ruby doesn’t look at both expressions unless it has to; if it sees
false && true
it stops reading as soon as it sees &&
because it knows false &&
anything must be false.
What I did is… open ubuntu software center and install “Shell with lots of features” (the first one on top when search by “zsh”) then did this (alternate way to install zsh) and, got “don’t have to” message. $ sudo apt-get update... Continue →