M
M
Melonwatr12020-05-26 23:12:54
Programming
Melonwatr1, 2020-05-26 23:12:54

What programming language/paradigm separates code from data?

In which paradigm and language is code separated from data as much as possible

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Daniil Demidko, 2020-05-27
@Chronicler

Yes, in any case, if you use abstractions. For example, fields and class methods in Java - where to separate the data from the algorithm?
And containers and generic STL functions in C++ are just the embodiment of the idea of ​​separating algorithms and data.
Many examples can be given, from any mainstream language.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question