For the benefit of the non-programmers (like myself) that would like to learn to become good programmers, what practical advice can you give?
These days, there is a plethora of courses, books, websites, about programming, and an ever-growing number of programming languages. Being a non-programmer I find it difficult to distinguish between the good and the bad.
When I (try to) code, the biggest difficulty I find is knowing the "right" way to code, that is, my finished product does the job, but I have no idea if it is the most elegant solution, or the most secure solution.
Is there a book or course or recommended beginner's programming language and approach that is best for non-programmers? I see a lot of books about how to code in this or that programming language, but very few seem to teach you the correct general programming approach, or use real-world examples that are useful.