Albert-Jan Roskam wrote:
> Interesting, but it is not clear to me when you would use jitpy instead
> of pypy. Too bad pypy alone was not included in the benchmarks (cython
> would have also been nice).
And Numba can JIT compile this far better than PyPy and jitpy.
Sturla
--
https://mail.pytho
On Fri, Dec 5, 2014 8:54 PM CET Mark Lawrence wrote:
>For those who haven't heard thought this might be of interest
>https://github.com/fijal/jitpy
Interesting, but it is not clear to me when you would use jitpy instead of
pypy. Too bad pypy alone was not included
Michael Torrie :
> So obviously your zigzaggy diffs are showing that the person who wrote
> the code is *not* using tabs for indent and spaces for alignment.
Source code lives easily for ten years or longer. It is touched by
numerous people in different groups or even companies under different
st
On 12/06/2014 10:12 AM, Simon Ward wrote:
> Not every programmer is as conscientious in the first of place, and
> that's far easier to get wrong than just agreeing to stick to one
> thing. This is why (often more rigid) style guides (or rather
> policies) exist.
Sure, but in the world of braces l
On 6 December 2014 03:04:48 GMT+00:00, Michael Torrie wrote:
>On 12/05/2014 07:31 PM, Ned Batchelder wrote:
>> This is a perfect example! The code (with tabs as >--- and leading
>> spaces as .) is:
>>
>> >---if (!list_empty(pending))
>> >--->---ret = list_first_entry(pending,
On 12/06/2014 09:57 AM, Marko Rauhamaa wrote:
>> And one of the OP's points is that by using tabs for indent, and
>> spaces for alignment, you can have the best of both worlds.
>
> I certainly doesn't sound that way.
Why is that?
>
>> Programmers can set their tab size to anything they want, an
Michael Torrie :
> What dilemma? Do you mean you can avoid the drama of tabs by going all
> spaces? Of course in Python this is the recommended course.
>
> But that's typically not what I, or most people, use in C or C++.
"Most people"? Hm. I don't know most people.
Anyway. Who cares about "mo
On Sun, Dec 7, 2014 at 3:41 AM, Michael Torrie wrote:
> What dilemma? Do you mean you can avoid the drama of tabs by going all
> spaces? Of course in Python this is the recommended course.
Actually it's only one of several recommended courses, but otherwise yes. :)
ChrisA
--
https://mail.pyth
On 12/06/2014 01:40 AM, Marko Rauhamaa wrote:
> Michael Torrie :
>
>> In fact a decent editor that is auto-indenting code would, at least in
>> C or C++ mode, do that automatically.
>
> A decent editor frees you from this dilemma entirely:
>
> (custom-set-variables
> '(indent-tabs-mode
On Tuesday, December 2, 2014 11:52:37 PM UTC+1, John Gordon wrote:
> In Uzoma Ojemeni
> writes:
>
> > I am new to Python - a few days old - and I would appreciate some help.
>
> > I want write a python code to parse the below XML as below:-
>
> > ServingCell--NeighbourCell
> > L41_NBR
Michael Torrie :
> In fact a decent editor that is auto-indenting code would, at least in
> C or C++ mode, do that automatically.
A decent editor frees you from this dilemma entirely:
(custom-set-variables
'(indent-tabs-mode nil))
HT belongs together with VT, SOH and ETB.
Marko
--
h
11 matches
Mail list logo