RE: Python experiences was Re: Fruit basket program in Boo, Other Script Langs

  • From: "Chris Hofstader" <chris.hofstader@xxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Mon, 22 Oct 2007 14:51:38 -0400

If the Python assertions are the same as C asserts, they provide a good way
of performing invasive debugging.  They are not a debugger but, rather,
something you can add to your code that, if an expression is true, will send
some text to a console, a dialogue, a debug monitor or some other place
where you can read the output.

Using asserts can really help when you are trying to track down a nasty bug
with no known pattern for getting the symptoms to repeat.  At least in C/C++
the debug level at which you compile your program can also be used to set
the which asserts are turned on and which are not.

 

-----Original Message-----
From: programmingblind-bounce@xxxxxxxxxxxxx
[mailto:programmingblind-bounce@xxxxxxxxxxxxx] On Behalf Of John Greer
Sent: Monday, October 22, 2007 2:39 PM
To: programmingblind@xxxxxxxxxxxxx
Subject: Re: Python experiences was Re: Fruit basket program in Boo, Other
Script Langs

I think it means it has a debugger
JohnPG search for all of your Jaws scripts at http://www.blindcrawler.com/
Also be sure to check out Blind Crawler's Legend of the Green Dragon server 
at http://www.blindcrawler.com/lotg/
There will be more to come from Blind Crawler very soon.
Administrator: John Greer
Blind Crawler.com
----- Original Message ----- 
From: <james.homme@xxxxxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Monday, October 22, 2007 1:28 PM
Subject: Re: Python experiences was Re: Fruit basket program in Boo, Other 
Script Langs


> Hi Richard,
> What does this mean in english?
>
> Thanks.
>
> Jim
>
> James D Homme, , Usability Engineering, Highmark Inc.,
> james.homme@xxxxxxxxxxxx, 412-544-1810
>
> "It's more important for me to start to do the right thing than it is to
> wait until I think I
> can do it just right."
>
>
>
>
>
>             "rrdinger"
>             <rrdinger@olypen.
>             com>                                                       To
>             Sent by:                  programmingblind@xxxxxxxxxxxxx
>             programmingblind-                                          cc
>             bounce@freelists.
>             org                                                   Subject
>                                       Re: Python experiences was Re:
>                                       Fruit basket program in Boo, Other
>             10/22/2007 01:10          Script Langs
>             PM
>
>
>             Please respond to
>             programmingblind@
>               freelists.org
>
>
>
>
>
>
> One more thing in the advantage column:
>
> Python, like many other languages, supports assertions.  I am a strong
> advocate of the "Programming as contract" concept as introduced by 
> Bertrand
>
> Meyer in the late 1980's in the Eiffel language.  Python supports that
> notion, which can help ensure program correctness.
>
> Richard
>
> __________
> View the list's information and change your settings at
> //www.freelists.org/list/programmingblind
>
>
>
> __________
> View the list's information and change your settings at
> //www.freelists.org/list/programmingblind
>
> 

__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind



__________ NOD32 2607 (20071022) Information __________

This message was checked by NOD32 antivirus system.
http://www.eset.com


__________
View the list's information and change your settings at 
//www.freelists.org/list/programmingblind

Other related posts: