News for hackers. Stuff that matters.
Re:Coding Up an IoT PCB Design by ris on Wednesday May 04, 2022 @07:27PM (#31267193)
> chooses an imperative language to define circuit topologies

hmm.. maybe that's ok if they don't go too overboard and encourage a functional style

> uses & as an in-place, mutating operator

that's it, I'm out of here

Re:Coding Up an IoT PCB Design by bb88 on Thursday May 05, 2022 @03:51PM (#31277722)
I agree. '&' should not mutate.

In this case it's simple to do:

   net1 = pin1, pin2, pin3
   design = net1, net2, net3...