TIL: How to search on Google and exclude word

Sometime when I'm trying perform a Google search for things related to my work or even random stuff on the web, and it's annoying to see things that's not even related to what I'm looking for at all.

Today I learn that when you search on Google you can simply exclude a word that you don't want to see in your result like this:

alicoding -twitter  

The above will result with a keyword alicoding, but with no twitter word in the search result at all.

I hope you find this blog post useful, and if you have a better way or suggestion please feel free to leave a comment! :)