DEV Community

Cover image for Dev.to 2-Series: How to get started on writing code
Farheen Shaikh
Farheen Shaikh

Posted on

Dev.to 2-Series: How to get started on writing code

Know fundamentals of the programming

Welcome to another chapter of this series...You must know the fundamentals of the programming. Read and understand the various concepts. As, these concepts are similar across various programming languages, such as Python, C++, C, and Java.

As a beginner Some of these concepts include:

  • Variable declaration

  • Basic syntax

  • Data types and structures

  • Flow control structures

  • Iteration (Loops)

  • Functional programming

  • Debugging

There are various courses and online material available to gain knowledge on these topics.

Every programming language has a syntax and we must learn. Different data types refer to the classification of data. The control structure are sequential, selection and iteration type. It defines execution of control flow statements. Loop are the statements which gets executed based on defined criteria.

Functions are containers that take in a set of inputs and return an output. It is not required for a function to return a value. Pure functions will always give the same result for the same set of inputs.

Debugging is a skill which involves detecting and removing potential errors. It is also way with which we can go through programming statements line by line to make sure the program is working as expected.

Remember to write clean and neat code.

I hope you liked this article. Thanks for reading.

Share with your friends, fresher, even who is new to programming field and wants to get started. :)

Top comments (0)