You may have wondered about the difficulty of programming in different programming languages. Most likely you will realize, articulating thoughts in a written format, in a language you grew-up speaking, is more complex than computer programming.
The basic parts of a programming language are conditionals and subjunctions. The most common subjunctions - if, else, else if, switch, and for. There are other complex subjunctions available as pre-defined functions in a programming language. Check the documentation. Of course you also define your own functions.
Similar to a written language, punctuation is required when programming. In programming, punctuation is called syntax. Each language has a syntax. For example, usage of curly braces, brackets, semicolons, hash rockets, arrows, parenthesis's, commas, and tab spaces.
The conditionals and sub-junctions are supported by logic. The logic is a sequential progression of a narrative. Narratives are multiple stories of a user interacting with your program. The formulated logic is used to write pseudocode prior to researching the means to write actual code for your program.
Prior to programming you can diagram your logic and plan your programming prior to opening a code editor. While planning you also evaluate the environment where the program is going to run or execute.
Main impediment to programming is learning to learn. This impediment is further assisted by the difficulty we have in modern times of being attentive. Since most of us were raised to be consumers and not doers. Also the world has plethora of distractions and many magicians who would spin us around and have us traverse their long winding paths.
One form of learning is where the principles of a subject are summarized. This is similar to how in the past social truths were taught through a oral tradition called nursery rhymes. Once memorized, the details are filled in over time through trial and error or further study. This format of education is still common in far East and Asia Minor. The predominant western style of education focuses more on analytical thinking and less on memorization. Once you understand a particular concept or theory - there is a book, calculator, or a app for that.
Steps to your first program
Your first program regardless of the programming languages begins with a story. The story involves your prospect program and a user or audience. You can diagram this story using circles and quadrilaterals.
Next, while still in the planning stage. Write down the stories using logical statements. The logical statements would serve well later as pseudocode.
The final step is actually writing your program. Most of the issues are related to having the environment prepared prior to programming and complex interdependence of components for the programming language you are trying to use. If you are new to programming then start programming with a command line language such as bash, python on a Linux Operating system and DOS shell on a Windows environment. Command line languages provide instant feedback and are easily accessible and common. If you are a experienced programmer then it's worth it to dedicate a small computer for each development environment for example a Mini Dell OptiPlex.
Further Thought Provoking References:
"Example of pseudo-code usage" (https://alistapart.com/article/aria-and-progressive-enhancement/)"Example of pseudo-code in Article"
"Logic as a tool" (https://www.google.com/books/edition/Logic_as_a_Tool/R687CwAAQBAJ)"Logic as a Tool"
"Software Engineering: A Methodical Approach" (https://www.google.com/books/edition/Software_Engineering/RWMnCgAAQBAJ)"Software Engineering: A Methodical Approach"
"Nursery Rhymes and Hidden Meanings" (https://en.wikipedia.org/wiki/Nursery_rhyme)"Nursery Rhymes and Hidden meanings"