SIZ Education || Beginner tips for programming || by @aqsaejaz #club75 #club5050
Assalam-u-alaikum steemians
I haven't written a programming post in a long time. When I first started programming, I ran across a number of roadblocks that I didn't know how to overcome, such as remembering modules and figuring out how to import them. Another major issue I had was figuring out how to make while and for loops. I couldn't manage the conditions and statements at first, and every programme I built had a lot of bugs, but I gradually improved at identifying and repairing my errors.
Here are some basic tips that every beginner should know......
Why is Learning Important?
The first step in learning any programming language, in my opinion, should be to ensure that you understand how to learn. Learning how to learn is, without a doubt, the most important talent in computer programming.
Use a coding Standard
It's simple to develop lousy, disorganised code, but it's far more difficult to keep it up to date. Good code adheres to a set of rules for naming conventions, formatting, and so on. Standards like these are useful because they make things deterministic for anyone who reads your code later, including you.
Writing comments
Comments are really important. You won't appreciate them until you step away from your thousand-line script for a few days and try to decipher it. Useful comments make life simpler for you and others who must maintain your code after you.
For ambiguous lines, create relevant, single-line comments; for functions and methods, write detailed parameter and functionality descriptions; for tough logic blocks, describe the reasoning in words before it if required. Also, don't forget to keep your comments current!
Use the power of the search engine
Give me the honour of shocking you if you think programmers are gods who write foreign language into computers entirely from their thoughts. The top googlers are programmers. On Google, you may find anything from mistakes to "How to's." For example, instead of paying thousands of dollars to learn a new language, I googled "Learn flutter" and within a month had constructed my first flutter, which is now up and running.
Someone is regarded to as a programmer just because he or she knows how to utilise Google more effectively.
Exercise your brain
Try to train your brain muscles more rather than relying on shortcuts like copying and pasting code. Manually entering the code will assist you learn the syntax and structure of the language you're using. You may also improve your logical reasoning skills by solving toy issues on the most popular website, codewars. Toy issues encourage you to think logically and to constantly look for different approaches to complete the same goal.
Use version control software
For version control, good development teams used CVS and diff patches in the past. Nowadays, however, we have a wide range of options. Managing changes and revisions should be simple yet effective, so choose the version control software that best fits your development team's workflow.
Use Automated Build Tools
To prepare, compress, and deploy your source, try using tools like Ant or Phing. Building your entire application with a single command is a fantastic method to avoid the mistakes and omissions that come with repetitive activities, and it's a must-have for automated testing techniques. If you're unfamiliar with Phing, the PHP Build Tool, and Vito Tardia's post Deploy and Release Your Application with Phing, I recommend reading Shammer C's essay Using Phing, the PHP Build Tool and Vito Tardia's article Deploy and Release Your Application with Phing.
Avoid Global Code
Global variables and loops are a pain to work with, especially when your programme expands to millions of lines of code (as most do!). They may have an ambiguous impact elsewhere in the code, or generate name conflicts. Consider if you want to clutter the global namespace with variables, functions, loops, and so on.
In an ideal world, there should be no global blocks specified. All switch statements, try-catch, foreach, while-loops, and other code should be included within a method or function. Methods should be defined inside class declarations, and namespaces should include class and function definitions.
Remember that you may always achieve this by leveraging the search engine's capabilities.
As a parting shot, as a programmer or aspirant programmer, you must be fiercely intelligent.To become flawless, you must put in a lot of time and effort. Speak to the computer until it answers in a timely manner.
lemme know more tips if you have i would love to read
Thanks you for visiting my post
Special thanks to
@cryptokraze
@vvarishayy
@suboohi
@faran-nabeel
@siz-official
#club5050
#club75
@cryptokraze | @arie.steem | @qasimwaqar | @vvarishayy | @suboohi
I found your post to be helpful for the beginners, great effort!
Tysm bro✨
Please read these guidelines
For SIZ Education, we have Tuesday and Friday
https://steemit.com/hive-181430/@siz-official/siz-community-guidelines-on-daily-content-creation-categories
So now what can i do? Should i repost this tomorrow?