answersLogoWhite

0


Best Answer

A pure function is one function that has no side effects or output and doesn't depend on any state beyond its local state's means it can be replaced by any other pure function which returns same result given the same inputs.This property is often referred as referential transparency

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the difference between pure and impure function in computer language?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

What is the differnce between ordinary function and template function of c language?

The c language does not have template functions. That is a c++ thing.


What is difference between strcmpi and stricmp?

The strcmpi() function is identical to stricmp() function.


What is the difference between C plus plus and the original language?

C++ is easier to use as you have to learn slightly less and script slightly to make your function(s) work.


What is the difference between function and method in c language?

In object-oriented languages, a class member function is also known as a method. C does not provide native support for the object-oriented paradigm and therefore does not support methods.


What is the difference between static function and global static function?

'global static'?! There is no such thing.

Related questions

What is the difference between computer structure and computer function?

i think computer structure is just a drawing of computer in a postal or book while computer function is just like the purpose of a computer.


What is the difference between the newiset and the oldest computer?

hardware, computing language


What is the difference between java and internet?

The Internet is a world-wide computer network. Java is a computer programming language.


Example of fundamental difference between a polynomial function and an exponential function?

fundamental difference between a polynomial function and an exponential function?


WHAT IS THE DIFFERENCE BETWEEN LANGUAGE AND COMMUNICATION I NEED RARE ANSWERS ONLY?

what is the difference between speech,language and communication??There is a huge difference between language and communication


What is the difference between see and view?

In computer language, I perceive the difference between "see" and "view" as the difference between "see" (mere ocular recognition) and "read". For instance, "Click one of the documents you see on the screen to view it".


What is the difference between 2 and 10?

2 is decimal format in computer language. 2 can be represented as 10 in binary format.


What is the difference between operational software and application software?

Operating software is what makes a computer function. Application software uses the operating software to perform a specific function for the user.


What is the difference between computer and man?

computer does not have feelings The main difference is that a computer can't think.


Difference between normal function inline function?

gffg


What is the difference between the function of an organ and the structure of an organ?

the difference is ,a structure is where it is placed and the function is what it daos


What is the difference between the structure of an organ and the function the organ?

the difference is ,a structure is where it is placed and the function is what it daos