How to use programming languages?
- kiranmalape

- Oct 10, 2021
- 2 min read
Legos and programming similarity.

We all know Legos it has many small-small bricks or blocks. We can use this small blocks to build anything like buildings, cars or toys by connecting them in particular way.
Programming languages are similar to the Legos, it has many small-small blocks like variables, functions, loops etc. We use these small blocks to build anything like websites, mobile applications or software.
In Legos, It needs a lot of blocks to create buildings. Similarly Software also need thousands of lines of code with variables, functions or loops.
While connecting Lego blocks, there are some rules, protocols and design requirements to connect these blocks. Not every block is compatible with other blocks. There are some rules, protocols and design requirements we need to follow while building Legos.
Similarly, while programming, not every code block is compatible with every other block. There are some rules, protocols and design requirements we need to follow.
While creating buildings with Legos, there are some major parts which are common for any building like walls, columns, windows or doors. We don't need to build them again and again. once built, We can use them as it is for other Buildings.
Similarly, while building websites or applications, Some major parts or functionality is similar For all the websites. So we don't need to code them again and again. We can use the same pre-built codes to create different websites or applications.

Here comes the frameworks. This prebuilt code libraries are known as frameworks. Every Programming language has some framework for website development or application development.
For example, Python has frameworks like Django, Flask. C Sharp has frameworks like .NET . JavaScript has frameworks like React.JS, node.JS.
70% of the programs or functionality needed for website is pre-built in these frameworks. Remaining 30% functionality is different for different websites. We need to Program it the way we want.
This is the basic overview of programming process. I hope this will help you. Understand programming. Thank you For watching.

Comments