On Wed, 14 Sep 2016 22:01:34 -0700, Paul Rubin wrote:
> Travis Griggs writes:
>> for each in ['cake'] + ['eat', 'it'] * 2:
>> print(each)
>
> https://pbs.twimg.com/media/Cr-edT2VUAArpVL.jpg
the "Cowboy Song"
buy Furrokh Bulsara
--
Olmstead's Law:
Christian Gollwitzer writes:
> http://www.azlyrics.com/lyrics/queen/bohemianrhapsody.html
Alt version, https://www.youtube.com/watch?v=hpvlTVgeivU
--
https://mail.python.org/mailman/listinfo/python-list
Christian Gollwitzer :
> More interestingly, which language is it? First I thought C++ or Java,
> but they don't use self and there is a => operator. PHP adornes
> variables with $. Another C-derived language which has built-in hash
> maps?
C#. The => syntax is Python's lambda.
Am 15.09.16 um 07:01 schrieb Paul Rubin:
Travis Griggs writes:
for each in ['cake'] + ['eat', 'it'] * 2:
print(each)
https://pbs.twimg.com/media/Cr-edT2VUAArpVL.jpg
http://www.azlyrics.com/lyrics/queen/bohemianrhapsody.html
More interestingly, which
Travis Griggs writes:
> for each in ['cake'] + ['eat', 'it'] * 2:
> print(each)
https://pbs.twimg.com/media/Cr-edT2VUAArpVL.jpg
--
https://mail.python.org/mailman/listinfo/python-list
> On Sep 13, 2016, at 13:57, rgrigo...@gmail.com wrote:
>
> It would help newbies and prevent confusion.
for each in ['cake'] + ['eat', 'it'] * 2:
print(each)
--
https://mail.python.org/mailman/listinfo/python-list
On Tuesday, September 13, 2016 at 9:57:38 PM UTC+1, Richard Grigonis wrote:
> It would help newbies and prevent confusion.
I entirely agree. All together now "foreach is a jolly good fellow...".
Kindest regards.
Mark Lawrence.
--
https://mail.python.org/mailman/listinfo/python-list
On Wed, 14 Sep 2016 06:57 am, rgrigo...@gmail.com wrote:
> It would help newbies and prevent confusion.
No it wouldn't.
Claims-which-are-made-without-evidence-can-be-rejected-without-evidence-ly y'rs,
--
Steve
--
https://mail.python.org/mailman/listinfo/python-list
On 13/09/2016 22:20, Ian Kelly wrote:
On Tue, Sep 13, 2016 at 2:57 PM, wrote:
It would help newbies and prevent confusion.
Ada uses "for".
C++11 uses "for".
Dart uses "for".
Go uses "for".
Groovy uses "for".
Java uses "for".
JavaScript uses "for".
MATLAB uses "for".
On 2016-09-13, Ian Kelly wrote:
> On Tue, Sep 13, 2016 at 2:57 PM, wrote:
>> It would help newbies and prevent confusion.
>
> Ada uses "for".
[a dozen or so other langages]
> Swift uses "for".
>
> Why do you think it's confusing that Python uses the
On Tue, Sep 13, 2016 at 2:57 PM, wrote:
> It would help newbies and prevent confusion.
Ada uses "for".
C++11 uses "for".
Dart uses "for".
Go uses "for".
Groovy uses "for".
Java uses "for".
JavaScript uses "for".
MATLAB uses "for".
Objective-C uses "for".
Pasceal uses "for".
On Tue, Sep 13, 2016 at 4:57 PM, wrote:
> It would help newbies and prevent confusion.
Are you asking why Guido didn't call it foreach back in 1989, or why
the core developers don't change it now, 27 years later? I can't
speak for the historical perspective, but I'm sure
12 matches
Mail list logo