OSX has a lot of hidden gems in it. For other operating systems, when you need to find out this kind of gems (if they have :P), you have to wait to become a pro-user. Most of the time, it’s gonna be non-intuitive. However, OS X is nothing like that. Finding these little things are really easy and intuitive.
Autocomplete in Finder
Some of you may already be familiar that, OS X default shell in Terminal (tsch) has auto-complete feature. For instance, if you wanna type Downloads in the user’s home folder, you can just type Dow and press TAB. It’ll automatically complete the text to Downloads.
Varargs Collection Factory Method
If you read my double brace post, you might find it very handy. However, sometimes you might be warned by PMD or Checkstyle for this kind of usage. Because they don’t like this kind of usages. One way to fix this problem is putting either //no pmd or suppressing method for PMD.NonStaticInitializer.
