CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 15 of 15
  1. #1
    Join Date
    Jul 2009
    Posts
    45

    Question 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

  2. #2
    Join Date
    Oct 2009
    Posts
    37

    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.

  3. #3
    Lindley is offline Elite Member Power Poster
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    10,895

    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.

  4. #4
    Join Date
    Dec 2007
    Posts
    50

    Re: Learn all programing languages

    Yes, and from a life view whichever language earns one more $$$ then it definitely is better

  5. #5
    Join Date
    Jun 2007
    Location
    MA-USA
    Posts
    247

    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.

  6. #6
    Join Date
    Oct 2009
    Posts
    8

    Re: Learn all programing languages

    Quote Originally Posted by Lindley View Post
    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

  7. #7
    Join Date
    Oct 2009
    Posts
    6

    Re: Learn all programing languages

    Quote Originally Posted by bitshifter420 View Post
    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 ?
    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

  8. #8
    Join Date
    Jun 2007
    Location
    MA-USA
    Posts
    247

    Re: Learn all programing languages

    Quote Originally Posted by Thoungba View Post
    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.

  9. #9
    Join Date
    Apr 2000
    Location
    Belgium (Europe)
    Posts
    4,626

    Re: Learn all programing languages

    Quote Originally Posted by Thoungba View Post
    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.

  10. #10
    Join Date
    Jul 2009
    Posts
    45

    Resolved 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

  11. #11
    Join Date
    Apr 2000
    Location
    Belgium (Europe)
    Posts
    4,626

    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.

  12. #12
    Join Date
    Sep 2009
    Posts
    15

    Re: Learn all programing languages

    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
    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.
    Picking the right language for the job can be half the job done already in some cases.
    Yes, definitely.

  13. #13
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: Learn all programing languages

    Quote Originally Posted by Ha555 View Post
    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/.
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  14. #14
    Join Date
    Oct 2002
    Location
    Timisoara, Romania
    Posts
    14,360

    Re: Learn all programing languages

    [ redirected ]
    Marius Bancila
    Home Page
    My CodeGuru articles

    I do not offer technical support via PM or e-mail. Please use vbBulletin codes.

  15. #15
    Join Date
    Nov 2009
    Posts
    3

    Re: Learn all programing languages

    Learn Java and dot net... your most of the problems will be solved...

    Regards,
    Jane
    http://www.ixtentia.com/

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured