Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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


And 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.


It's also a far more readable language, which matters more than anything in large-scale projects

On the other hand, <? ?>.


Large scale projects doesn't need "more redeable" languages, it needs good engeneering and type checks.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: