Thursday, 16 October 2014

SIMILARITIES AND DIFFERENCES PYTHON AND PHP LANGUAGE

SIMILIRITIES AND  DIFFERENCES  OF PYTHON AND PHP LANGUAGE

S
I
M
I
L
I
R
E
T
I
E
S


PYTHON
PHP

LANGUAGE
         ·         High level language

SOURCE   
         ·         Open source

ABILITY 
         ·         To freeze live object in string representation

LEARN
         ·         Easy to learn compared c, c++ and java
SUPPORTED
         ·         Large number of developer communities
         ·         For a variable number of function
         ·         Can be used for scripting and general programming


D
I
F
F
E
R
E
N
C
E
S


PYTHON
PHP

LANGUAGE
         ·         Assignment is a statement only  
       ·         Switch statement and ‘do , while’ construct
       ·         Increment, decrement and assignment operator
MARK OUT BLOCK
         ·         Indentation
       ·         Curly
ERROR DETECTION
         ·         Rules( helps catching typos)

       ·         Used e_notice
WEB DEVELOPMENT FRAMEWORK
        ·         Web development capabilities  are provided by add-on module
        ·         More flexible base
       ·         Web development features built directly into a core language

COMMUNITY SUPPORT
        ·         Sizable, installed user based( not huge)
        ·         Python software foundation
        ·         very high signal-to-noise ratio
       ·         Huge installed user base
       ·         Low signal-to-noise
DOCCUMENTATION
        ·         More  extensive & generally higher quality
        ·         Large number of         translation available

SOURCES : https://wiki.python.org/moin/PythonVsPhp

No comments:

Post a Comment