[Info-vax] Fortran
Bill Gunshannon
bill.gunshannon at gmail.com
Thu Dec 6 21:48:34 EST 2018
On 12/6/18 9:23 PM, Arne Vajhøj wrote:
> On 12/6/2018 9:05 PM, Bill Gunshannon wrote:
>> On 12/6/18 8:46 PM, Arne Vajhøj wrote:
>>> On 12/6/2018 8:34 PM, Bill Gunshannon wrote:
>>>> And, as a trivial piece of code, it really does nothing.
>>>> That's easy to understand. But, as soon as it gets complex
>>>> enough to do anything the fun begins.
>>>
>>> What fun?
>>>
>>> What constructs in PHP are making it difficult to read?
>>>
>>> The above code is unrealistic short.
>>>
>>> But most real world PHP code even though longer use very
>>> few language constructs. Often it is just function, if,
>>> for loop, foreach loop and a few PHP functions that are
>>> often very C inspired.
>>
>> I wish I had kept the program that caused all the
>> trouble. It was a program to register for the Dept.
>> High School Programming Contest. It broke when PHP5
>> came out. A professor and 2 students and a former
>> student, the one who wrote the program originally,
>> worked on it for days with no success. I replaced
>> it with a shell script and some awk in about 15
>> minutes. I later wrote a whole new version in COBOL
>> (as a proof of concept) and that took about half an
>> hour. I looked at the original program as well and
>> opted to not waste my time trying to figure it out
>> when other solutions were available.
>
> Does that mean that your original PHP claim:
>
> # I have never seen any code in PHP that wasn't totally
> # obfuscated and confusing even without GOTOs.
>
> really is about one program?
No, I have had to look at some stuff that came off the net
and found it just as confusing. Try reading SquirellMail
sometime. But that one program was by far the best example
the obfuscated nature of PHP.
bill
More information about the Info-vax
mailing list