> The creator of Scala, Martin Odersky, has proposed introducing Python-like
> significant indentation to Scala and getting rid of braces:
>
> I was playing for a while now with ways to make Scala's syntax
>indentation-based. I always admired the neatness of Python syntax
>and also found
On 05/22/2017 02:57 PM, Ethan Furman wrote:
>> Kind of reminds me of LISP. Lots of closing parenths, and often then
>> just all get stuck together on a long. But I guess that's why they
>> invented paren matching shortcuts in editors. To make it easy to see if
>> you have them matched up. This
On 05/22/2017 12:13 PM, Michael Torrie wrote:
On 05/22/2017 07:59 AM, Jussi Piitulainen wrote:
I am the inventor of multiple ends on the same line. This way, in a
language where all of several nested constructs end with an end - not
going to name the language but it's Julia - instead of
A portion of this thread seems to be focusing on what key word args parameters
actually mean, in the Python sense. There is documentation for that, and a
modicum of experience with Python makes this a relatively simple question and
answer. However, when docs for a specific function or method spe
On Sun, May 21, 2017 at 5:40 PM, bartc wrote:
> I think it was YOU that got me wasting time downloading that VS2015
> solution, all 1MB of it [download size; unknown installation size],
Visual Studio installs a multi-architecture (x86, x64, arm, arm64)
build environment for native and managed
On 05/22/2017 07:59 AM, Jussi Piitulainen wrote:
> I am the inventor of multiple ends on the same line. This way, in a
> language where all of several nested constructs end with an end - not
> going to name the language but it's Julia - instead of
>
> end
> end
>
On Saturday, May 20, 2017 at 9:13:39 AM UTC-7, qasi...@gmail.com wrote
> I have more than 100 ligand molecules. The image I showed at the beginning of
> this discussion was only an example. It had missing atoms.
> See it without missing any atom in the pdb format (coordinates in Angstrom
> unit)
Any nesting beyond third level should be strong candidate for refactoring.
Soon after you do that, big surprise, refactored block gets better
documented, gets used elsewhere, becomes testable on its own, etc. I.e. if
structure is not obvious from indentation alone, refactoring is the proper
solutio
On Monday, May 22, 2017 at 3:34:07 PM UTC+1, Serhiy Storchaka wrote:
> 22.05.17 17:24, Skip Montanaro пише:
> > On Mon, May 22, 2017 at 9:14 AM, bartc wrote:
> >> I think 'end' can be used in Python too:
> >>
> >> if (cond):
> >> stmts
> >> end
> >>
> >> But:
> >>
> >> - You need to defi
22.05.17 17:24, Skip Montanaro пише:
On Mon, May 22, 2017 at 9:14 AM, bartc wrote:
I think 'end' can be used in Python too:
if (cond):
stmts
end
But:
- You need to define a dummy variable 'end'
Interesting idea. You can avoid the dummy variable part by just using
'#end', however:
On Mon, May 22, 2017 at 9:14 AM, bartc wrote:
> I think 'end' can be used in Python too:
>
> if (cond):
> stmts
> end
>
> But:
>
> - You need to define a dummy variable 'end'
Interesting idea. You can avoid the dummy variable part by just using
'#end', however:
if cond:
stmts
#end
Sk
On 22/05/2017 14:59, Jussi Piitulainen wrote:
Cholo Lennon writes:
I am a huge python fan (but also a C++ and Java fan) and I agree with
Scala creator, sometimes the readability is complicated. So, more
often than I would like to, I end up missing the braces :-O
I am the inventor of multipl
Cholo Lennon writes:
> On 22/05/17 00:53, Steve D'Aprano wrote:
>> The creator of Scala, Martin Odersky, has proposed introducing
>> Python-like significant indentation to Scala and getting rid of
>> braces:
>>
>> I was playing for a while now with ways to make Scala's syntax
>> indentat
On 22/05/17 00:53, Steve D'Aprano wrote:
The creator of Scala, Martin Odersky, has proposed introducing Python-like
significant indentation to Scala and getting rid of braces:
I was playing for a while now with ways to make Scala's syntax
indentation-based. I always admired the neatnes
We are pleased to announce our next keynote speakers for EuroPython 2017:
** Aisha Bello & Daniele Procida **
About Aisha
Aisha currently serves as vice chair for the Python Nigeria community.
She has helped co-organized and support a number of Django
15 matches
Mail list logo