You are quite right, there is not an official Debounce example or many hardware examples in the Particle documentation.
But it might be worth mentioning from a hardware perspective, and in particular much of the sensor intergrations are 99% identical to applications which can be applied to many alternative micro processor development platforms such an Arduino. The singular biggest difference being that the Particle enviroment is 3.3v logic were many (not all) the Arduino development boards are 5v logic.
This means much of the excellent tutorials developed for the Arduino are applicable. For example
Arduino Debounce Example
So it seems, that it is a case of not reinventing a common (but not universally) know wheel. I agree frustrating if you are one of the few who don’t know about this cross platform resource, but it is there. And it is alot more common that this will be known rather not, within this type of Tech community.
It is not going to hurt to actually acquire an Arduino, and use it as a testing enviroment, for testing hardwear implimentations, before transfering the work on to a Particle device to exploit its IOT functionallitly. You might notice alot of people will when experiancing hardwear problems will ask people, if they tested it on an Arduino, just to prove its not a dub sensor, before digging down what sometimes can be an wierd issue within the Particle platform.
Its not a Particle vs Arduino game, but the two do complement each other, and it the main reason why the Intergrated Development Enviroment (IDE) are closely matching, and many of the tools share a common root.