The syntax of coding differs from one language to another and every language has its own bag of tricks and techniques for solving a problem posed by an industry or organization.
The most important thing in a coding sequence is its logic and precision so that it works exactly what was intended by it. It should not malfunction. In technical terms, it should be bug-free.
Hence learning a code is alright but using it intelligently and precisely requires in-depth study.
Whichever coding language one selects to start one has to go through the basic books which are prescribed in first-year B.Tech Computer Science courses. They will be the correct reference for beginners.
One thing which is very important in the coding area is that today we are having different platforms like windows, Android, iOS, etc, and how our code would be linked to that is the crucial thing that a software engineer must understand. So, once the code is made in a precise manner how to link and make it useful for a particular environment is what most customers are looking for. It is also to be noted that knowledge of networking and interfacing would also be required and same is to be acquired by an ambitious person who wants to make a good career in this line.
Knowledge is power.