Re: variable declaration

From: Thomas Bartkus (tom_at_dtsam.com)
Date: 02/08/05


Date: Tue, 8 Feb 2005 14:39:14 -0600


"Alexander Zatvornitskiy"
<Alexander_Zatvornitskiy@p131.f3.n5025.z2.fidonet.org> wrote in message
news:MSGID_2=3A5025=2F3.131_4208c092@fidonet.org...
<snip>
> The worst thing is that in such calculations you often receive plausible
results.
<snip>

Exactly so!

An ordinary spelling error gets promoted to a logic error that is damn
difficult to detect, let alone trace! Before one even tries, it behooves
one to spell check his variables. An additional step that counters Python's
procedural simplicity.

"i" comes before "e" except after "c" OR whenever I make a typo!
Thomas Bartkus



Relevant Pages

  • Re: A "slanted edge" analysis program
    ... so film/sensor non-linearity and gamma adjustments can't influence the calculations. ... SNIP influence the MTF results, ... "for each line of pixels perpendicular to the edge, the edge is differentiated using the discrete derivative "-0,5; +0,5", meaning that the derivative value for pixel "X" is equal to -1/2 times the value of the pixel immediately to the left, plus 1/2 times the ... What's worse, the PSF can change throughout the image, but a symmetrical PSF will already allow to improve image quality. ...
    (comp.periphs.scanners)
  • Re: Strategy for revolutionizing math and physics
    ... [snip crap] ...    1) Calculate Mercury's perihelion precession over time. ... Unfortunately traditional calculations do NOT consider points to be ...
    (sci.physics)
  • Re: Cuba says United Nations accepts GDP formula - UN denies
    ... calculations of the communist-run country's Gross Domestic Product, ... they shouldn't just accept unsubstantiated propaganda figures. ... that isn't the issue, Dan, the issue is that these numbers are arbitrarily created by the Cuban regime and added without. ...
    (soc.culture.cuba)
  • Re: Multithreading / Scalability
    ... Knute Johnson wrote: ... The first program below times the calculations as yours did but I think ... volatile boolean runFlag = true; ...
    (comp.lang.java.programmer)
  • Re: Myth about mathematicians and mental arithmetic
    ... I could manage multiple items, in the order of 10-15 different kinds, doing ... An interesting aspect of such calculations for me is that certain numbers are ... "nicer" in my mind and I have less problems calculating combos of them. ...
    (sci.math)