B
B
beduin012014-09-04 09:55:54
Programming languages
beduin01, 2014-09-04 09:55:54

How is a programming language different from a framework?

Well, if you really understand. The language library is a set of modules and blanks i.e. in fact, a framework, from the bricks of which we build an application, right?
It turns out that the point is solely that the framework is a higher-level entity and that's it?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
Z
z777, 2014-09-04
@z777

I can be wrong, in my understanding it looks like this:
The language library is a set of necessary elements for work, for example: ArrayList, Timer, TimeUnit, Loger, etc., i.e. those things with which you develop programs.
A framework is a set of abstract functions that make it faster and easier to develop, for example, you need to read a file, using the language and its libraries, you access the file, check whether information can be read from it, open a stream for reading, read, close the stream and etc. It is enough for the framework to call one method that will return the contents of the file to you, and it will do the entire implementation for you. Something like this.

T
TheOddOne, 2014-09-04
@TheOddOne

Hmm, if you think globally, then we can say that a framework, in comparison with a programming language, is just a higher-level entity.
For example, take Machine Language as an example, in fact almost all programming languages ​​eventually work with it. That is, all programming languages ​​can be called frameworks if you think globally.
JS for example is a kind of machine code for browsers, and jq is a framework that is built on top of JS. But in fact, jq can completely replace js. Just like C can replace Assebler at a performance cost.
From this we can conclude that the difference between a framework and a programming language is the lack of translation processes in the former (well, other processes, depending on the programming language). As I understand it, although I may understand it incorrectly :)

V
Valentine, 2014-09-04
@vvpoloskin

What do you think is the difference between a programming language and a ready-made software? After all, both are software, machine code. Those. in fact, a program is a programming language, just put in the right form)
Now let's turn to the wiki and see that:
a programming language is a formal sign system designed to write computer programs
a framework is software that facilitates the development and integration of different components of a large software project
The framework is already software to facilitate the task, and the language is the basis.

A
Alexander, 2014-09-04
@SashaSkot

A framework is based on the rules of the programming language in which it is written. Hence, there may be different restrictions and, as a result, the implementation of a number of functionalities.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question