[ANNOUNCE] London.pm Dim Sum, Wednesday 3rd March, Docklands

Sue Spence virtuallysue at gmail.com
Tue Mar 4 19:39:04 GMT 2014


On 4 March 2014 17:07, Sue Spence <virtuallysue at gmail.com> wrote:

> On 4 March 2014 16:43, Mark Fowler <mark at twoshortplanks.com> wrote:
>
>> On Tuesday, March 4, 2014, Sue Spence
>> <virtuallysue at gmail.com<javascript:_e(%7B%7D,'cvml','
>> virtuallysue at gmail.com');>>
>> Wrote:
>>
>>     my $dt = DateTime->new(
>> >         year      => $year,
>> >         month     => 03,
>> >         day       => 03,
>> >    );
>> >
>>
>> Why are you using octal numbers here? It's all fun and games till someone
>> writes 09...
>
>
>
> Oops. There was a somewhat related error in K&R C 1st ed (I think), in
> which a number like 0x89 appeared in the text.  I believe it was described
> in the errata as "everyone's favorite mistake"  :-)
>

Not 0x89.   I fail at multiple number bases today...


More information about the london.pm mailing list