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.
anyone have any freelance jobs PHP for me in NL? :D
Re: anyone have any freelance jobs PHP for me in NL? :D
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.
Those Lambda functions feel very javascript-ish to me by the way.
-
- Posts: 4022
- Joined: Sat Mar 12, 2005 6:24 pm
Re: anyone have any freelance jobs PHP for me in NL? :D
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.
Code: Select all
$c = $a + $b;
Code: Select all
$c = $a + $b;
Re: anyone have any freelance jobs PHP for me in NL? :D
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
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.
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
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
or python for that matter...Fender wrote:umm... Java?
Re: anyone have any freelance jobs PHP for me in NL? :D
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.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.
Re: anyone have any freelance jobs PHP for me in NL? :D
:yes:R00k wrote:So I should stop being an old fogey set in my ways, and just give it a chance?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.