Why NOT only one class per file?
Bruno Desthuilliers
bdesth.quelquechose at free.quelquepart.fr
Thu Apr 5 19:58:58 EDT 2007
Steve Holden a écrit :
> Bruno Desthuilliers wrote:
>
>> John Nagle a écrit :
>>
>>> Nate Finch wrote:
>
> [...]
>
>>
>>> Interestingly, PHP breaks this model; PHP programs are web pages.
>>
>>
>> Err... Actually, "web pages" *are* text files. And FWIW, in most php
>> programs (at least the clean ones), the application logic is in
>> separate files, and the 'rendering' code (views, templates, call them
>> what you like) are seldom full html documents.
>
>
> And it's perfectly possible to write a PHP program that isn't a web
> page. It's just that PHP is such an awful language nobody chooses to do it.
>
> Perhaps I'm not being fair to PHP. It's just been pushed so far beyond
> its original design limits that it's screamingly uncomfortable to use.
original design ? Which original design ?-)
More information about the Python-list
mailing list