Programming for electronic hardware