POV-Ray : Newsgroups : povray.off-topic : All bow to the mighty Python : Re: All bow to the mighty Python Server Time
4 Sep 2024 13:15:32 EDT (-0400)
  Re: All bow to the mighty Python  
From: Warp
Date: 21 Apr 2010 07:27:20
Message: <4bcee117@news.povray.org>
Gilles Tran <gil### [at] gmailcom> wrote:
> Same experience here. I guess that's because it's easier to miss a semicolon 
> or a brace in PHP than a whitespace in Python. I had to program in Python 
> for a few days last year. At first I had the same WTF reaction as Warp about 
> indentation but I found it much less error-prone in that respect than PHP. I 
> like PHP, but its unability to cope with missing stuff is a time sink, as it 
> outputs anything from a blank page to hebrew (unexpected 
> T_PAAMAYIM_NEKUDOTAYIM).

  If you keep having that problem with PHP, just use a smart editor which
autoindents your code. If the autoindentation goes haywire, you know that
you are missing some semicolon or brace.

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.