On Monday, 16 May 2016 at 14:07:06 UTC, Ola Fosheim Grøstad wrote:

I don't think Python ever will replace C++ or Java, but it is actually a decent language when you add type annotations. Fortunately PyCharm supports type annotations in comments which makes Python2.7 much more acceptable when writing web-services in Python. Of course, web-services tend to resolve around checking data connecting to other systems, so not really self contained programs (most of the program "state" is in remote databases, http services, mem-cache servers etc).


The sad thing is that people _thought_ they could use Python (and other SLs) to do things C++ and D etc. are better suited for. But people are beginning to realize that it was a mistake (performance, maintenance, type safety etc). It's actually not the SLs per se that are experiencing a backlash, it's the way they've been used that has come under scrutiny. I have no issues with Python, and I don't blame it for having been used in places where it shouldn't have been used in the first place.

Yes, if you implement the system in one big monolithic executable. If you write many smaller independent programs that communicate then it works out ok. So it is somewhat context dependent.


I've written a small CMS in PHP. Of course you _can_ do it. I would have preferred Lua though. For fun I set up a vibe.d/DerelictLua based system and the Lua code was much more elegant and much more concise. Lua was designed from scratch. PHP started out as a hack, and it shows.


[snip]

Reply via email to