[clug] Somedays you use more force than is necessary...

Ivan Lazar Miljenovic ivan.miljenovic at gmail.com
Tue Apr 29 00:09:38 MDT 2014


On 29 April 2014 15:58, Hugh Fisher <Hugh.Fisher at anu.edu.au> wrote:
> On 29/04/14 15:18, Hal Ashburner wrote:
>>
>> Immutables.
>>
>>
>> On 29 April 2014 10:19, David Austin <david at d-austin.net> wrote:
>>
>>>
>>> That is so cool.  Python - is there anything it can't do??
>
>
> The first hit from typing 'immutable python object' into Google was a
> StackOverflow thread about how to create just such a thing. Didn't even
> require a C implementation, just a bit of metaprogramming with the object
> internals.
>
> <http://stackoverflow.com/questions/4828080/how-to-make-an-immutable-object-in-python>
>
>
>         cheers,
>         Hugh

How about explicitly managing side-effects via the type system?

Or, if you want to go out there: implementing an algorithm to solve
the halting problem :p

-- 
Ivan Lazar Miljenovic
Ivan.Miljenovic at gmail.com
http://IvanMiljenovic.wordpress.com


More information about the linux mailing list