Jump to content
Main menu
Main menu
move to sidebar
hide
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Special pages
Niidae Wiki
Search
Search
Appearance
Create account
Log in
Personal tools
Create account
Log in
Pages for logged out editors
learn more
Contributions
Talk
Editing
Side effect (computer science)
(section)
Page
Discussion
English
Read
Edit
View history
Tools
Tools
move to sidebar
hide
Actions
Read
Edit
View history
General
What links here
Related changes
Page information
Appearance
move to sidebar
hide
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
== References == {{Reflist|refs= <ref name="Spuler-Sajeev_1994">{{cite book |title=Compiler Detection of Function Call Side Effects |author-last1=Spuler |author-first1=David A. |author-last2=Sajeev |author-first2=A. Sayed Muhammed |date=January 1994 |publisher=[[James Cook University]] |citeseerx=10.1.1.70.2096 |quote=The term Side effect refers to the modification of the nonlocal environment. Generally this happens when a function (or a procedure) modifies a global variable or arguments passed by reference parameters. But here are other ways in which the nonlocal environment can be modified. We consider the following causes of side effects through a function call: 1. Performing I/O. 2. Modifying global variables. 3. Modifying local permanent variables (like static variables in C). 4. Modifying an argument passed by reference. 5. Modifying a local variable, either automatic or static, of a function higher up in the function call sequence (usually via a pointer).}}</ref> <ref name="Hughes_1990">{{cite book |title=Research Topics in Functional Programming |editor-first=David A. |editor-last=Turner |editor-link=David Turner (computer scientist) |publisher=[[Addison-Wesley]] |date=1990 |pages=17β42}} Via {{cite web |author-last=Hughes |author-first=John |title=Why Functional Programming Matters |url=http://www.cs.utexas.edu/~shmat/courses/cs345/whyfp.pdf |access-date=2022-08-06 |url-status=live |archive-url=https://web.archive.org/web/20220614042648/https://www.cs.utexas.edu/~shmat/courses/cs345/whyfp.pdf |archive-date=2022-06-14}}</ref> <ref name="Collberg_2005">{{cite web |author-first=Christian S. |author-last=Collberg |date=2005-04-22 |title=CSc 520 Principles of Programming Languages |publisher=Department of Computer Science, [[University of Arizona]] |url=http://www.cs.arizona.edu/~collberg/Teaching/520/2005/Html/Html-24/index.html |access-date=2022-08-06 |archive-url=https://web.archive.org/web/20220806155136/https://www2.cs.arizona.edu/~collberg/Teaching/520/2005/Html/Html-24/index.html |archive-date=2022-08-06}}</ref> <ref name="Felleisen_2014">{{cite web |author-first1=Matthias |author-last1=Felleisen |author-link1=Matthias Felleisen |author-first2=Robert Bruce |author-last2=Findler |author-first3=Matthew |author-last3=Flatt |author-first4=Shriram |author-last4=Krishnamurthi |author-link4=Shriram Krishnamurthi |title=How To Design Programs |publisher=[[MIT Press]] |date=2014-08-01 |edition=2 |url=http://www.htdp.org/}}</ref> <ref name="Haskell_1998">{{cite web |title=Haskell 98 report |date=1998 |url=http://www.haskell.org}}</ref> <ref name="Jones-Wadler_1993">{{cite conference |title=Imperative Functional Programming |author-first1=Simon Peyton |author-last1=Jones |author-first2=Phil |author-last2=Wadler |conference=Conference Record of the 20th Annual ACM Symposium on Principles of Programming Languages |pages=71β84 |date=1993}}</ref> }} {{Program analysis}} {{DEFAULTSORT:Side Effect (Computer Science)}} [[Category:Computer programming]] [[Category:Programming language theory]] [[Category:Functional programming]] [[Category:Articles with example C code]] [[Category:Articles with example Python (programming language) code]]
Summary:
Please note that all contributions to Niidae Wiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
Encyclopedia:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Search
Search
Editing
Side effect (computer science)
(section)
Add topic