side-effects
Side effects when passing objects to function in C++
I have read in C++ : The Complete Reference book the following Even though objects are passed to functions by means of the normal[详细]
2023-04-13 02:47 分类:问答OCaml: Does storing some values to be used later introduce "side effects"?
For a homework assignment, we\'ve been instructed to complete a task without introducing any \"side-effects\".I\'ve looked up \"side-effects\" on Wikipedia, and though I get that in theory it means \"[详细]
2023-04-09 10:59 分类:问答How would I have to imagine pixel-based rendering in Haskell?
Imagine an imperative rendering engine that blits sprites to a bitmap that later gets displayed. This heavily relies on the ability to efficiently mutate individual pixels in sai开发者_如何学God bitma[详细]
2023-04-02 17:57 分类:问答Simulating side effects of a mocked method
I have a method in a class that causes side effects to the method\'s parameter: public void SideEffectsClass {[详细]
2023-03-25 10:52 分类:问答How to handle bidirectional relationships when constructing hibernate entities?
I want to model the relationship between two entities, a group开发者_开发百科 and an account with JPA/Hibernate. An account can have several groups, but not vice versa, so we have a OneToMany relation[详细]
2023-03-17 12:03 分类:问答Making printfn/IO pure in F#
There doesn\'t开发者_Python百科 seem to be much online on making sure functions remains pure in F#.[详细]
2023-03-17 05:42 分类:问答Side effects of defining a structure inside a class
A newbie vb.net quest开发者_JS百科ion What is the side effects of defining a structure inside a class (name it X), and create a property inside that class of the type X?There are no side-effects.[详细]
2023-03-11 13:44 分类:问答Referential transparency in OCaml
I\'m trying to reconcile the definition of referential transparency with how OCaml handles polymorphic types and side-effects. I read on https://web.archive.org/web/20120729232358/http://www.csc.villa[详细]
2023-03-07 12:05 分类:问答Pure functional programming in D
To my mind the power of functional purity is when deep code paths can be verified as side-effect free.What are people\'s experiences in the scale of the code tree that can be inside a pure specifier,[详细]
2023-03-01 17:35 分类:问答What are Data::Dumper()'s side effects?
If I comment out the Dumper($cmd_string) then the while loop is never taken. What side effects does Dumper() have on $cmd_string?[详细]
2023-02-19 02:50 分类:问答