![]() PERL PROGRAMMING LANGUAGE SERIESThe book takes the form of a series of working interpreters for the language PScheme, which is a variant of Scheme. That's why there are 3-5 sql modules, right? One is fast, another slow but more features, 3rd is unmaintained and so on.This book presents an informal and friendly introduction to some of the core ideas in modern computer science, using the programming language Perl as its vehicle. Python with it's paradigm of having one way to do something just sucks. Perl has PDL for scientific data and tons of other battle tested modules, often with C core to squeeze performance out. A script written in perl will not be broken by a sudden update, since perl folks do care about compatibility. Did you ever used Gnu parallel? It is written in perl and if you need a bit more advanced features of parallel you will need some perl knowledge. PERL PROGRAMMING LANGUAGE HOW TOI often see people using pandas to parse a simple csv file, while having no damn clue how to read a file line by line, knowing a bit of perl let you do it literaly in one line most of the time and much faster too. These are great tools, however perl is a superset of sed, awk and a bunch of other tools. ![]() I see you guys fiddling a lot with coreutils tools and sed with awk. Should you learn perl ? As a bioinformatition absolutely yes. PERL PROGRAMMING LANGUAGE CODEIf you manage to code in perl you can do this in python as well and vice versa. At the end it doesnt matter if you learn perl or python in the long term. But regardless, when Python is the alternative, anything else is the right choice. ![]() The arguments FOR this paradigm are EXACTLY the same as those made about Visual Basic in the 90s: everybody knows it, I can get guys for cheap to write it. NEVERTHELESS, this enables total n00bs to get started in it right away. Usually "the Pythonic way" is the only way because Python is such a hack Guido can't make it work any other way. The only other thing Python "has going for it" is its misfeature of there being only one way to do it. But he was saved by a killer app, in this case NumPy. It's a hackish ripoff of some good ideas done by a guy who didn't know what he was doing. Python is the Windows 95 of programming languages. I've done bioinformatics since the first days of the project, and I've done it in every language commonly used since then, and I insist that, no matter what your data science job, Python is the worst tool for it. Lemme put it this way: if the human genome project had used Python instead of Perl, especially Python as it existed then, they'd still be at it. Yes, you can still find jobs but you will be cut out from a lot of important stuff going on in the field imho. It's quite painful for everyone involved tbh. He is the only one who can make his programs/scripts work when they break or have bugs and he cannot contribute to anyone else's work because we are all using python and R. He is very old school and he refuses to learn python. I have a bioinformatician colleague who only programs in perl. Especially if you want other people to contribute to it, maintain it or just be able to help you out, you will need to switch to python, R, C++ or really any other more active language. But based purely on my experience I would say yes, it is in decline.Ī lot of old bioinformatics tools were written in perl, so it may still be helpful to know your way around it, however if you are going to write your own code you'll need to look somewhere else. It may depend on where you end up working and I will let other give you more details since I'm not an expert in the field. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |