I have been tasked with building a simple alarm device. It just needs to measure a few inputs and the outputs will respond accordingly (to put it very simply!). To me, it seemed that using a few discrete logic gates would get the job done, but a colleague (who was working on it with me) decided that we should use programmable logic instead. His case won, because firstly, he is more senior than me, and secondly, his main argument was that programmable devices are the future and we want to make future proof products.
My question is if you have a design which could be easily implemented by a few discrete logic gates, is it worth designing with discrete logic any more? IS there any advantage to using them over programmable? Or is it slowly going to be phased out completely by programmable logic? To be clear, I don't want answers of 'I believe this is the case' or 'personally I think this but...' I'd like to know if there are any actual advantages to designing with discrete over programmable and is it worth designing with them these days in consumer electronics products?