You already know that each computer language has it's own strengths and weaknesses.
Way back in the Dim, but not fully Dark, Ages, COBOL was created specifically to handle names, numbers, addresses - that sort of info for business use. FORTRAN was created for scientific applications. More recently, languages have been created specifically for object oriented programming, or for computer animation.
The tasks I have mentioned are all different. The language designers create a language to optimize a particular function.
A language could probably be created to handle the various separate functions, but it would not be optimized. it wouldn't be efficient. It wouldn't be elegant.
2006-07-24 07:59:27
·
answer #1
·
answered by nickipettis 7
·
3⤊
0⤋
As someone mentioned earlier, any programming language could solve an algorithm with varying levels of efficiency.
To use an analogy, why are there so many vehicles on the road when a single vehicle can do. While vehicles are used for transportation each is used in a particular context. For eg, a lorry can handle big loads, bikes occupy less space and are fuel efficient, cars offer a comfortable journey, jeep can handle various terrains etc.
2006-07-24 17:47:18
·
answer #2
·
answered by swami060 3
·
0⤊
0⤋
There is no problem that a language cannot handle because of the language itself. Most of the time it is just the "ease" that another language provides for a particular problem because of some built in functions/classes. Unless the language simply does not support a basic function (like writing to a file), there is no reason any problem cannot be solved with any language...
Just like given an infinite amount of memory and time, any computer can solve any problem that any computer infinitely more "advanced" can solve. It all breaks down to bit twiddling.
2006-07-24 08:02:42
·
answer #3
·
answered by Brian S 2
·
0⤊
0⤋
There are some languages especially suited for specific task. Datalog/Prolog for recursive task. Can other languages accomplish the same thing - yes but not as nearly as concisely.
Not all languages are OO or procedural (though that is what most script kiddies think programming languages are) . There are other paradigms of programming languages like functional, declarative, symbolic, etc.
Programming languages are just a subset of all "languages."
2006-07-24 09:02:37
·
answer #4
·
answered by Anonymous
·
0⤊
0⤋
Languages are metaphors for a means to acomplish tasks
when languages grow outside this original purpose
the syntax, data types and symbols become more convoluted.
or the restrictions to obscure.
all languages have basic loops, conditionals, and some level of I/O. Even object oriented languages must use procedural flow
statements. At some point somebody finds they want CASE instead of IF-THEN-ELSE, or they need a double-word-unsigned-boolean-date-type that only counts from March 13th,1983.
I generally do all my data/text / batch processing at work in Euphoria,
as well as my Photo Origami software; Photuki
the reserved keywords are sparse, symbols minimum,
and data types limited to atomic numerical values or
sequences of atoms and sequences.
2006-07-24 08:41:08
·
answer #5
·
answered by Thinkways 2
·
0⤊
0⤋