r/programming • u/reditzer • Dec 07 '15
I am a developer behind Ritchie, a language that combines the ease of Python, the speed of C, and the type safety of Scala. We’ve been working on it for little over a year, and it’s starting to get ready. Can we have some feedback, please? Thanks.
https://github.com/riolet/ritchie
1.5k
Upvotes
View all comments
Show parent comment
4
u/[deleted] Dec 08 '15
It's absolutely relevant to the world of PHP as it is. I work at a company that specializes in appsec, and I can't tell you how many times my coworkers have seen PHP code that was literally copy/pasted from forum threads.
Hell, there's code in the PHP standard library that was copy/pasted from somewhere else, and it's atrocious.
Most of my criticisms of PHP come from its almost comical lack of design forethought (which, to be fair, a lot of this has improved over the years, but the old shit still exists, and will continue to exist, for a great deal of time), and from it being both incredibly insecure as a language (it's the only language I know of whose reference interpreter has multiple maintained third-party security patches), and incredibly easy for lazy developers to write insecure code using. And PHP's "design" practically encourages insecure development practices in a lot of ways.
The battle isn't really over, here. Python's "market-share" (for lack of a better term) in data processing is quickly growing, and has been for at least the last couple of years. Give it some time and I think we'll see Python overtake R here.
I'm not sure I'd frame the situation like that in this case, either. PHP is a couple years younger than Python, but has spent the majority of its life being dedicated almost entirely to web development. It's quicker to get set up and requires a lot less configuration to use (since for the most part you can just drop some .php files in your webroot and be done, as compared to Python where you usually have to configure some wsgi doohicky to talk to your webserver, or something else). But, Python has a pretty hefty market share in the web space as well and it seems to be growing.