Re:Nim – Python-like statically-typed compiled language
by adamnemecek on Sunday August 16, 2020 @01:54PM
(#24179722)
The comparison ignores things like age (older tools will be ore popular). Certain things have to be experienced. I'm not sure how you want me to prove something like productivity. How would you prove python is better for some things than c.
Re:Nim – Python-like statically-typed compiled language
by fishmaster on Sunday August 16, 2020 @03:55PM
(#24180695)
Your analogy is false. Python is popular because it is popular - it has momentum. That's pretty much the only reason.
Re:Nim – Python-like statically-typed compiled language
by orf on Sunday August 16, 2020 @05:19PM
(#24181423)
The reason for pythons popularity is only because it’s popular? Not because it’s suited to any particular task?
Then no doubt the majority of those 100 people would use the toothbrush to hammer the nail. It is after all a far more popular tool.
Re:Nim – Python-like statically-typed compiled language
by dunefox on Monday August 17, 2020 @04:11AM
(#24185099)
Again, that comparison makes no sense. Python became somewhat popular for a reason and that built momentum but it didn't get to the current popularity because it's a superior language for any task - rather because many people use it and write tutorials, answer questions on SO, and write libraries and tools.
Re:Nim – Python-like statically-typed compiled language
by collyw on Monday August 17, 2020 @07:59AM
(#24186370)
Python had a number of similar competitors a few years back, the main one being Perl. Python is better than Perl for certain tasks, the syntax encourages writing more readable code. Personally I like Perl, but if I am doing anything non trivial, Python will give me more maintainable code. Perl has a more expressive syntax, which is both a blessing and a curse.
Then you have PHP, which is (or at least was) an inferior langauge to Python when python started getting popular. Python does more that just web dev. Likewise with Ruby.
Python could easily be described as "better" depending on the task.
Popularity is a good enough proxy for how good a given tool is at a given task. Go give 100 people a hammer and a tootbrush and ask them to nail a plank, and you can divine the relative usefulness of each tool based on the number of people who used each.
> As for the second, nobody has to prove anything to you
Nobody is beholden to anyone, but if you're putting a contrary position forward with no evidence be prepared to be asked to elaborate. Such is life.