Can’t say that electron does not encourage bad software, quite the opposite
It's an example of bad code that further encourages more bad code.