Thus, we all know that learning a programming language is a tiny part of platform performance. Learning Java libraries takes a lot more time than it takes to learn the Java programming language, the same for C #, JavaScript, Python, Ruby ... etc.
As programmers, we can easily make the observation that a for loop or an array is a for loop or an array in any programming language. After you learn the concept, you do not need to retrain it, so the syntax is different, but zero effort is repeated to study the concept. Obviously, this does not apply to standard libraries, which means that we need to study again how ordinary tasks, such as manipulating files, communicating with a database, creating networks on each platform we use, are inefficient and painful, there should be a better the way there.
W3C DOM is an example of a cross-language library, which should have the same function names and the same semantics, regardless of the programming language. The W3C DOM is difficult to use, but at least once you recognize it in one language / platform, then in other cases it is one and the same.
Is there a set of libraries for different languages, designed for the most common tasks that a developer should take care of around 2011.
- IO file operations
- Net
- Process management
- Access to the database
- Collections and Data Structures
- Cryptography, digital signatures, cryptographic hashes
- Anything else useful that doesn't include user interface code
Clarification: I do not need APIs tied to the current platform, such as .NET or JVM, because they are tied to the same company, and in many cases they APIs show their age, and if they were redesigned today, it would be much cleaner / better. In addition, being primarily a Java developer overseeing how Oracle uses Java judging, Google has become a real horror show. I really don’t need the hours that I invest in mastering the platform, which should be tied to a controlled entity, but rather as some kind of open source project where the best projects win.
Clarification: I'm looking for APIs that are the same in many different languages, not tied to the same language. For example, consider reading the contents of a text file. I need to open the file, read the contents, ... etc. I would look for an API where the function had exactly the same name in all languages, the same parameters in the same order, with the same returned data, the same error handling semantics. I know different programming paradigms, so I'm fine with the OO API version, functional version ... etc.