I began by writing separate bits of codes for each task I need for my Robo-cat.
Then I included all code pieces, one by one, in the same program.
Currently I have 3 tasks included and I already feel lost in long code, despite extensive comments and separators (comments consisting in equal signs).
I read the forum sticky which is useful. But I found it is not enough to have a clear code -line at the end.
I was thinking to use IDE tabs to simulate "subroutines" but I do not have a clear idea of what to place where and how are the compilers links made.
a) Is there any editing/structuring techniques (besides comments and comment titles) in IDE or outside IDE to make code logic more visible?
b) Is the C++ itself better equipped to handle long codes? Or perhaps I could refer to C++ itself to find some engineering techniques there? (I have only a very incipient idea about C++, stil thinking if deserves more learning besides basic ideas from Arduino).
c) Is there any reference/tutorial about tabs in IDE somewhere?
d) Is there a chance (from your experience) to find a free editor more versatile in terms of handling long codes? I do not look for technical performance or advanced debugging, I just want to better see the code structure.