Weak Purity Blog Post
Walter Bright via Digitalmars-d-announce
digitalmars-d-announce at puremagic.com
Mon Mar 28 01:28:57 PDT 2016
On 3/27/2016 10:41 PM, deadalnix wrote:
> On Monday, 28 March 2016 at 05:21:36 UTC, Joakim wrote:
>> On Monday, 28 March 2016 at 01:44:02 UTC, sarn wrote:
>>> D's implementation of functional purity supports "weak" purity - functions
>>> that can mutate arguments but are otherwise traditionally pure.
>>>
>>> I wrote a post about some of the practical benefits of this kind of purity:
>>>
>>> https://theartofmachinery.com/2016/03/28/dirtying_pure_functions_can_be_useful.html
>>>
>>
>> Very well-written, someone post it on Reddit.
>
> https://www.reddit.com/r/programming/comments/4c8zs6/how_dirtying_pure_functions_a_little_can_be/
Queue my usual harangue:
Articles do MUCH MUCH better on reddit if, when posted, a brief description of
the content of the article is also posted. Like what sarn posted here.
Not doing so seriously blunts the value. People need a reason to click on the
article. It's why when you google something, you don't just get a list of links.
You get a blurb with each link.
More information about the Digitalmars-d-announce
mailing list