| | |
Why are there so many languages?
Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
![]() |
•
•
•
•
Originally Posted by Lord Soth
1.An algo can't have both constant time and O(n^2).
2.There is no such thing as O(n^2 + <something>)
•
•
•
•
Originally Posted by Soth
3.Time complexity of an algorithm is independent of PL, OS or anything at all. Even if you have hardware quick sort on your machine it is still O(n log n) (Worst case O(n^2))
•
•
•
•
4.I still have no idea about what is the algorithm we debate on its time complexity.
sum_from_1_to_K(x^n) - sum_from_1_to_K((x-1)^n) = K^n
iteratively or recursively. The algorithm implements this and then evaluates the closed form of the expression.
All my posts may be redistributed under the GNU Free Documentation License.
•
•
Join Date: Jul 2005
Posts: 244
Reputation:
Solved Threads: 5
To quickly answer the original query (though this is an interesting discussion)
There are many languages because well, people needed code systems that could do some process. They were abstracted up from machine language, and at the lowest levels, they do mostly the same things, but:
Some languages have better optimizations and implementations of a program.
I'd say you should pick up the fundamentals of programming first. Figure out what you want to do with a program, the abstracts of data structures and operation automation, then find a language and figure out how to do things in that language. Once you know how to think, picking up any language is pretty simple. But to learn the language, you've got to work at it and figure things out by doing increasingly complex operations.
There are still a fair number of old mainframes and systems out there that run code written in the 70's and 80's, but you should probably go with a more recent language. The level of abstraction will be higher, and you'll be able to find more help... from, for example, people on DaniWeb.
There are many languages because well, people needed code systems that could do some process. They were abstracted up from machine language, and at the lowest levels, they do mostly the same things, but:
Some languages have better optimizations and implementations of a program.
I'd say you should pick up the fundamentals of programming first. Figure out what you want to do with a program, the abstracts of data structures and operation automation, then find a language and figure out how to do things in that language. Once you know how to think, picking up any language is pretty simple. But to learn the language, you've got to work at it and figure things out by doing increasingly complex operations.
There are still a fair number of old mainframes and systems out there that run code written in the 70's and 80's, but you should probably go with a more recent language. The level of abstraction will be higher, and you'll be able to find more help... from, for example, people on DaniWeb.
Explainer of control logic and some basics.
"If you seek to drink from a fountain of knowledge, make sure your cup is big enough."
"If you seek to drink from a fountain of knowledge, make sure your cup is big enough."
![]() |
Similar Threads
- Which of the .NET Framework Languages Is Best? (ASP.NET)
- theory of programming languages (Computer Science)
- Computer Languages Comparison Tutorials (Computer Science)
- High-Level Languages (Computer Science)
- I need help with languages (PHP)
Other Threads in the Computer Science Forum
- Previous Thread: help plase
- Next Thread: Please help with an academic research
Views: 6862 | Replies: 31
| Thread Tools | Search this Thread |
Tag cloud for Computer Science
ai algorithm algorithms assignmenthelp automata battery bigbrother binary bittorrent bizarre bletchleypark blogging bomb business cern clueless codebreaker compiler computer computers computerscience connect conversion csc data dataanalysis dataintepretation development dfa dissertation dissertations dissertationthesis dissertationtopic employment energy extensions foreclosure foreclosuresoftware fuel gadgets givemetehcodez government graphics hardware history homeowners homework homeworkassignment homeworkhelp humor ibm idea ideas internet iphone ipod jobs kindle laser laws lazy linkbait lsmeans mainframes mining mobileapplication msaccess nano netbeans news os piracy piratebay principles programming rasterizer research sam-being-cute sas science security sex simulation software spoonfeeding spying sql stephenfry student study supercomputer sweden syntactic technology textfield turing turingtest two'scompliment warehouse ww2






