|
Posted by Henk Verhoeven on 10/18/05 21:50
Hi Peter,
Php is better then java becuase of its weak typing. Personally i am
about twice as productive coding in php versus in Java, simply becuase i
need so much less overhead code for typing, casting, exception handling
and interfaces.
Smalltalk has been weakly typed for a long time. OO as we know it today,
the GUI, garbage collection, the Virtual Machine, JIT compilers, they
where all developed in Smalltalk. All these ideas have been mimiced now
by Apple, Microsoft (windows, dot net) and Sun (Java). Yet you still
don't want to believe that the people who invented all this where
competent when they chose for weak typing?
For info see: http://ll1.ai.mit.edu/
"Several months ago, in the hallowed halls of MIT's legendary Artificial
Intelligence Lab, researchers Greg Sullivan and Mike Salib were
practicing a time-honored academic tradition — complaining.
Why, they asked, are mainstream languages so conservative? Why had
interesting and useful research in areas such as garbage collection only
recently crept into mainstream languages? And why, they sulked, don't
language designers listen to academics? For that matter, why do
designers struggle to add features such as lexical scoping and closures
after the fact, when they should have designed these features into their
languages from the start?
To satisfy their curiosity and encourage collaboration between different
language communities, Sullivan and Salib organized the Lightweight
Languages Workshop" (Eugene Eric Kim, The MIT Lightweight Languages
Workshop, Dr. Dobb's Journal February 2002,
http://www.ddj.com/documents/ddj0202a/)
Or ask on comp.lang.smalltalk about why weak typing is better (not sure
you get many answers, they might think you are trolling ;-) )
Greetings,
Henk Verhoeven,
www.phpPeanuts.org,
www.metaclass.nl.
petermichaux@yahoo.com wrote:
> Hi Weird-beard,
>
> Because of this thread I've been looking into MVC frameworks for PHP.
> It seems like in the whole professional world of PHP there is a lot of
> borrowing from Java. I wonder why people want to borrow from Java
> instead of just using Java. Maybe PHP users like me need to know more
> about the world of Java. How is it different from PHP for web
> development? compiled, strongly typed,...? Why do we choose PHP over
> Java for mid to large size projects? Is it possible to develop
> Apache/Mysql/Java apps in a free, open source way like using PHP on
> Windows, OS X or Linux?
>
> Thanks,
> Peter
>
Navigation:
[Reply to this message]
|