News for hackers. Stuff that matters.
Re:Show HN: Atopile – Design circuit boards with code by nikeee on Monday February 05, 2024 @04:58PM (#39267817)
Finally I can just install some package and have a spec-compliant ESP32 circuit which I don't have to copy from somewhere else. This is great.

One small thing regarding the imports: If you plan to have some rich autocomplete functionality (which helps dicoverability of packages) it is better to have the source of something first and the imported stuff afterwards. Python - which you seem to draw inspiration from - does this as well:

    from xy import z
The editor can offer auto completions when the cursor is after "import ", which is not possible if it's the other way round: `import z from xy` (like it is in JS).

I'll try this out, it looks very promising!

Re:Show HN: Atopile – Design circuit boards with code by Timot05 on Monday February 05, 2024 @05:02PM (#39267859)
Great point. We'll change that soon! Especially true for interfaces too since modules might have tons of accessible interfaces and the language server could list them out for you.

Did you see the ESP32 in the package registry? https://packages.atopile.io