What is the best way to improve at coding?
So right now I lack the ability to do pretty basic logical coding stuff with leds and stuff.
What is the best way to get the basics of coding down? Should I get a book or something?
8 Replies
Sure there are lots of books.
Also in #Resources, tutorials, and more for this server. There are 2 free pdf's that come with most kits that walk you though the basics.
So does factoring mean
to make the code prettier
simpler looking
Rather than have a very long function that is hard to read and maintain you "factor out" the various functions within the function into a series of smaller, easier to read and maintain functions. Often you'll write some code and then say to yourself "I'm doing this bit over and over in this function", a good clue that that code should be re-factored into its own function.
ukay
ty
but, when I start to work on coding, like today, I havent got anyting done
I have only tried to undestands a piece of code
is this that beneficial?
Should I do easier coding instead, that takes less time to undestand
once you become more proficient you'll notice repetitious code and want to reduce it.
when starting out, if the code does what you want - take the win 😉
@TheStudier so where did the code come from that your trying to understand
well I could't get this project to work, so I said AI to do it so that I could learn from the AI code
but couldn't understand
and then your code too
Yeh. Don't do that.
Just start off with the basics and hand code it all.
Leave ai alone