Page 2 of 2
Re: anyone have any freelance jobs PHP for me in NL? :D
Posted: Wed Nov 26, 2008 8:17 am
by mjrpes
I like PHP... can't wait until lambda and closures becomes standard:
http://wiki.php.net/rfc/closures
Am currently focusing on jQuery... which is causing a 'paradigm shift' in the way my mind works because the organization is so different; but should be worth it as all signs point to jQuery being a framework that will last the long haul.
Re: anyone have any freelance jobs PHP for me in NL? :D
Posted: Wed Nov 26, 2008 10:22 am
by Eraser
I find PHP to be horrible to be honest. It usually looks like a mess, starting with the odd dot operator for concatenation.
Those Lambda functions feel very javascript-ish to me by the way.
Re: anyone have any freelance jobs PHP for me in NL? :D
Posted: Wed Nov 26, 2008 10:56 am
by ^misantropia^
There's actually a good reason string concatenation uses a separate operator. Remember PHP is dynamically typed and let us for the sake of argument pretend the dot operator never existed. Take two variables $a and $b and do:
Assume $a contains 'Hello, ' and $b 'world'. Everything works as expected, $c now contains 'Hello, world'. Fine. But what happens if $a and $b both contain, say, '21'?
What is the value of $c now? 42? '2121'? You tell me.
Re: anyone have any freelance jobs PHP for me in NL? :D
Posted: Wed Nov 26, 2008 11:27 am
by Eraser
I realise that, Javascript has much the same problems. It's just that PHP seems like a messy language to me.
Re: anyone have any freelance jobs PHP for me in NL? :D
Posted: Wed Nov 26, 2008 1:10 pm
by R00k
A friend of mine was over sunday watching the game and giving me a hand with my car, and since he's a professional devevloper I got him to show me a couple of things.
We didn't really get into PHP much unfortunately, but I did start to learn the benefits of client-side scripting with javaScript. Dynamically loading content by writing straight to the DOM elements, without reloading the page, is a pretty cool concept. It makes me want to learn AJAX too.
Re: anyone have any freelance jobs PHP for me in NL? :D
Posted: Wed Nov 26, 2008 1:30 pm
by Eraser
There's not much to learn about AJAX. Just download the
Prototype JS library and it'll do all the annoying stuff for you.
Re: anyone have any freelance jobs PHP for me in NL? :D
Posted: Wed Nov 26, 2008 1:53 pm
by MKJ
truth
Re: anyone have any freelance jobs PHP for me in NL? :D
Posted: Sun Dec 07, 2008 12:42 am
by Dave
Fender wrote:umm... Java?
or python for that matter...
Re: anyone have any freelance jobs PHP for me in NL? :D
Posted: Sun Dec 07, 2008 7:43 am
by dmmh
R00k wrote:I've done function-oriented exclusively in Perl. I've done quite a bit of VBScript using WSH, but no object-oriented CGI before. It just seems somehow incongruent or weird to me.
well I was relucatant to switch from function to object oriented for the same reason for a really long time, I just didn't see how it made sense, but when I made the switch, I was glad I did.
Re: anyone have any freelance jobs PHP for me in NL? :D
Posted: Sun Dec 07, 2008 7:44 am
by dmmh
R00k wrote:Fender wrote:I hate to use this word, but thinking in OO is a paradigm shift. Before you get it, it is strange. After you get it, everything else seems clunky.
So I should stop being an old fogey set in my ways, and just give it a chance?
:yes: