News for hackers. Stuff that matters.
Re:We need visual programming. No, not like that by LeonB on Sunday July 14, 2024 @09:05PM (#40964496)
Programming “via” Visualization — doesn’t scale. Great for demos. Good in limited places.

Visualizations “of” a Program — quite useful. Note there lots of different ways to visualize the same program to emphasise / omit different details. The map is not the territory, all models are wrong etc.

Re:We need visual programming. No, not like that by astromaniak on Sunday July 14, 2024 @10:15PM (#40964775)
It works and even scales up in some cases.

For example having models of capacitor and resistor you can put them together in schematic. Which in turn can be a part of the bigger design. Then test it in simulator. That's how Simplorer works. Alternatively you can write the code in VHDL or Modelica. But visual is quicker, easier, and more reliable.

Obviously it works well for UI, was used for decades now.

As for the rest,... there are visual programmers for robots, mostly for kids.

Re:We need visual programming. No, not like that by codebje on Monday July 15, 2024 @12:12AM (#40965223)
Schematics don't scale well at all - net labels and multiple sheets demonstrate this.

HDLs rule for gate and transistor level circuit design. I don't know what major PCB houses do but I'd be horrified to discover that 16-layer boards still have a visually built schematic producing their netlist: just finding the right pad on 256BGA components would be awful, let alone finding what else is connected to that net.

Re:We need visual programming. No, not like that by duped on Monday July 15, 2024 @12:19AM (#40965250)
> Schematics don't scale well at all

Schematics aren't supposed to scale. They're a lossy representation of a subcircuit without caring about the intricate details like footprints or electrical/electro-mechanic constraints.

PCB designers largely don't use HDLs because they don't really solve their problems. Splitting a BGA component into subcircuits that have easily legible schematics is not hard, but it's also not what they care about. That shit is easy, making sure the blocks are all connected correctly.

Verifying the electrical constraints of the 256 pad component is much harder and not represented in the schematic at all. They need to see the traces and footprint exactly.

As an example, the schematic doesn't tell you if a naive designer put the silkscreen label and orientation marker underneath the component which will cause manufacturing defects like tombstoning in jellybean parts.

Re:We need visual programming. No, not like that by mapcars on Monday July 15, 2024 @06:46AM (#40966685)
Why do you think it doesn't scale?
Re:We need visual programming. No, not like that by reportgunner on Tuesday July 16, 2024 @06:35AM (#40975213)
It gets very messy with scale and keeping it not messy as it's scaling up is hard.