Do you mean Pythonesque or Pythonic?--
https://mail.python.org/mailman/listinfo/python-list
Steven D'Aprano writes:
> On Fri, 17 Apr 2015 07:15 am, Seymore4Head wrote:
>
>> I am guessing that a few here might find this program interesting.
>> http://video.pbs.org/video/2365464997/
>
> For the sake of those of us with limited access to the Internet at the
> moment (say, we're behind a co
Seymore4Head writes:
> I am guessing that a few here might find this program interesting.
Without any context to say what it's about or why it's relevant in this
forum, that message is effectively noise. Please take more care to
consider your audience.
--
\“You can't have everything;
On Fri, 17 Apr 2015 07:15 am, Seymore4Head wrote:
> I am guessing that a few here might find this program interesting.
> http://video.pbs.org/video/2365464997/
For the sake of those of us with limited access to the Internet at the
moment (say, we're behind a corporate firewall, or our browser has
On 04/16/2015 01:41 PM, Steven D'Aprano wrote:
>2. Having been an employer, it is difficult to force programmers to use
>any particular editor or style. Different editors handle tabs and spaces
>differently. This is all a bloody nightmare with Python.
Do you really expect us to believe for
I am guessing that a few here might find this program interesting.
http://video.pbs.org/video/2365464997/
--
In an altercation with the police, complying with their orders greatly
increases your chances of survival.
--
https://mail.python.org/mailman/listinfo/python-list
On 16/04/2015 18:10, Steven D'Aprano wrote:
On Thu, 16 Apr 2015 08:51 pm, BartC wrote:
On 16/04/2015 06:49, Steven D'Aprano wrote:
On Thursday 16 April 2015 14:07, Blake McBride wrote:
Is there a utility that will allow me to write Python-like code that
includes some block delimiter that I
Chris Angelico writes:
> If you're prepared to run a beautifier on your employees' code, you
> should have no problem requiring that they adopt a syntactically-legal
> style.
For teams with a mixture of text editors in use, there are even tools
nowadays to help everyone's text editor enforce con
On 16.04.15 08:49, Steven D'Aprano wrote:
I'm not aware of any pre-processor tools for Python that will syntactically
check that added braces match the indentation. Such a tool would be
unPythonic: if they match, the braces are redundant and are not needed, and
if they do not match, then the comp
On Thu, 16 Apr 2015 10:59:44 -0700, Rustom Mody wrote:
> On Thursday, April 16, 2015 at 9:37:57 AM UTC+5:30, Blake McBride wrote:
>> Greetings,
>>
>> I am new to Python. I am sorry for beating what is probably a dead
>> horse but I checked the net and couldn't find the answer to my
>> question.
On 04/16/2015 11:08 AM, alister wrote:
On Thu, 16 Apr 2015 08:01:45 -0700, Blake McBride wrote:
As a side note, I bought a few books on Python from Amazon for use on my
Kindle. At least one of the books has the formatting for the Kindle
messed up rendering the meaning of the program useless.
On Thu, 16 Apr 2015 08:01:45 -0700, Blake McBride wrote:
> As a side note, I bought a few books on Python from Amazon for use on my
> Kindle. At least one of the books has the formatting for the Kindle
> messed up rendering the meaning of the program useless.
>
> Case in point.
>
> Blake
A poo
On Thu, 16 Apr 2015 16:09:13 +0200, Antoon Pardon wrote:
> On 04/16/2015 03:18 PM, alister wrote:
>
>
>>> As is argueing against a real position instead of making something up.
>>> Nobody is argueing for arbitrary indentation.
>> May I suggest that you give it a try for a month, perhaps re-writi
On Thu, 16 Apr 2015 14:44:15 +0100, BartC wrote:
> On 16/04/2015 14:18, alister wrote:
>> On Thu, 16 Apr 2015 13:07:22 +0200, Antoon Pardon wrote:
>
>>> Nobody is argueing for arbitrary indentation.
>>
>> May I suggest that you give it a try for a month, perhaps re-writing a
>> small program you
On Thursday, April 16, 2015 at 9:37:57 AM UTC+5:30, Blake McBride wrote:
> Greetings,
>
> I am new to Python. I am sorry for beating what is probably a dead horse but
> I checked the net and couldn't find the answer to my question.
Kudos for making dead horses fly [33 posts in 13 hours and goin
On 2015-04-17 03:10, Steven D'Aprano wrote:
> And there there was the time I edited some code written by my boss.
> I intended to write a comment:
>
> # FIXME: this function is a little slow and should be optimized.
>
> but I hit the wrong key a couple of times and wrote:
>
> # This is a
On 16/04/2015 14:44, BartC wrote:
* I modify code a lot, adding and removing extra nested blocks all the
time. My editor can't indent or un-indent blocks without a lot of manual
typing. With block-delimited schemes, this isn't an issue, as temporary
lack of correct indentation isn't crucial.
On Fri, 17 Apr 2015 12:52 am, Blake McBride wrote:
> Thanks for all the responses. I especially like the Pike pointer. To be
> clear:
>
> 1. I don't think languages should depend on invisible elements to
> determine logic.
Icompletelyagreethatinvisibleelementsareterribleandalllanguagesshoulde
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, 16 Apr 2015 08:51 pm, BartC wrote:
> On 16/04/2015 06:49, Steven D'Aprano wrote:
>> On Thursday 16 April 2015 14:07, Blake McBride wrote:
>
>>> Is there a utility that will allow me to write Python-like code that
>>> includes some block delimiter that I can see, that converts the code
>>>
On 2015-04-16, Blake McBride wrote:
> Thanks for all the responses. I especially like the Pike pointer.
> To be clear:
>
> 1. I don't think languages should depend on invisible elements to
> determine logic.
I had the same attitude when I first tried Python 15 years ago. But,
Python was t
On Fri, Apr 17, 2015 at 12:52 AM, Blake McBride wrote:
> 2. Having been an employer, it is difficult to force programmers to use any
> particular editor or style. Different editors handle tabs and spaces
> differently. This is all a bloody nightmare with Python.
>
> 3. Languages that use bra
On 2015-04-16, Blake McBride wrote:
> 2. Having been an employer, it is difficult to force programmers to
> use any particular editor or style. Different editors handle tabs
> and spaces differently. This is all a bloody nightmare with Python.
>
> 3. Languages that use braces (or the like) can
On 16/04/2015 15:52, Blake McBride wrote:
So, Python may be a cute language for you to use as an individual, but it is
unwieldy in a real development environment.
Thanks for this, one of the funniest comments I've read here in years.
It's good to see that new people share the humourous side
On 04/16/2015 07:52 AM, Blake McBride wrote:
Thanks for all the responses. I especially like the Pike pointer.
To be clear:
1. I don't think languages should depend on invisible elements to
determine logic.
2. Having been an employer, it is difficult to force programmers to
use any particula
As a side note, I bought a few books on Python from Amazon for use on my
Kindle. At least one of the books has the formatting for the Kindle messed up
rendering the meaning of the program useless.
Case in point.
Blake
--
https://mail.python.org/mailman/listinfo/python-list
Thanks for all the responses. I especially like the Pike pointer. To be clear:
1. I don't think languages should depend on invisible elements to determine
logic.
2. Having been an employer, it is difficult to force programmers to use any
particular editor or style. Different editors handle
On 2015-04-15, Ben Finney wrote:
> Gil Dawson writes:
>
>> This is my first message to this list. I just signed on.
>
> Welcome!
>
>> How do you search the archives?
>
> The forum is archived in numerous places. The complete set of forums is
> at http://mail.python.org/>, for example this one is
On 04/16/2015 03:18 PM, alister wrote:
>
>> As is argueing against a real position instead of making something up.
>> Nobody is argueing for arbitrary indentation.
> May I suggest that you give it a try for a month, perhaps re-writing a
> small program you already have in a pythonic style (don't
> On Apr 16, 2015, at 2:11 AM, Paul Rubin wrote:
>
> Steven D'Aprano writes:
>> I'm aware that Coffeescript provides a brace-free wrapper around Javascript;
>> I'm not aware of any wrapper that *adds* braces to a language without them.
>
> You're not old enough to remember Ratfor ;-)
> --
>
On 04/16/2015 03:41 PM, Chris Angelico wrote:
> The case of a loop structure with its condition in the middle is one
> that few languages support, so the physical structure has to be
> something like:
>
> goto middle
> while not condition:
> more code
> label middle
> some code
>
> or
>
Thanks Chris.
I'll be doing some stuff in python and excel in the future, and this will help
out a lot.
Ivan
--
https://mail.python.org/mailman/listinfo/python-list
On Thu, Apr 16, 2015 at 11:18 PM, alister
wrote:
> be warned you may find it creates (or increases ) an extreme dislike for
> C & other languages that require braces & semicolons, it did for me
> (especially the semi-colon!)
I'd just like to add to this that the lack of semicolon in Python
works
On 16/04/2015 14:18, alister wrote:
On Thu, 16 Apr 2015 13:07:22 +0200, Antoon Pardon wrote:
Nobody is argueing for arbitrary indentation.
May I suggest that you give it a try for a month, perhaps re-writing a
small program you already have in a pythonic style (don't simply write c
in python
On Thu, Apr 16, 2015 at 9:07 PM, Antoon Pardon
wrote:
> On 04/16/2015 12:43 PM, Steven D'Aprano wrote:
>> On Thursday 16 April 2015 20:09, Antoon Pardon wrote:
>>
>>> I beg to differ. The most common occurence is a loop with a break
>>> condition in the middle I would prefer such a loop to be writ
On 16/04/2015 05:07, Blake McBride wrote:
Greetings,
I am new to Python. I am sorry for beating what is probably a dead horse but I
checked the net and couldn't find the answer to my question.
I like a lot of what I've seen in Python, however, after 35 years and probably
a dozen languages un
Quite sometime ago (2011?), the classic-rendezvous mailing list, which had
been hosted by a Mailman instance at bikelist.org, was reconstituted as a
Google Group. Just a bunch of old bikies interested in vintage bikes. The
original archives were never imported into the new group. (It might not
have
On Thu, 16 Apr 2015 13:07:22 +0200, Antoon Pardon wrote:
> On 04/16/2015 12:43 PM, Steven D'Aprano wrote:
>> On Thursday 16 April 2015 20:09, Antoon Pardon wrote:
>>
>>> I beg to differ. The most common occurence is a loop with a break
>>> condition in the middle I would prefer such a loop to be w
On 04/16/2015 06:07 AM, Blake McBride wrote:
> Greetings,
>
> I am new to Python. I am sorry for beating what is probably a dead horse but
> I checked the net and couldn't find the answer to my question.
>
> I like a lot of what I've seen in Python, however, after 35 years and
> probably a dozen
On 16/04/2015 05:07, Blake McBride wrote:
Greetings,
I am new to Python. I am sorry for beating what is probably a dead horse but I
checked the net and couldn't find the answer to my question.
I like a lot of what I've seen in Python, however, after 35 years and probably
a dozen languages un
On 04/16/2015 12:43 PM, Steven D'Aprano wrote:
> On Thursday 16 April 2015 20:09, Antoon Pardon wrote:
>
>> I beg to differ. The most common occurence is a loop with a break
>> condition in the middle I would prefer such a loop to be written as
>> follows:
>>
>> repeat:
>> some
>> code
>> b
On 16/04/2015 06:49, Steven D'Aprano wrote:
On Thursday 16 April 2015 14:07, Blake McBride wrote:
Is there a utility that will allow me to write Python-like code that
includes some block delimiter that I can see, that converts the code into
runnable Python code? If so, where can I find it?
On Thursday 16 April 2015 20:09, Antoon Pardon wrote:
> I beg to differ. The most common occurence is a loop with a break
> condition in the middle I would prefer such a loop to be written as
> follows:
>
> repeat:
> some
> code
> break_when condition:
> more
> code
That structu
On 04/16/2015 11:34 AM, Chris Angelico wrote:
> On Thu, Apr 16, 2015 at 6:47 PM, Antoon Pardon
> wrote:
>> On 04/16/2015 09:46 AM, alister wrote:
>>
>>> what I find strange is that although these programmers initially disliked
>>> forced indentation they were voluntarily indenting there existing c
On Thu, Apr 16, 2015 at 6:47 PM, Antoon Pardon
wrote:
> On 04/16/2015 09:46 AM, alister wrote:
>
>> what I find strange is that although these programmers initially disliked
>> forced indentation they were voluntarily indenting there existing code
>> anyway. Take a look at your existing code base
On 04/16/2015 09:46 AM, alister wrote:
> what I find strange is that although these programmers initially disliked
> forced indentation they were voluntarily indenting there existing code
> anyway. Take a look at your existing code base & see if this would indeed
> be the case.
The problem is
On Wed, 15 Apr 2015 21:07:45 -0700, Blake McBride wrote:
> Greetings,
>
> I am new to Python. I am sorry for beating what is probably a dead
> horse but I checked the net and couldn't find the answer to my question.
>
> I like a lot of what I've seen in Python, however, after 35 years and
> pro
47 matches
Mail list logo