The most all-powerful programming language is ...... The most all-powerful programming language is ......
Reply content: the subject wants to pick a head and let these programmers tear each other, and then he sneaked into the dark. I have no idea which language is omnipotent. For example, although C is a high-level "machine language", it is inconvenient to develop something.
C/C ++ is more versatile, but the (Binary) cross-platform is not as good as those on the JVM, or as good as the scripting language.
C/C ++ can certainly be used as a Web service. Apache is written as more than 90% of C, and C ++ can certainly be used,
C ++ can also use Qt to create GUI applications, and NDK can be used for Android development,
However, the development cycle of C ++ is not generally long, and there are not many Java packages. Therefore, the feeling of Writing C ++ is to build your own wheels. before I knew there was stl, even the vector was shining. NET/Java, the List itself implements. from Java/C #, everyone who wants to die is ready. of course, this is an advantage for cool people to write their own comfortable APIs.
Of course, if you want to write the operating system kernel or something like that, I can't help it either. The script language, such as Python, is not even implemented by the native compiler yet, I don't think it's possible to write a kernel...
Therefore, we try our best to use existing tools to do things well and learn the language. In the most exaggerated case, we learned three times a day, now I want to list which languages I have learned.
To sum up, if you have an urgent task that requires you to learn a new language, you can basically start with sequence except Haskell or Lisp (Scheme/Common/Clojure:
0. clarify the structure of the Hello World Program, except for one line
1. Check whether the script language is bytecode or Native, whether the compiler/Interpreter/runtime environment is long, what is in the code, which is ignored by the annotation compiler, and which code is preprocessing.
2. we are optimistic about whether it is a dynamic or static type, whether it is a strong or weak type, how to declare variables, what naming conventions are there, and whether integers and floating-point numbers are clearly differentiated, for example, if 3/2 is equal to 1 or 1.5, is there any risk of overflow?
3. whether ++ auto-increment operators, I + = 1, and Math library can be used for learning +-*/or other operators, & | <>>>> ^ can be used normally?
4. process control if... else if... else switch for foreach while and so on. Now, many languages cannot write for loop like C.
4. Check whether the declaration of the function needs to return the type declaration, whether to declare the function prototype, whether to reference and pass the value by default, whether to support recursion, and whether the function can be put into a variable.
5. Check the basic array and other data structures. Check whether the array is a pointer or an object or a Collection. If there is a built-in data structure, it can be said that it is a favorite of new users.
6. Check whether the string is a pointer or an object.
7. exception Handling, whether there is a checked exception, how to throw the exception and catch it
8. Is there OOP? Does the support not support inheritance encapsulation polymorphism? How does the class be declared? How does a static type use generics/templates?
Is there a struct or union without OOP? Or are all there?
9. Do not support explicit pointers, Insecure code, memory management (malloc free new delete), and garbage collection?
10. are Lambda expressions, function pointers/references, and closure functions just syntactic sugar? (For example, Java 8 is basically a syntactic sugar.) function callback, a rower!
11. multithreading, Concurrency, Synchronization
12. file IO, stdio
What can I do?
This is basically the case.
The answer to such a long paragraph is a little different ...:
I don't mean that C language is no longer required. C language is the root of programming. Can we skip it? I will clearly tell you this.
Don't want to make a big news, say the C language is useless, and then criticize K & R. You guys naive.
Isn't it a comment language ???
Harmless support for any Compiler
Cross-platform portability distributed
Understanding-oriented
Easy to understand and readable syntax
It is easier to learn than any machine, assembly, and advanced languages. Isn't it English? C. Where there is a machine language, there is c
Python, the Swiss army knife in the scripting language, python is not good. 0101010101010110101010101010101010 is obviously brainfuck .. Computing power is equivalent to a Turing machine, and can implement algorithms in any language Most programming languages are turing equivalent. So what a language can do is what other languages can do.