4 ms·
This is not a problem with the language but the one programming in the language not having a more in depth understanding of the language. Rushing for results w
by techjuice 12y ago
This is not a problem with the language but the one programming in the language not having a more in depth understanding of the language. Rushing for results without working out a proper solution or really understanding how to get from point A to B to get those results may end up with a false result. How do you prove and verify your work if you are taking short cuts to get something you hope is the correct answer. How do you know what you just copied and pasted is the most efficient way of solving the problem. When moving to C or C++ there are normally faster ways to accomplish tasks then what is possible with higher level languages due to the built-in limits of the higher level language.
It is similar to learning Calculus, Statistics, Number Theory, etc. you start at the beginning with basic math and move up the later, trying to skip these foundation and using what you find online without the capability to verify is a grave mistake. Those that skip the base foundation will be those that make grave errors in the future that can cost lives, time and or money.
Once you take the required time to learn C and or C++ you will eventually understand the power you have at your fingertips and what you once thought was hard or cumbersome will no longer be that way. A benefit of learning C and or C++ is that you will understand the languages they are built in better. Especially if you want to optimize the higher level code for performance or if you unfortunately find a security hole you will be able to assist with submitting a more detailed security report.
I see you are focused on seeing results as fast as possible, if you learn C and or C++ more in depth you will get the results faster when you run your professional grade code. On your note about having to rewrite a big chunk of the program eventually this is not true if you know what you want to do, design it properly up front and insure it is not heavily coupled with other parts of your code. C++ is a great language to get deep into object oriented programming and C for functional programming, learning both in depth will open your mind up to more battle-tested solutions that you can apply in higher level programming languages.
Just give it time you will see the light and it will help you in both lower and higher level programming languages.