Autor Thema: [nice]: PHP5 goes Java  (Gelesen 1912 mal)

Offline Axel_Janssen

  • Gold Platin u.s.w. member:)
  • *****
  • Beiträge: 769
[nice]: PHP5 goes Java
« am: 02.08.03 - 14:13:39 »
Hi,

also wenn ich so die Präsentationen zu PHP5 durchlese, dann frag ich mich welche Sprache eigentlich in 3 Jahren nicht sehr stark von Java beeinflußt sein wird (ausser Python, Assembler und C).  

Also bei C# und VB.NET ist das so.

Nun auch PHP. Das hört sich an wie weakly-typed Java ohne garbage collection und streckenweise funny Syntax ($b->eat()).
- Exception handling try - catch - throw
- namespaces (wie packages) --> bin mir nicht sicher
- Access modifiers: Private, Public und Protected
- static (member) -variables und -functions.
- const (o.k. heisst anders ist aber final).
- automatisches class loading (aber nur mit funny autoload funktion)
- overloading von member Variablen (via get/set Syntax) und Methoden.
-  abstract classes und interfaces
- streams für IO.
(hab nicht alles verstanden, weil ich nur sehr rudimentär php kann):

http://ny1.php.net/introtophp5.pdf
 
Gruß Axel
... design patterns are abstract designs that help identify the structure and elements involved in a specific design solution. From this, a concrete implementation can be produced.
Kyle Brown

 

Impressum Atnotes.de  -  Powered by Syslords Solutions  -  Datenschutz