POV-Ray : Newsgroups : povray.off-topic : Lamp me one : Re: Lamp me one Server Time
11 Oct 2024 03:14:37 EDT (-0400)
  Re: Lamp me one  
From: Invisible
Date: 6 Feb 2008 04:53:38
Message: <47a983a2$1@news.povray.org>
>> I just learned PHP. I feel unclean...
> 
> Good! That means you have a sense of elegance. :-)  But we knew that.

;-)

>> I'm almost scared to write anything with this...
> 
> Yes. You should be.

Hmm, well, it's not so bad if you purposely avoid all the unpredictable 
edge cases. But what if you have to work on somebody else's code? My 
God, it doesn't bear thinking about...

> That and the complete clusterfuck that the naming of all the 
> functionality has.

Beings a whole new being to "it's massively clustered". ;-)

>> Still, for some reason PHP is extremely popular, 
> 
> Because, sadly, it has huge quivering gobs of useful libraries in it.

Yes, I noticed that.

In Haskell, accessing a database involves downloading source code, 
trying to sort out a huge undocumented dependency hell, trying to make 
the thing compile and using voodoo dolls. And then you *might* be able 
to access a database.

In PHP, you just... install PHP. And it works. Immediately.

Gee, which one would you choose?

I guess this is why we have Type-I and Type-II languages. *sigh*

>> stitching complex blocks of HTML together with relative ease.
> 
> Don't do that on a real project. Use actual data-like templates. The 
> problem is that the person writing the code isn't the person who decides 
> what goes in the HTML.

Hmm. That sounds like an interesting problem to attempt to solve...

-- 
http://blog.orphi.me.uk/
http://www.zazzle.com/MathematicalOrchid*


Post a reply to this message

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