4 ms·
Real production ready servers ,complex scientific calculations, 2d, 3d games , to name a few things. PHP is not general purpose. Python is. PHP has type hintin
by camus2 12y ago
Real production ready servers ,complex scientific calculations, 2d, 3d games , to name a few things. PHP is not general purpose. Python is.
PHP has type hinting and interfaces that makes it "java" like(it's a strength).
Python doesnt have interfaces but allows type hinting through decorators.
@typecheck
def gimmeFloat(a:int, b:list, c:tuple=(1,2,3)) -> float:
return 3.14
- jbeja 12y agoAnd who is talking here about a general purpose lenguage in this context, i only care about the web stuff i don't need things that ain't gonna use.
- ulisesrmzroche 12y agoIt's also a far more readable language, which matters more than anything in large-scale projects On the other hand, <? ?>.
- jbeja 12y agoLarge scale projects doesn't need "more redeable" languages, it needs good engeneering and type checks.