So, to start off, a bit of background.
I am 26 years old, and have been programming since i was about 12, in the days of VB3. My languages go from VB, to VB.Net, to C#, to some Java, C++, and PHP.
Now, I read a post on here from someone asking if code jumping was supported, and knows its not the "Professional" way. I have read similar statements across other forums as well...
To sum it up, there is NO "Right way" of programming.
If it gets you from point A, to point B without erroring out, i'd say you did it the "right way".
Now, the only difference is, is how you got there, and how I would get there.
In smaller applications, efficiency is not really something you need to worry about, so you can afford to take short cuts.
However, lets be honest.
If the project is to "Take over the world"...
My way, can do it in 15sec. Your "incorrect" way can do it in 18sec.
Is 3 seconds enough to raise a stink about? It would depend on who you ask.
Now, I know enough to get the desired result. I know how to troubleshoot to fix what is broken, and I know enough to keep my code organized for easy modification. I did NOT goto college, I did however goto a class when I was in high school, that taught you VB. However, it was stuff i've never heard of, but the outcome was stuff i've done 10 times over.
I remember in class, the teacher was telling us to make an application that does..something (I do not remember).
I programmed it my way, while the rest of the class programmed it..the teachers way.
My way consisted of about 3/4 the code, and no comments.
I finished about 30min before everybody else. And I remember the teacher telling me I was wrong. I also remember getting into a debate with him in class over this.
Program speeds were similar. Code execution on my end was generally quicker (about a second). So overall, mine was better.
Eventually the teacher decided to ask me questions about the code, versus telling me I was wrong.
These are things you should take into account when programming.
Dont worry about doing it "the wrong way", because when someone says you're doing it wrong (but the outcome is the same), it generally means its not how THEY would do it.
The next time someone says you're doing it wrong, but the outcome DOES come out the same(error free), ask them HOW it is wrong? Maybe they see a potential issue given a certain command; Maybe they see unneeded code; or MAYBE its just not how they would do it.
In the wonderful world of programming, it is one persons creation (however shitty it may be), sparks the imagination and creativity of someone else's. This is a form of competition.
If Ford never had competition, we'd still all be driving around in a Model T. Why? there is nobody else to challenge their design.
If Microsoft didnt have apple, we'd still be on Windows 3.5...
Because if we were on Windows 3.5, with 40MHz processors and 2MB of ram, there would be no need to spark for technology advances.
Sorry for the rant, good day.
Good luck in your programming!
I am 26 years old, and have been programming since i was about 12, in the days of VB3. My languages go from VB, to VB.Net, to C#, to some Java, C++, and PHP.
Now, I read a post on here from someone asking if code jumping was supported, and knows its not the "Professional" way. I have read similar statements across other forums as well...
To sum it up, there is NO "Right way" of programming.
If it gets you from point A, to point B without erroring out, i'd say you did it the "right way".
Now, the only difference is, is how you got there, and how I would get there.
In smaller applications, efficiency is not really something you need to worry about, so you can afford to take short cuts.
However, lets be honest.
If the project is to "Take over the world"...
My way, can do it in 15sec. Your "incorrect" way can do it in 18sec.
Is 3 seconds enough to raise a stink about? It would depend on who you ask.
Now, I know enough to get the desired result. I know how to troubleshoot to fix what is broken, and I know enough to keep my code organized for easy modification. I did NOT goto college, I did however goto a class when I was in high school, that taught you VB. However, it was stuff i've never heard of, but the outcome was stuff i've done 10 times over.
I remember in class, the teacher was telling us to make an application that does..something (I do not remember).
I programmed it my way, while the rest of the class programmed it..the teachers way.
My way consisted of about 3/4 the code, and no comments.
I finished about 30min before everybody else. And I remember the teacher telling me I was wrong. I also remember getting into a debate with him in class over this.
Program speeds were similar. Code execution on my end was generally quicker (about a second). So overall, mine was better.
Eventually the teacher decided to ask me questions about the code, versus telling me I was wrong.
These are things you should take into account when programming.
Dont worry about doing it "the wrong way", because when someone says you're doing it wrong (but the outcome is the same), it generally means its not how THEY would do it.
The next time someone says you're doing it wrong, but the outcome DOES come out the same(error free), ask them HOW it is wrong? Maybe they see a potential issue given a certain command; Maybe they see unneeded code; or MAYBE its just not how they would do it.
In the wonderful world of programming, it is one persons creation (however shitty it may be), sparks the imagination and creativity of someone else's. This is a form of competition.
If Ford never had competition, we'd still all be driving around in a Model T. Why? there is nobody else to challenge their design.
If Microsoft didnt have apple, we'd still be on Windows 3.5...
Because if we were on Windows 3.5, with 40MHz processors and 2MB of ram, there would be no need to spark for technology advances.
Sorry for the rant, good day.
Good luck in your programming!