Path: csiph.com!usenet.pasdenom.info!gegeweb.org!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!border1.nntp.ams2.giganews.com!border3.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.036 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'scripts': 0.03; 'subject:Python': 0.06; 'args': 0.07; 'bash': 0.09; 'latter': 0.09; 'scripting': 0.09; 'subset': 0.09; 'python': 0.11; 'programs.': 0.14; '24,': 0.16; 'agree.': 0.16; 'builtins': 0.16; 'command-line': 0.16; 'conveys': 0.16; 'definition.': 0.16; 'distinct': 0.16; 'expressions,': 0.16; 'finney': 0.16; 'former,': 0.16; 'from:addr:mrabarnett.plus.com': 0.16; 'from:addr:python': 0.16; 'from:name:mrab': 0.16; 'message-id:@mrabarnett.plus.com': 0.16; 'received:84.93': 0.16; 'received:84.93.230': 0.16; 'scripting.': 0.16; 'tasks,': 0.16; 'wrote:': 0.18; 'bit': 0.19; '(but': 0.19; 'programming': 0.22; 'saying': 0.22; 'header:User- Agent:1': 0.23; 'controlling': 0.24; 'replace': 0.24; 'script.': 0.24; 'script': 0.25; 'shown': 0.26; 'certain': 0.27; 'header:In- Reply-To:1': 0.27; 'programming.': 0.30; "i'm": 0.30; 'included': 0.31; 'towards': 0.31; '(maybe': 0.31; '25,': 0.31; 'convenience': 0.31; 'invoke': 0.31; 'subject:development': 0.31; 'writes:': 0.31; 'anyone': 0.31; 'regular': 0.32; 'alone': 0.33; 'monday,': 0.33; 'sense': 0.34; 'maybe': 0.34; "i'd": 0.34; 'could': 0.34; 'something': 0.35; 'received:84': 0.35; 'but': 0.35; 'there': 0.35; 'are,': 0.36; 'doing': 0.36; 'useful': 0.36; 'two': 0.37; 'being': 0.38; 'ben': 0.38; 'e.g.': 0.38; 'same.': 0.38; 'tasks': 0.38; 'to:addr:python-list': 0.38; 'anything': 0.39; 'to:addr:python.org': 0.39; 'either': 0.39; 'how': 0.40; 'easy': 0.60; 'referred': 0.60; "you're": 0.61; 'complete': 0.62; 'term': 0.63; 'personal': 0.63; 'interest': 0.64; 'more': 0.64; 'different': 0.65; 'skip:\xe2 10': 0.65; 'dont': 0.67; 'header :Reply-To:1': 0.67; '8bit%:40': 0.68; 'reply-to:no real name:2**0': 0.71; 'programs,': 0.74; 'heavy': 0.81; 'associations': 0.84; 'computation,': 0.84; 'hand.': 0.84; 'reply- to:addr:python.org': 0.84; 'round.': 0.84; 'treating': 0.84; '8bit%:33': 0.91; 'attitude': 0.91; 'mistake': 0.91; 'rusi': 0.91; '\xe2\x80\x9cthe': 0.91; 'acknowledge': 0.93; 'old.': 0.93; 'url:tk': 0.95; '2013': 0.98 X-CM-Score: 0.00 X-CNFS-Analysis: v=2.1 cv=RZapVTdv c=1 sm=1 tr=0 a=0nF1XD0wxitMEM03M9B4ZQ==:117 a=0nF1XD0wxitMEM03M9B4ZQ==:17 a=0Bzu9jTXAAAA:8 a=oyR3mlnJdzkA:10 a=ihvODaAuJD4A:10 a=OUOv7kDek9cA:10 a=IkcTkHD0fZMA:10 a=EBOSESyhAAAA:8 a=8AHkEIZyAAAA:8 a=I-15JFDfp2cA:10 a=7vUEEOO_AAAA:8 a=oBaU62z8UAWZ_0JHGv4A:9 a=QEXdDO2ut3YA:10 a=Cgyveg6enq8A:10 X-AUTH: mrabarnett:2500 Date: Tue, 25 Jun 2013 03:39:19 +0100 From: MRAB User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130509 Thunderbird/17.0.6 MIME-Version: 1.0 To: python-list@python.org Subject: Re: Python development tools References: <93adcb76-2298-41bb-b5cb-cca525c6be21@googlegroups.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list Reply-To: python-list@python.org List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 54 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1372127955 news.xs4all.nl 15920 [2001:888:2000:d::a6]:45809 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:49121 On 25/06/2013 03:24, rusi wrote: > On Tuesday, June 25, 2013 4:41:22 AM UTC+5:30, Ben Finney wrote: >> rusi writes: >> > I dont however think that the two philosophies are the same. See >> > http://www.tcl.tk/doc/scripting.html >> >> That essay constrasts “scripting” versus “system programming”, a useful >> (though terminologically confusing) distinction. >> >> It's a mistake to think that essay contrasts “scripting“ versus >> “programming”. But the essay never justifies its aversion to >> “programming” as a term for what it's describing, so that mistake is >> easy to make. > > The essay is 15 years old. So a bit dated. Referred to it as it conveys the sense/philosophy of scripting. > >> >> > On Monday, June 24, 2013 11:50:38 AM UTC+5:30, Ben Finney wrote: >> > > Any time someone has shown me a “Python script”, I don't see how >> > > it's different from what I'd call a “Python program”. So I just >> > > mentally replace “scripting with “programming”. >> > >> > If you are saying that python spans the scripting to programming >> > spectrum exceptionally well, I agree. >> >> I'm saying that “scripting” is a complete subset of “programming”, so >> it's nonsense to talk about “the scripting-to-programming spectrum”. >> >> Scripting is, always, programming. Scripts are, always, programs. (But >> not vice-versa; I do acknowledge there is more to programming than >> scripting.) I say this because anything anyone has said to me about the >> former is always something included already by the latter. >> >> So I don't see much need for treating scripts as somehow distinct from >> programs, or scripting as somehow distinct from programming. Whenever >> you're doing the former, you're doing the latter by definition. >> > > My personal associations with the word 'scripting' > > - Cavalier attitude towards efficiency And convenience for the programmer. """Manipulating long texts using variable-length strings? Yes, I know it's inefficient, but it's still faster than doing it by hand!""" > - No interest (and maybe some scorn) towards over-engineering (hence OOP) > - Heavy use of regular expressions, also sophistication of the command-line args > - A sense (maybe vague) of being glue more than computation, eg. a bash script is almost certain to invoke something other than builtins alone and is more likely to invoke a non-bash script than a bash script. For a C program that likelihood is the other way round. For python it could be either > Automating tasks, e.g. controlling other applications and stringing together tasks that you would otherwise be doing by hand.