I keep my project folders in one place, and typing the full path gets old.
export CDPATH=.:~/dev:~/dev/work
cd myproject
cd looks for the name in each directory of CDPATH, in order, and prints the folder it entered. Always start with . so that folders in the current directory win. Put the export in your .bashrc or .zshrc but not in scripts, where it can change what a cd does.
Further reading: Bash manual: Bourne Shell Variables