SIZ Education || Beginner tips for programming || by @aqsaejaz #club75 #club5050

in Steem Infinity Zone3 years ago

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......

Tips and tricks.png

image.png

Why is Learning Important?

WhatsApp Image 2022-01-10 at 7.02.54 PM.jpeg

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.

image.png

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.

image.png

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.

image.png
source

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!

image.png

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.

image.png

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.

image.png

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.

image.png

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.

image.png

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.

image.png

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.

image.png

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

Divider 2.png

Steem Infinity Zone Team
@cryptokraze | @arie.steem | @qasimwaqar | @vvarishayy | @suboohi

Footer.png

Click Here to Join Official SIZ Discord Channel

Discord
Twitter
Facebook

Divider 2.png

Sort:  
 3 years ago (edited)

I found your post to be helpful for the beginners, great effort!

 3 years ago 

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

 3 years ago 

So now what can i do? Should i repost this tomorrow?

Coin Marketplace

STEEM 0.22
TRX 0.21
JST 0.035
BTC 98736.02
ETH 3346.70
USDT 1.00
SBD 3.12