Learn all programing languages
I am thinking if i need to learn all programming languages. Now that I know C++ for MFC
nothing more
I am thinking learning java but it seems hard and I am running out of time to joke with programing languaghes.
In my job my position I am thinking
I will hire some people, each of whom good at one programming language, and I think I am smart doing business after all
Re: Learn all programing languages
Im far from a C++ Jedi, but I understood "programming" to be language neutral.
Once you've grasp the concept of "programming," then the only barrier to learn a new language is syntax.
Re: Learn all programing languages
Actually it's a combination of syntax and approach. Different languages can take drastically different approaches to solving the same problem, even if their syntax looks similar. Trips people up trying to migrate between languages sometimes.
Re: Learn all programing languages
Yes, and from a life view whichever language earns one more $$$ then it definitely is better
Re: Learn all programing languages
I agree..
I had written some code in Cpp for my game engine and now
wanted to speed it up with some SIMD assembly language.
The approach was totally different and i was lost for a while...
I ended up tossing the entire code and starting out fresh.
Re: Learn all programing languages
Quote:
Originally Posted by
Lindley
Actually it's a combination of syntax and approach. Different languages can take drastically different approaches to solving the same problem, even if their syntax looks similar. Trips people up trying to migrate between languages sometimes.
Maybe because you are instilled with full of programming languages, you no longer sound like an amateur with dreams for different jobs different people
I think Java and C# share the same backbone somewhere
Re: Learn all programing languages
Quote:
Originally Posted by
bitshifter420
I agree..
I had written some code in Cpp for my game engine and now
wanted to speed it up with some SIMD assembly language.
Can you post an example ?
Quote:
The approach was totally different and i was lost for a while...
I ended up tossing the entire code and starting out fresh.
Believe me I see how odd people are when they rewite the whole long module in assembly that is definitly out of place and lowers readability of the code
Re: Learn all programing languages
Quote:
Originally Posted by
Thoungba
Can you post an example ?
Take ANY code and port it to SSE and you will see what i mean...
And dont think that assembly language needs to be long and unreadable.
In most cases i can produce the same algorithm in the same amount of lines.
But highly optimized code can become unreadable because of fancy bithacks.
Re: Learn all programing languages
Quote:
Originally Posted by
Thoungba
Believe me I see how odd people are when they rewite the whole long module in assembly that is definitly out of place and lowers readability of the code
The biggest failure in any assembly optimising task is starting with C++ code, or compiled-to-assembly-c++ and fiddling some instructions around hoping to squeeze a clockcycle here or there.
If you want to make a GOOD assembly optimised bit of code, you start by listing what a function needs to DO, then write the best thing you can that does just that from scratch without looking at how a compiler did it or how you'd do it in another language.
Going to assembly language is a costly operation in time of an experienced programmer, if all you get out of that is a clockcycle here or there, it's a wasted effort.
Personally, I don't even bother to begin with assembly unless I'm conviced I can at the least get a 3x (yes, times, not 3%) speedup. It's just not worth it otherwise.
Re: Learn all programing languages
Thanks everyone I am quite clear.
About assembly problem, yes, I agree there is nothing free, one way or the other, things done must deserve some partcular price even a msall tip that must exist in the business transact
Re: Learn all programing languages
I think what's important to note about different programming languages is that they all have a particular focus.
Picking the right language for the job can be half the job done already in some cases.
Know what a programming language is good at (and bad at), then pick the right tool for the job. Don't get stuck on a language simply because a job can technically be done with it.
Re: Learn all programing languages
Quote:
I think what's important to note about different programming languages is that they all have a particular focus.
What focus is that ?
An OO language isn't meant solely for OO problems
Quote:
Know what a programming language is good at (and bad at), then pick the right tool for the job. Don't get stuck on a language simply because a job can technically be done with it.
Yes, this is true.
Someone just means to master it but then loses almost everything for the waste of time. My sons are mono-language(C/C++) masters. They seem to know nothing else as the job/tasks are assigned by different parts of him, employees.
I used to have time unable to figure this out correctly and get insults until I received no paychecks the job cut.
Quote:
Picking the right language for the job can be half the job done already in some cases.
Yes, definitely.
Re: Learn all programing languages
Quote:
Originally Posted by
Ha555
I am thinking if i need to learn all programming languages. Now that I know C++ for MFC
nothing more
I am thinking learning java but it seems hard and I am running out of time to joke with programing languaghes.
In my job my position I am thinking
I will hire some people, each of whom good at one programming language, and I think I am smart doing business after all
All programming languages? Are you aware of haw many exists? Check this site to get an idea: http://99-bottles-of-beer.net/.
Re: Learn all programing languages
Re: Learn all programing languages
Learn Java and dot net... your most of the problems will be solved...
Regards,
Jane
http://www.ixtentia.com/