|
![](/i/fill.gif) |
Gilles Tran <gil### [at] gmail com> 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
|
![](/i/fill.gif) |