Comments on: PHP Like a Pro: Part 1 http://www.terminally-incoherent.com/blog/2012/12/17/php-like-a-pro-part-1/ I will not fix your computer. Tue, 04 Aug 2020 22:34:33 +0000 hourly 1 https://wordpress.org/?v=4.7.26 By: Luke Maciak http://www.terminally-incoherent.com/blog/2012/12/17/php-like-a-pro-part-1/#comment-24966 Thu, 20 Dec 2012 17:03:50 +0000 http://www.terminally-incoherent.com/blog/?p=13267#comment-24966

@ Nathan:

Thanks, I shamelessly stole that idea from Joel Spolsky, but I will gladly take credit for it. :)

Reply  |  Quote
]]>
By: Nathan http://www.terminally-incoherent.com/blog/2012/12/17/php-like-a-pro-part-1/#comment-24921 Wed, 19 Dec 2012 09:27:33 +0000 http://www.terminally-incoherent.com/blog/?p=13267#comment-24921

Great post! I look forward to part 2.
Prefixing unsafe variables with ‘U’ and safe ones with ‘S’ is a great idea. Will start doing this.

Reply  |  Quote
]]>
By: Luke Maciak http://www.terminally-incoherent.com/blog/2012/12/17/php-like-a-pro-part-1/#comment-24890 Tue, 18 Dec 2012 18:35:42 +0000 http://www.terminally-incoherent.com/blog/?p=13267#comment-24890

@ Jason *StDoodle* Wood:

Fuck it, I’m calling my new sofware GNU is Not HURD. ;)

Does recursive acronym + doubly recursive acronym = triple recursive acronym?

Reply  |  Quote
]]>
By: Jason *StDoodle* Wood http://www.terminally-incoherent.com/blog/2012/12/17/php-like-a-pro-part-1/#comment-24889 Tue, 18 Dec 2012 18:07:51 +0000 http://www.terminally-incoherent.com/blog/?p=13267#comment-24889

Well, IIRC the first “P” stands for PHP. Apparently, recursive acronyms are a thing. Personally, I think they’re about as “neat” as fart jokes, but to each their own…

Reply  |  Quote
]]>
By: Luke Maciak http://www.terminally-incoherent.com/blog/2012/12/17/php-like-a-pro-part-1/#comment-24887 Tue, 18 Dec 2012 16:06:22 +0000 http://www.terminally-incoherent.com/blog/?p=13267#comment-24887

@ Chris Wellons:

Wow, very nice. I like how succinct it is. :)

And yes, it is probably smart to stay away from PHP. I think it is very telling that its very name is about as messy and idiosyncratic and nonsensical as some of it’s constructs.

What does PHP stand for?
– HTML Preprocessor

Yeah, I don’t know how they got that either either. Still, I do have a strange fondness for the language.

Reply  |  Quote
]]>
By: Chris Wellons http://www.terminally-incoherent.com/blog/2012/12/17/php-like-a-pro-part-1/#comment-24872 Tue, 18 Dec 2012 03:52:37 +0000 http://www.terminally-incoherent.com/blog/?p=13267#comment-24872

This sounds like a fun series! However, I’ve never used PHP and I intend to avoid it until it’s dead, so I made my own in Elisp. I’ll probably follow along with your series. This is the initial quick and dirty version.

https://gist.github.com/4324599/bda3aef96235891bd4f78f3ab0f5847b884c25 d5

Here’s an example paste in action (which I’ll keep hosted here for a week or so):

http://zeus.nullprogram.com/pastebin/1191fd7b

Reply  |  Quote
]]>