News for hackers. Stuff that matters.
Re:Perl Data Language: Scientific Computing with Perl by mangecoeur on Tuesday June 08, 2021 @06:08PM (#27441645)
People like other people using python because it makes it easier to share and exchange and built a community of knowledge and libraries. Science is a lot about ease of collaboration.
Re:Perl Data Language: Scientific Computing with Perl by pvaldes on Tuesday June 08, 2021 @06:37PM (#27442008)
Is this true or is a belief?

The fact is that most people don't even have an opinion about what is Python or Perl.

Python can seem easy to share after you copy part of a python script and miss one blank space somewhere at the end of a line or start copying in the wrong line. If you use a dumb text editor the script will easily turn into a ugly mess. Perl scripts don't have this problem, so some people could say that they are easier to exchange and share in fact.

Many Perl authors will be really glad to share your code with you. This is what they built an online community of knowledge and libraries called CPAN where you can find it easily. To find authors willing to help and explain obscure parts of their own scripts also if asked politely, is not uncommon or particularly difficult.

Re:Perl Data Language: Scientific Computing with Perl by mangecoeur on Wednesday June 09, 2021 @05:21AM (#27445920)
> part of a python script and miss one blank space somewhere at the end of a line or start copying in the wrong line. If you use a dumb text editor the script will easily turn into a ugly mess.

I think we can bury this 'Python has significant whitespace' criticism for good now. I have taught python to people from hugely diverse backgrounds (including literature and law) and not once has this been an issue (on the contrary it's a massive help to readability).

Also, no sane person teaches people to code python with a 'dumb' text editor - you give them Jupyter notebooks or VSCode or PyCharm (which has an excellent educational version) or Notepad++ or something.

Re:Perl Data Language: Scientific Computing with Perl by bquinlan on Tuesday June 08, 2021 @07:50PM (#27442569)
I think that the comment that you relied to meant that it is easier for scientists to collaborate using a single language rather than many. For some domains, Python has emerged as that single language. That doesn't mean that Python is the best language.
Re:Perl Data Language: Scientific Computing with Perl by mangecoeur on Wednesday June 09, 2021 @05:16AM (#27445885)
Exactly this. To some extent the language doesn't matter - although I think Python has become especially popular thanks to being one of the easiest languages to learn and use in practice. Then you get lots of network effects - e.g. grad students learn python, and when they become supervisors they teach their students python.
Re:Perl Data Language: Scientific Computing with Perl by asdff on Tuesday June 08, 2021 @08:17PM (#27442760)
You'd be hard pressed to find someone who only knows python, though. Where there is python data science there is usually also R, like smoke and fire. The syntaxes are similar enough, imo R a little simpler even.
Re:Perl Data Language: Scientific Computing with Perl by pvaldes on Tuesday June 08, 2021 @08:39PM (#27442897)
This is mediocracy and a bad strategy
Re:Perl Data Language: Scientific Computing with Perl by anthk on Tuesday June 08, 2021 @08:25PM (#27442800)
> People like other people using python because it makes it easier to share and exchange and built a community of knowledge and libraries. Science is a lot about ease of collaboration.

You realize CPAN did it first right?

Re:Perl Data Language: Scientific Computing with Perl by mangecoeur on Wednesday June 09, 2021 @05:26AM (#27445950)
That's not the point, people are using python so when they work with other people, it helps if everyone is using python. Maybe CPAN was first but it never became standard in the science community.