A book with randomly arranged chapters is still readable but more frustrating to read (unless it's Pulp Fiction). 

Scoping provides a reduced set of things to reason about. As soon as I start reading about styling the login button I do not expect additional login button styles to crop up later in the file (as some thing got patched, for example)