...can write a dumb code 100's of lines long that are designed to be read by a newbee when I know they could have just typed a few lines that would take a newbee a week to understand.
I pointed this out as one of the best examples of RDC (i.e., Really Dumb Code) I had ever seen. I noticed several programmers cringe when I said it. I was fired the next day. Evidently the person who hired me also wrote the code.
"What's a function?"I mean, it's fine advice, but functions are a relatively advanced concept in programming, especially for the arduino target audience - we regularly see questions like "how can I make another void, like loop?"
I know not everyone agrees, but when I see a thread like this my response is always "go do a free C++ tutorial - there are thousands to pick from".