Answer the question
In order to leave comments, you need to log in
How to understand the program, and write your own code?
All textbooks and tutorials on PL talk about the basics of programming. And the examples use classic code. But, why exactly is it necessary to write like that, and nothing else. And how it is possible to implement the task in a different way, no one tells. Therefore, apart from repeating the "foreign" code, it is impossible to do something of your own.
What is the most effective way to get out of this framework, and learn how to write your own code?
I hope for understanding the problem, and the most useful answers! Thanks to all!
Answer the question
In order to leave comments, you need to log in
In order to "get out of this framework", you must first learn to understand these frameworks.
To learn how to write code, you have to write code. Yes, even if you can’t just take and solve a problem, even if its solution is not visible.
What is the most effective way to get out of this framework, and learn how to write your own code?Solve problems not through the use of ready-made solutions, but also not to go to extremes. It's perfectly normal not to parse video files at a low level, just learn how to use ffmpg.
just like an engineer, if he doesn’t think with his head, he won’t come up with anything new.
Develop your head and think about how to use standard tools in non-standard conditions for you
1. Programming is not writing code, but solving the problem of the customer / employer. Nobody needs your "unique code" if it is not able to save time / money
2. Any task can be divided into 100-1000 smaller ones, usually standard ones, well described theoretically for a long time, for which an optimized code has already been created. Question - why reinvent the wheel?
3. There are a huge number of standard problems that do not have an optimal solution, such as finding prime numbers. But this is no longer a matter of coding. So if you find a better solution to any issue, honor and praise to you. Well, writing code is a trifle.
Want a book like "500 Spellings of Hello World"? Well, read it - then what? You will know 500 options for displaying a string. And what's the point of this? That's right, none.
All textbooks and tutorials on PL talk about the basics of programming.Well, in language textbooks, they just don’t teach programming as such, they basically have the syntax of a particular language, its device, its libraries, etc.
How to understand the program, and write your own code?
Start with algorithmization, then the syntax of the language, then aspects of typing, non-typing of variables in the language, you can start writing your code stumbling over errors generated during compilation and code execution glitches, this is how the Zen of programming is known, and to questions why this is so, and not otherwise, you can be you will come in 10 years when you begin to understand the entire architecture of the OS or the nuances of the interpreter that this code executes, maybe never envy most often not from you, everything changes too quickly in this kingdom, especially on the web
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question