3 ms·
JS and php are perfectly suitable general purpose programming languages these days. And given they're both turing complete, they implicitly cover advanced use c
by meritt 7y ago
JS and php are perfectly suitable general purpose programming languages these days. And given they're both turing complete, they implicitly cover advanced use cases too.
So that leave us with "sound in its design" and I'd argue the absolute unmitigated disaster of python 2 vs 3, the numerous competing competing package managers, and the abundance of really bad code examples due to the influx of the mathematics world (just look at R), I fully disagree that python is a good choice.
But then again, that's just my opinion, but setting people off on an unnecessarily biased path with the assumption that there's only one way to do things definitely sounds like a pythonic behavioral trait.
- iforgotpassword 7y agoI agree, and in addition, at early stages things like "sound design" don't even matter. You're busy understanding loops, try to interact with the file system, fetch stuff from the web, you're inevitably googling and copying a lot of bad code. Python 2 vs 3 doesn't matter at that point. PHP might even be the best choice here since you don't need to remember to import stuff, just start off with your code, all the functions are there. Once you reach a point where you want to do more advanced stuff or just try out other languages you can still learn about include, import etc. and start to structure your code better by splitting it into compilation units, classes, modules, what not.