Why Electronic Voting is a BAD Idea - Computerphile:
https://www.youtube.com/watch?v=w3_0x6oaDmI
Voting machines should print off a receipt of your vote, which you can then confirm and seal in an envelope, like you would a paper vote, and put in a box of paper votes. The machines will also need to have a method for voters to correct an incorrect vote somehow.
If there are irregularities, or a recount is needed, the paper votes can be counted. There should also be an option for a normal paper vote, if the voter so choses, like how in an airport you can choose an Xray or a pat-down.
Upon saying that, I don't see what's wrong with paper votes. Elections don't happen very often, and paper voting scales perfectly fine with population.
https://www.theverge.com/2012/11/6/3609506/voting-machine-el...