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.
0
Kudos
0
Kudos
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.
Steps to start Github.com open the terminal in a local directory, say git init as like ~/projects/first_repo $ git init (before this step, install “git” on your laptop) and then, say git remote add origin repo_url with the repo URL... Continue →