I wrote the nixie calculator firmware (about 15000 lines of code) without using AI and was a little bit proud of it. Well, after today’s experience that will never happen again.
Today I ‘ve tried Claude Code for the first time. I used the VS Code extension for Claude and my prompt was simple: Please remove the Arduino framework dependency from the firmware while keeping the functionality.
Claude created a 12-phase plan and compiled and corrected errors after each phase, if there were any. I uploaded the firmware and everything worked correctly except a WebSocket thing. I explained the problem and Claude fixed the issue. After just 2 hours I had a working native esp32 calculator firmware. This was not a trivial thing, as I made heavy use of Arduino libraries like Adafruit_Neopixel or OneWire and used String instead of std::string all over the place. I don’t know if I keep the “Arduino-less” version but I’m impressed!
I haven't reached a comfort level with AI just yet - with my luck it would go rogue and delete everything lol. But I would find it interesting to review to generated code to see how it accomplished certain tasks.The one benefit I would assume with self-coded work is that you can document it so if modifications are needed in the future you have some references available. Does any of this new fangled AI stuff document itself?
--
You received this message because you are subscribed to the Google Groups "neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neonixie-l+...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/neonixie-l/b89b9428-12e2-49db-b7d6-dfd885e5e014n%40googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "neonixie-l" group.
To unsubscribe from this group and stop receiving emails from it, send an email to neonixie-l+...@googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/neonixie-l/4e57e146-ac3f-45a6-9134-46784e256257n%40googlegroups.com.
To view this discussion, visit https://groups.google.com/d/msgid/neonixie-l/10cf8d98-f533-4e51-913b-8d2c1dccc001n%40googlegroups.com.
I have 70 settings in the calculator that can be configured with the keyboard. I just asked claude to build a web configuration. 15 minutes later I have a page with all the settings grouped logically, with the correct descriptions taken from comments, with dropdown lists, color and time pickers and min and max values. And it just works!

To view this discussion, visit https://groups.google.com/d/msgid/neonixie-l/4ed3f3d4-19be-4c86-ac63-5b3a07ab7e8bn%40googlegroups.com.
On the other hand gentlemen, how many of you do NOT use a calculator when balancing your checkbooks, and still do the math in your head, or on paper with a pencil?????
Ira.
To view this discussion, visit https://groups.google.com/d/msgid/neonixie-l/0F7187B0-7C52-4DB7-B8C9-3DD08F0546C2%40gmail.com.