Mark April 14, 2008
I discovered an interesting bit of insanity in PHP while at work the other day.
Define a function in PHP and make sure it has at least one argument, but that argument should not have a default.
So the function should be something like:
public function foo( $bar )
Not:
public function foo( $bar=fubar )
Now call your function, but leave [...]
Languages
- 0 Comments
Mark March 30, 2008
When I asked the question about how Erlang Garbage Collection works, I expected that because of Erlang’s focus on concurrency its garbage collection algorithm would be incredibly complicated.
I was wrong. Turns out, it’s rather simple as far as garbage collection algorithms go, thanks in large part to how Erlang uses processes.
Languages
- 1 Comments
Mark March 21, 2008
Today’s quote comes from CoffeeGhost.net:
PHP is simple to set up for web apps and easy to learn. Nearly all web hosts support it and there are many easy to install applications (like, for example, WordPress). But it has a lot of quirks and inconsistencies (too long to go into here) that it doesn’t need to [...]
Languages
- 0 Comments
Mark March 18, 2008
Stress, for various reasons, has been building up in my life lately, and I don’t feel like I’m dealing with it very well. So I’m skipping the long post I had planned for today and instead I’m providing you with these links on garbage collection:
A quick intro to garbage collection
A little more about garbage collection
Explaining [...]
Languages, Technology
- 2 Comments
Mark March 12, 2008
Karsten Wagner lays out some important definitions about typing that you should know, even if only so you don’t get confused while reading the dynamic vs. static typing wars.
He then expounds on why he prefers static typing in a second post.
Ultimately, I don’t agree with his preference for static typing, or even most of the [...]
Languages, Software Engineering
- 0 Comments