If someone is just starting with programming, I would recommend not worrying too much about functions at first. Don't overthink it. Just write your code, let it flow, enjoy the process, and if you find yourself copying and pasting, stop and consider whether the repeated functionality could be better organized into a function. As you gain more experience, you'll naturally start recognizing opportunities to use functions earlier. You'll notice patterns, such as functionality that will repeat itself later or logically separable parts of your code that only differ in specific values. These situations are clear indicators to "use a function with parameters". There is also a general recommendation - if you've written a lot of code (dozens of lines or more) without breaking it into smaller parts, it might be a sign that separating your logic into functions could improve readability and maintainability. Dividing your application into logical steps through functions is very good practice.
For game development, especially when working with graphics, it is essential to understand and master linear algebra. For simulations, calculus is crucial. In data science, statistics is huge. For traditional computer vision, computational geometry... to name a few :) It really depends on the field. Indirectly, math, in any form, helps in understanding programming because it teaches you how to think logically and structurally. This skill is an absolute must for software development.
@@Dr.Vlasanek I meant like if I begginner is good to start prealgebra and then algebra,calculs? I Wang for machine learning and love to build something 🥺😢
I wouldn’t necessarily recommend studying math beforehand just for sake of programming. I believe learning should be an enjoyable experience, don't bother yet with things which are not mandatory or exciting. Start with a project you’re passionate about, follow the code, and if you encounter math concept which is new to you, you’ll know that’s the next thing to study. There’s no need to guess in advance what you’ll need. For machine learning, I can recommend Andrej Karpathy and his channel: karpathy.ai/zero-to-hero.html Once you’ve grasped the basics of Python, you can pursue any specialization you want. The math will show itself later :) Good luck!
Hold up what is the important to know when make your own function?
If someone is just starting with programming, I would recommend not worrying too much about functions at first. Don't overthink it. Just write your code, let it flow, enjoy the process, and if you find yourself copying and pasting, stop and consider whether the repeated functionality could be better organized into a function.
As you gain more experience, you'll naturally start recognizing opportunities to use functions earlier. You'll notice patterns, such as functionality that will repeat itself later or logically separable parts of your code that only differ in specific values. These situations are clear indicators to "use a function with parameters".
There is also a general recommendation - if you've written a lot of code (dozens of lines or more) without breaking it into smaller parts, it might be a sign that separating your logic into functions could improve readability and maintainability. Dividing your application into logical steps through functions is very good practice.
@Dr.Vlasanek so what math is required for programming?
For game development, especially when working with graphics, it is essential to understand and master linear algebra. For simulations, calculus is crucial. In data science, statistics is huge. For traditional computer vision, computational geometry... to name a few :) It really depends on the field.
Indirectly, math, in any form, helps in understanding programming because it teaches you how to think logically and structurally. This skill is an absolute must for software development.
@@Dr.Vlasanek I meant like if I begginner is good to start prealgebra and then algebra,calculs?
I Wang for machine learning and love to build something 🥺😢
I wouldn’t necessarily recommend studying math beforehand just for sake of programming. I believe learning should be an enjoyable experience, don't bother yet with things which are not mandatory or exciting. Start with a project you’re passionate about, follow the code, and if you encounter math concept which is new to you, you’ll know that’s the next thing to study. There’s no need to guess in advance what you’ll need.
For machine learning, I can recommend Andrej Karpathy and his channel: karpathy.ai/zero-to-hero.html
Once you’ve grasped the basics of Python, you can pursue any specialization you want. The math will show itself later :) Good luck!