Designing across domains with declarative thinking: Insights from the 96-Eyes ptychographic imager project