4 ms·
I think the interesting question there (and really any language comparison) is to compare the result of idiomatic implementations. Unfortunately, there is no cl
by jamincan 4y ago
I think the interesting question there (and really any language comparison) is to compare the result of idiomatic implementations. Unfortunately, there is no clear answer on what is idiomatic, even with something like Python that is more opinionated than most on the question.
- igouy 4y agoWhen there is "no clear answer on what is idiomatic", we are left with uninteresting "yes it is" / "no it isn't" Dead Parrot assertions. http://montypython.50webs.com/scripts/Series_1/53.htm http://montypython.50webs.com/scripts/Series_1/53.htm
- oconnor663 4y agoI think the best way forward on the idiom question is to accept that we can't have a competitive/adversarial benchmark suite where idiom is a factor. I think you really need one author, or maybe a group of colleagues who trust each other, to write the whole suite and make their own choices about what idiom means to them. Folks who disagree with those choices can either write an article about how much performance you gain from making what changes, or just produce their own whole suite. Having a very high level comparison like "this is how languages stack up with these idiomatic choices, but this is a different chart with different choices" would be interesting, even though it would take more work to interpret it.
- igouy 4y agoSeems that idiomatic is a matter of personal taste, used to arbitrarily accept or reject. One way forward would be to ignore claims based on idiom, but measure how long it took to write a program that produced correct output.