Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Programming (http://www.go4expert.com/forums/programming-forum/)
-   -   slove this question............ (http://www.go4expert.com/forums/slove-this-question-t18460/)

dimpi 10Jul2009 13:32

slove this question............
 
Hi friends...........

I would like to ask the purposes of using different programming languages. Like when should i use C, or C++ or asp or Java, etc.? I am waiting your reply:smug:

naimish 10Jul2009 13:36

Re: slove this question............
 
What do you mean by when to use ? and you comparing C/C++ with Java and ASP ?
:gossip:

xpi0t0s 10Jul2009 13:47

Re: slove this question............
 
Different tools for different jobs, that's all. Use a hammer when you want to hit something. Use a screwdriver for when you want to screw something. Use C when you need something for which C is the most appropriate tool, and use Java for when Java is the most appropriate tool.

The question then becomes "how do you determine which is the most appropriate language for a given task" which is much more complicated and depends on many things: availability of compilers, availability of skills, performance requirements, portability requirements and so on. For example it's all very well deciding that Smalltalk is the most suitable language for a given task, but if nobody you've got knows it and everyone available only knows C, then rather than train everyone up on Smalltalk and effectively reduce them all to beginners then it may be a more prudent choice to pick C.

naimish 10Jul2009 13:48

Re: slove this question............
 
Nice one xpi0t0s :)

fob500 14Jul2009 12:05

Re: slove this question............
 
Quote:

Originally Posted by dimpi (Post 52099)
Hi friends...........

I would like to ask the purposes of using different programming languages. Like when should i use C, or C++ or asp or Java, etc.? I am waiting your reply:smug:

Hey Dimpi.CLASSIC QUESTION going on for ages( But sadly It has no definate answer :undecided) .It depends on a lot of background information,the primary being what you are trying to code.
I'l suggest you visit this link http://www.search-this.com/2007/02/1...hould-you-use/ .I read this and found it interesting.Hope this helps.


All times are GMT +5.5. The time now is 11:26.