To those who haven't yet realised the difference, it's the e or o at the last but one position.
My question is, which spelling is correct, or more common?
It seems that I'm not the only one that's been wondering.
From http://grammarist.com/spelling/adapter-adaptor/, the writer concluded that these two could be used interchangeably, in all varieties of English and for every meaning of the word.
From http://english.stackexchange.com/questions/22537/which-is-the-proper-spelling-adapter-or-adaptor, the writer asked the same question only because his team couldn't reach an agreement in terms of how to name their piece of software. The experience does sound familiar. Years ago when Eric and I were still postgraduate students and working on a communication platform project, we had the same argument. Silly, now it seems. At the time I ended up keeping my favourable spelling in my part of code and he keeping the other way in his.
For me, at this point, I think I'd go for adapter as it looks better, even though adaptor is more convenient to be typed, as you could type the previous t with your left hand and the coming o with your right hand, and the next r again with your left, unlike with adapter you need to type three consecutive letters all with your left.
2015年9月16日星期三
2015年9月5日星期六
Bash helpers
I didn't realise until very recently that Bash shipped with Yosemite is a rather old version - 3.2, given that Bash 4 has been around for quite some time. I then installed a new version through Homebrew and configured it as my login shell.
During my brew search for the new bash, two more items drew specific attention of mine - bash-completion and bash-git-prompt. I've always liked it when I typed "git checkout ma" and pressed Tab, "git checkout master" got filled out. Somehow it wasn't working that way in my Mac, until bash-completion started doing business.
Bash-git-prompt is also a nice piece of software that configures the shell prompt to display git related info (branch, status, etc), when working in a git repository of course.
During my brew search for the new bash, two more items drew specific attention of mine - bash-completion and bash-git-prompt. I've always liked it when I typed "git checkout ma" and pressed Tab, "git checkout master" got filled out. Somehow it wasn't working that way in my Mac, until bash-completion started doing business.
Bash-git-prompt is also a nice piece of software that configures the shell prompt to display git related info (branch, status, etc), when working in a git repository of course.
订阅:
评论 (Atom)