If you use Clubhouse to manage your software projects, you may also be using VCS Integrations, such as the one for GitHub. By default this allows you to create branches with the following naming format: carlousfahmi/ch17545/git-hooks-are-amazing, where the ticket number is embedded within the branch name.
You may also be following the common Git convention of manually prepending your commit messages with the card number you’re working on, resulting in commit messages which look something like this:
[ch17545] Does this Git hook work?
To make life easier, you can install a Git hook which automatically prepends the Clubhouse ticket number…
Take the following snippet of code:
var returnedValue = someFunction();
someFunction() may return an error which was previously caught from within the function. How can we determine if
returnedValue is an error?
There are a couple different techniques which we can use, each with their own potential drawbacks.
If it walks like a duck and it quacks like a duck, it’s a duck! The idea here is to…