How to add proper pagination as default in WordPress themes

It is time we the people who build WordPress themes cast aside the rotting corpse of Older and Newer posts links and replace it with proper pagination. After all the function is already built into WordPress – in fact it has been for a very, very long time. So, without further ado let me provide you with the code you need to get started and a few tweaks to move your WordPress pagination into the 21st century.