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


Groups > comp.lang.python > #107535

Re: How much sanity checking is required for function inputs?

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Michael Torrie <torriem@gmail.com>
Newsgroups comp.lang.python
Subject Re: How much sanity checking is required for function inputs?
Date Sat, 23 Apr 2016 21:58:09 -0600
Lines 25
Message-ID <mailman.28.1461470310.32212.python-list@python.org> (permalink)
References <5713E52D.3060407@icloud.com> <1461131475.4042173.584042297.03DAB00E@webmail.messagingengine.com> <57171D23.40709@stoneleaf.us> <1461133057.4046578.584060569.2DD34821@webmail.messagingengine.com> <57185E88.30201@yahoo.com> <57197FC3.4030701@icloud.com> <1461291613.433097.586174185.01BB7E37@webmail.messagingengine.com> <57199BA5.4000703@icloud.com> <1461302724.477236.586265777.181ACCA0@webmail.messagingengine.com> <571C21A3.5090507@icloud.com> <CAGgTfkPZZkKiMeS=2bke-qooGDC0_cegE2TDhiubPN4-nNmcZg@mail.gmail.com> <571C302C.2010800@icloud.com> <571C3B5C.8030403@gmail.com> <571C4072.1000005@icloud.com> <571C4451.2060905@gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de UMo067BHJ+HN3PFoI+pZuAR9xDtqZ8v94huUcxADANmw==
Return-Path <torriem+gmail@torriefamily.org>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.013
X-Spam-Evidence '*H*': 0.97; '*S*': 0.00; 'imply': 0.07; 'scripts': 0.09; 'subject:How': 0.09; 'c/c++': 0.09; 'thread': 0.10; 'python': 0.10; 'language,': 0.11; 'instead.': 0.15; 'java,': 0.15; 'benefit.': 0.16; 'c/c++.': 0.16; 'employers': 0.16; 'flavors': 0.16; 'from:addr:torriem': 0.16; 'from:name:michael torrie': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'shop.': 0.16; 'subject:required': 0.16; 'wrote:': 0.16; 'resolved': 0.18; 'programmer': 0.18; 'language': 0.19; 'student': 0.20; 'windows': 0.20; 'java': 0.22; 'programming': 0.22; 'header :In-Reply-To:1': 0.24; 'header:User-Agent:1': 0.26; "doesn't": 0.26; 'helpful': 0.27; 'assembly': 0.29; "i'm": 0.30; 'classes': 0.30; 'probably': 0.31; 'especially': 0.32; 'class': 0.33; 'hopefully': 0.33; 'though.': 0.33; 'message-id:@gmail.com': 0.34; 'advice': 0.35; 'solving': 0.35; 'community': 0.36; 'but': 0.36; 'visual': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'agree': 0.37; 'received:org': 0.37; 'wanted': 0.37; 'mean': 0.38; 'offered': 0.38; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'your': 0.60; 'desk': 0.61; "you'll": 0.61; 'hope': 0.61; 'charset:windows-1252': 0.62; 'strictly': 0.64; 'it!': 0.64; 'college': 0.67; 'prohibited': 0.70; 'home.': 0.75; 'discovered': 0.83; 'experience!': 0.84; 'glad': 0.87; 'afford': 0.91; 'subject:much': 0.91; 'taught': 0.97
X-Virus-Scanned amavisd-new at torriefamily.org
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.7.2
In-Reply-To <571C4072.1000005@icloud.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.22
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID <571C4451.2060905@gmail.com>
X-Mailman-Original-References <5713E52D.3060407@icloud.com> <1461131475.4042173.584042297.03DAB00E@webmail.messagingengine.com> <57171D23.40709@stoneleaf.us> <1461133057.4046578.584060569.2DD34821@webmail.messagingengine.com> <57185E88.30201@yahoo.com> <57197FC3.4030701@icloud.com> <1461291613.433097.586174185.01BB7E37@webmail.messagingengine.com> <57199BA5.4000703@icloud.com> <1461302724.477236.586265777.181ACCA0@webmail.messagingengine.com> <571C21A3.5090507@icloud.com> <CAGgTfkPZZkKiMeS=2bke-qooGDC0_cegE2TDhiubPN4-nNmcZg@mail.gmail.com> <571C302C.2010800@icloud.com> <571C3B5C.8030403@gmail.com> <571C4072.1000005@icloud.com>
Xref csiph.com comp.lang.python:107535

Show key headers only | View raw


On 04/23/2016 09:41 PM, Christopher Reimer wrote:
> I never wanted to learn Java in the first place. My community college 
> couldn't afford to renew the Microsoft site license, which local 
> employers required to learn C/C++ in MS Visual Studio, and all flavors 
> of Java got taught for the programming classes instead. I wanted to 
> learn C/C++. I even wanted to learn assembly language, but I was the 
> only student who showed up for the class and it got cancelled.
> 
> Of course, it probably doesn't help that I got a job in help desk 
> support after I graduated with A.S. degree in Java and never programmed 
> professionally. Thinking like a programmer helped me resolved many IT 
> problems over the last 12 years. My current job in computer security 
> requires tinkering with PowerShell scripts as Python is strictly 
> prohibited in this Windows shop. I have made Python my main programming 
> language at home.

I don't mean to imply that I'm criticizing you for your Java experience!
 I am critical of Java, though.

I'm very glad you've discovered Python and I hope you'll continue to
have fun with it.  I hope you'll take the advice offered by the others
on this thread in stride and hopefully we'll all learn and benefit.

I completely agree with you that learning to think like a programmer is
so helpful in solving all kinds of problems, especially in IT!

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: How much sanity checking is required for function inputs? Michael Torrie <torriem@gmail.com> - 2016-04-23 21:58 -0600

csiph-web