Tried Google Gemini to code a Python ROS 2 multi-threaded node that subscribes to 2 topics, calls 2 asynchronous services and has a main callback every 1 second that implements a state machine.
It got close but I would be learning to "program" Gemini, rather than learning to program ROS, and I don't want to debug code that was not tested to work.
Starting from ROS tutorials with code that has been tested has worked well for programming my robots so far.