Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #92121 > unrolled thread

Re: Find in ipython3

Started byCameron Simpson <cs@zip.com.au>
First post2015-06-05 14:28 +1000
Last post2015-06-05 02:01 -0400
Articles 3 — 3 participants

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Find in ipython3 Cameron Simpson <cs@zip.com.au> - 2015-06-05 14:28 +1000
    Re: Find in ipython3 Rustom Mody <rustompmody@gmail.com> - 2015-06-04 21:49 -0700
    Re: Find in ipython3 GENERAL THRINAXODON OF DENALI <thrinaxodon@mount.vinson> - 2015-06-05 02:01 -0400

#92121 — Re: Find in ipython3

FromCameron Simpson <cs@zip.com.au>
Date2015-06-05 14:28 +1000
SubjectRe: Find in ipython3
Message-ID<mailman.191.1433478539.13271.python-list@python.org>
On 04Jun2015 20:23, Michael Torrie <torriem@gmail.com> wrote:
>On 06/04/2015 05:04 PM, Cameron Simpson wrote:
>> On 04Jun2015 13:09, Michael Torrie <torriem@gmail.com> wrote:
>>> Why not use Python for what it's good for and say pipe the results of
>>> find into your python script?  Reinventing find poorly isn't going to
>>> buy you anything.
>>
>> And several others made similar disparaging remarks. I think you're all missing
>> some of the point of Cecil's approach.
>
>I take your point.  However I was not intending to make a disparaging
>remark and certainly didn't expect my post to be taken that way.

And I should apologise for suggesting you were being disparaging to Cecil as 
such. I simply felt that these comments (don't bother reinventing the wheel, in 
various forms) gave a discouraging tone.

>I've
>been down this road before (doing shell scripting things in Python), and
>it works pretty well for many things.  Was just sharing my experience is
>all.
>I don't mean to discourage exploration for exploration's sake.  By all
>means have fun. Python certainly is a fun language.

Agreed.

Cheers,
Cameron Simpson <cs@zip.com.au>

Gabriel Genellina: See PEP 234 http://www.python.org/dev/peps/pep-0234/
Angus Rodgers:
  You've got to love a language whose documentation contains sentences
  beginning like this:
    "Among its chief virtues are the following four -- no, five -- no,
    six -- points: [...]"
from python-list@python.org

[toc] | [next] | [standalone]


#92122

FromRustom Mody <rustompmody@gmail.com>
Date2015-06-04 21:49 -0700
Message-ID<5b52f3f7-94dc-498f-aaf5-bdc2afefd3d3@googlegroups.com>
In reply to#92121
On Friday, June 5, 2015 at 9:59:22 AM UTC+5:30, Cameron Simpson wrote:
> On 04Jun2015 20:23, Michael Torrie  wrote:
> >On 06/04/2015 05:04 PM, Cameron Simpson wrote:
> >> On 04Jun2015 13:09, Michael Torrie  wrote:
> >>> Why not use Python for what it's good for and say pipe the results of
> >>> find into your python script?  Reinventing find poorly isn't going to
> >>> buy you anything.
> >>
> >> And several others made similar disparaging remarks. I think you're all missing
> >> some of the point of Cecil's approach.
> >
> >I take your point.  However I was not intending to make a disparaging
> >remark and certainly didn't expect my post to be taken that way.
> 
> And I should apologise for suggesting you were being disparaging to Cecil as 
> such. I simply felt that these comments (don't bother reinventing the wheel, in 
> various forms) gave a discouraging tone.
> 
> >I've
> >been down this road before (doing shell scripting things in Python), and
> >it works pretty well for many things.  Was just sharing my experience is
> >all.
> >I don't mean to discourage exploration for exploration's sake.  By all
> >means have fun. Python certainly is a fun language.

Chuck Moore the inventor of Forth and considered an all-time great among programmers
is in the opposite camp from the modern fad for "reuse done reinvent"
Cant find an original reference. Here is a quote:

| Chuck's philosophy is all about getting rid of everything that is not 
| absolutely necessary for the task at hand, paring both the problem and 
| solution down to the minimum. Compare this with the instinct that most 
| programmers have to generalize every problem and abstract code into 
| "reusable" modules, whether or not that code is ever actually reused. Chuck 
| might say that the best way to write maintainable code is to keep the 
| codebase small enough that it can be rewritten when the requirements change. 
| To program in Forth you have to fight against instincts drawn in from other languages.

https://news.ycombinator.com/item?id=4623770

[toc] | [prev] | [next] | [standalone]


#92124

FromGENERAL THRINAXODON OF DENALI <thrinaxodon@mount.vinson>
Date2015-06-05 02:01 -0400
Message-ID<mkrdvb$b03$1@speranza.aioe.org>
In reply to#92121
On 6/5/2015 12:28 AM, Cameron Simpson wrote:
> On 04Jun2015 20:23, Michael Torrie <torriem@gmail.com> wrote:
>> On 06/04/2015 05:04 PM, Cameron Simpson wrote:
>>> On 04Jun2015 13:09, Michael Torrie <torriem@gmail.com> wrote:
>>>> Why not use Python for what it's good for and say pipe the results of
>>>> find into your python script?  Reinventing find poorly isn't going to
>>>> buy you anything.
>>>
>>> And several others made similar disparaging remarks. I think you're
>>> all missing
>>> some of the point of Cecil's approach.
>>
>> I take your point.  However I was not intending to make a disparaging
>> remark and certainly didn't expect my post to be taken that way.
>
> And I should apologise for suggesting you were being disparaging to
> Cecil as such. I simply felt that these comments (don't bother
> reinventing the wheel, in various forms) gave a discouraging tone.
>
>> I've
>> been down this road before (doing shell scripting things in Python), and
>> it works pretty well for many things.  Was just sharing my experience is
>> all.
>> I don't mean to discourage exploration for exploration's sake.  By all
>> means have fun. Python certainly is a fun language.
>
> Agreed.
>
> Cheers,
> Cameron Simpson <cs@zip.com.au>
>
> Gabriel Genellina: See PEP 234 http://www.python.org/dev/peps/pep-0234/
> Angus Rodgers:
>   You've got to love a language whose documentation contains sentences
>   beginning like this:
>     "Among its chief virtues are the following four -- no, five -- no,
>     six -- points: [...]"
> from python-list@python.org
HUMANS HAVE ORIGINS IN THE DEVONIAN.

-- 
THRINAXODON, THE DEFENDER OF USENET.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web