Find in ipython3

Rustom Mody rustompmody at gmail.com
Fri Jun 5 00:49:39 EDT 2015


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



More information about the Python-list mailing list