mgp25/WhatsAPI-Official — pull request #83 by jonnywilliamson (2014-10-30 11:59:18+00:00)
Title: Small demo to show the subtle changes that formatting the entire code ba...

...se would make.

This pull request is in relation to https://github.com/mgp25/WhatsAPI-Official/issues/73

The file shown, has been auto-formatted by an IDE. You will notice that there are lots of small changes with spacing and layout, BUT NO code changes. No one's code will break with these changes as we haven't touched anything! I press 1 button and the entire project gets CONSISTENTLY and PROPERLY formatted,

Why is this useful?

Well, as more and more people arrive here to submit patches, the high likelihood is that they will be using an IDE (or sublime with module etc) when developing their code.

As these programs can all autoformat the code, it will be likely that when someone submits a small fix, the diff file might contain 2 lines of a bug fix, but 600 lines of code formatting changes!

If we all [sing of the same hymn sheet](http://www.collinsdictionary.com/dictionary/english/to-be-singing-from-the-same-hymn-sheet) now then we can ensure that we can point new contributors to the correct way of submitting bugs and have maintainable code.