Training, Open Source computer languages
PerlPHPPythonMySQLApache / TomcatTclRubyJavaC and C++LinuxCSS 
Search for:
Home Accessibility Courses Diary The Mouth Forum Resources Site Map About Us Contact
 
For 2023 (and 2024 ...) - we are now fully retired from IT training.
We have made many, many friends over 25 years of teaching about Python, Tcl, Perl, PHP, Lua, Java, C and C++ - and MySQL, Linux and Solaris/SunOS too. Our training notes are now very much out of date, but due to upward compatability most of our examples remain operational and even relevant ad you are welcome to make us if them "as seen" and at your own risk.

Lisa and I (Graham) now live in what was our training centre in Melksham - happy to meet with former delegates here - but do check ahead before coming round. We are far from inactive - rather, enjoying the times that we are retired but still healthy enough in mind and body to be active!

I am also active in many other area and still look after a lot of web sites - you can find an index ((here))
Perl or Python?

Posted by admin (Graham Ellis), 19 August 2004
I was asked the other day whether a newcomer to programming who's going to be working in the bioinformatic field should learn Perl or Python. I'm posting my response up here (minus any personal references) as it's a question other have asked too.

Python is a superb language, that makes heavy use of "Object Oriented" techniques ... which we explain on our courses where appropriate.  OO techniques are particularly suitable for
(a) larger applications or suites of programs with a lot of code shared and
(b) projects where the programming staff are spending a high proportion of their time on the application(s).  
The learning curve is a little longer than with a non-OO language, and for people who are programming as only a small part of their jobs it is probably not the best route forward ... unless (another parameter for the equation) they already have access to a good library of modules written in Python.

Perl is a language that can be used in many ways.  It can be used for simpler and more complex applications too, but its very flexibility means that it's not the easiest of languages to learn for some people.  I started the previous paragraph by saying "Python is a superb language".  So is Perl.  And there's a lot of standard bioinformatics code and examples out there in Perl.

Either Perl or Python should be fine for you as a first language.   BUT ... we find that our potential customers for Python training tend to be converting from other languages, and for that reason it's not practical for us to advertise a public "learning to program in Python" course. Not even Mark Lutz (Author of the O'Reilly book on learning Python) offers such a course - I've sat in on his course in the USA and it was superb, but it assumed that the trainees were converting from another language.

Posted by livio_ravetto (livio_ravetto), 11 January 2005
My 2 pence.

Python seems to be a cleaner language than Perl. Both languages do very similar things in very similar ways, yet you know what Python returns but you guess what Perl returns.

There are more Perl gurus around than Python's though, and it seems more jobs are around for the Perl mongers.

No clear winner though, Perl has CPAN, and that's its real wealth.

Posted by Custard (Custard), 11 January 2005
Python has the 'Vaults of Parnassus' which is a lot like CPAN. (If a little inconsistent IMHO though).

I'm a Perlite BTW, but interested in Python et al.
Most of my work for about 10 years has been Perl, with brief breaks of TCL and Java and some electronics.
Occasionally see Python mentioned, but I'm not current with it.  Perl has been a good earner for me.

b

(my 1 ruble)



This page is a thread posted to the opentalk forum at www.opentalk.org.uk and archived here for reference. To jump to the archive index please follow this link.

You can Add a comment or ranking to this page

© WELL HOUSE CONSULTANTS LTD., 2024: Well House Manor • 48 Spa Road • Melksham, Wiltshire • United Kingdom • SN12 7NY
PH: 01144 1225 708225 • FAX: 01144 1225 793803 • EMAIL: info@wellho.net • WEB: http://www.wellho.net • SKYPE: wellho