Re: I couldn't understand why PHP is so popular. The PHP code looks so horrible compared with Java.



On Tue, 29 Apr 2008 09:54:07 -0700 (PDT), ZeldorBlat wrote:
On Apr 29, 9:43 am, Captain Paralytic <paul_laut...@xxxxxxxxx> wrote:

Wow, I never realised you could do Hello World without instantiating a
custom class.

You mean like this?

public interface MessageStrategy {
public void sendMessage();
}

public abstract class AbstractStrategyFactory {
public abstract MessageStrategy createStrategy(MessageBody mb);
}

Ah, now THAT looks like some of the stuff some coworkers turn out...
(;

--
19. I will not have a daughter. She would be as beautiful as she was evil, but
one look at the hero's rugged countenance and she'd betray her own father.
--Peter Anspach's list of things to do as an Evil Overlord
.