3 ms·
> both are very capable and suitable languages No, both are terrible, garbage languages, languages that have been whipped into reasonable shape over a decade o
by pessimizer 8y ago
> both are very capable and suitable languages
No, both are terrible, garbage languages, languages that have been whipped into reasonable shape over a decade or two by good programmers forced to use them due to awful monocultures that arose through successions of largely arbitrary events. This reasonable shape means that the most recent versions can be used with relative pleasure if you ignore half of their syntax, clamp massive libraries to them to replace the other half, and assume that your end product will be as fragile as glass.
edit: sorry about the trolly comment (which I make in response to a good comment), but if PHP and javascript aren't bad languages, I wouldn't know how to make a case that any language is a bad language.
- jack9 8y ago> I wouldn't know how to make a case that any language is a bad language I have a checklist I've been building which is purely based on my experience and is subjective. Appearing on the checklist makes teaching someone else more difficult and looks bad for the language in general. I believe the ecosystem is part of the language. You can't do much without running into npm if you use node but you can avoid it if you just use JS - are they separate? I treat them so. If you aren't a general purpose language being used as a general purpose language, that's partially the language's (including ecosystem) fault. eg don't make a UI with erlang. * Language has a toxic ecosystem - node * Language makes it easy to do the wrong thing - node, js, PHP, lua, Perl (notice no Python) * Language makes it hard to do the right thing - node, js, PHP, Perl, erlang, Python, Haskell, Java * Language is based on an esoteric design principle - erlang, Haskell, lua (meta-things) * Language which is internally inconsistent - node, js (floats, time, etc), PHP (bifs), Java (type system) etc. I think there's plenty of languages which have problems and few seem to be shoring them up because we still don't have a consensus on how dynamic typing should be implemented, so we build upon the sand of flawed languages and argue about triviality.
- emj 8y agoNo programming language design survives first contact with the programmers. This is also holds on project level if you are 100 persons working on the same project it's very easy to mess it up. I've seen lots of bad python code, I don't think it's hard to do the wrong thing.