Re: Help! GO TO and PERFORM THRU!




"Pete Dashwood" <dashwood@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:54p9niF20rskjU1@xxxxxxxxxxxxxxxxxxxxx

"Richard" <riplin@xxxxxxxxxxxx> wrote in message
news:1172774822.548078.321990@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
On Mar 1, 9:05 pm, "Roger While" <s...@xxxxxxxxxxxx> wrote:
"Richard" <rip...@xxxxxxxxxxxx> schrieb im

Newsbeitragnews:1172720964.193481.153810@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

On Mar 1, 10:40 am, Howard Brazee <how...@xxxxxxxxxx> wrote:
On 28 Feb 2007 11:42:22 -0800, "Richard" <rip...@xxxxxxxxxxxx>
wrote:

In Python you can't write code that looks confusing.

I very much doubt that.

You can write code that is wrong, but as long as you don't have tab
characters in the file (and my editors will expand tabs and will show
any in the file in colour) then what you see is what you get. You
won't get confused because the visual structure is not the logic
structure.

Untangling that last sentence would mean -
I WILL get confused because the visual structure IS the logic
structure.

Hmm.

But that is because I was using english and not Python to express that
idea. Properly parenthesized it is:

You won't get ( confused because the visual structure is not the logic
structure).


I'm not convinced that this is "properly parenthesized"... :-) It still
contains the extraneous NOT which is causing the problem...


Quick Boolean analysis... (condition IMPLIES state)

(visual structure = logical structure) -> NOT confusing
NOT (visual structure = logical stucture) -> confusing

A -> B'
A' -> B

(You won't get confused ) = B' ...because...(the visual structure is NOT
not
the logic structure). = NOT B' = B

"You won't get confused, because the visual structure is the logical
structure." (Simplest possible form)

Logically valid alternative, conveying idea of possible risk...

"You won't get confused (as you would if the visual structure was NOT the
logical structure) because the visual structure IS the logical structure."

Python has visual structure = logical structure
therefore...
Python -> NOT confusing

H'm!

A: One will not get confused by the difference between
the visual and logical structures.

B: One will not get confused by the sameness between
the visual and logical structures.

A is provably true precisely because there is no difference.

B is not provably true because those used to other
languages may be unaccustomed to the sameness (and
therefore confused by this sameness) in Python.



.



Relevant Pages

  • Re: Help! GO TO and PERFORM THRU!
    ... I WILL get confused because the visual structure IS the logic structure. ... NOT -> confusing ... Python will not do that. ...
    (comp.lang.cobol)
  • Re: Help! GO TO and PERFORM THRU!
    ... I WILL get confused because the visual structure IS the logic structure. ... NOT -> confusing ... Python has visual structure = logical structure ...
    (comp.lang.cobol)