Resources from the web site of Well House Consultants on the subject of Language Comparisons. We provide open source training course
and business hotel accommodation
in Melksham, Wiltshire, England
We know and train on a wide variety of programming
languages and we can provide an unbiased and knoweledgeable
comparison between Perl, PHP, Python and Tcl/Tk. Each has
its place - its ideal range of applications. But should you
learn another language so that you can write your next program
in the ideal language, or should you use a language that you
already know that will be able to do a good job, but perhaps
isn't quite perfect for the new role?
Longer articles related to this subjecterrors v exceptions
|Articles and tips on this subject||updated|
|3785||Programming languages - what are the differences between them?|
Comparing the programming languages ... the same program in 10 languages
How do I add one to a variable? Some languages have a ++ operator, other languages allow you to use +=, others have an incr command, and in some you have to write a long(er) assignment statement.
How do I set up a variable in ...
|3169||Rekeying a table - comparison in #Ruby #Perl and #Python|
Albert knows Perl and Python, Barbara knows Lua and Ruby, Colin knows Perl, and Debbie is a dab hand at PHP. Eddie does Python, Perl and PHP and Fiona cooks a great dinner for Shrek. Gordon programs in Lua and PHP, and Harriet knows both Ruby and Perl. Who shall I ask for help on a Perl project?
|3112||Public and private courses - subjects available for 2011|
Sorting through old manuals, it struck me just how many tailored courses we've given over the years. Tailoring a course to suit customer needs is really very easy for us - all of our courses are modular, and when we're running a single customer / private course, we prefer to top and tail the course ...
|3003||What will we be teaching in six years?|
This is the fourth of a series of articles that reviews where Well House Consultants has been - and where we're going - after 6 years of blogging and some 3000 articles. - "towards the next 3000"
Moving Course Subjects Forward
I previous wrote a long article looking - at post number 3000 - how we may ...
|2947||Teaching Lua to a Perl advocate|
It seems the rest of the class thinks I'll find Bill a tough case. Bill (not his real name) is a Perl fan - there's so much you can do, so shortly, in Perl. He's a great regular expression fan and he's got a real comfort with that. If you described him as a bit of a "stick in the mud" - happy with ...
|2866||Ruby - how does it compare and where is it the right language?|
I heard Ruby described as "Perl Five and a Half" - and I thought "how apt".
Perl is an excellent programming language - it's especially excellent as glueware or middleware, where it melds together differing technologies, protocols, utilities and other programs to provide a total solution. But Perl's ...
|2755||Books in the store in the USA - still a portent of the UK market to come?|
In the quite-distant past, I've written about how we look at bookshops while we're in the USA, see which technical books they have on their shelves, and use it as one input - one guiding light - in reading where the UK may be headed in six months to a year. [article]. With technical books now being very ...
|2700||The same very simple program in many different programming languages|
I was asked how many languages I teach yesterday - and the answer's quite a few; at times, it's almost "the more the merrier" as to a very great extent they are varieties on a theme much of the way - but different balances of features make some languages especially good for some uses.
As a geek's relaxation ...
|1990||Speaking all the languages|
Phil Staiger, who talks about Tips and Techniques with Project Dogwaffle, can speak (as I recall) at least six languages. Working for an American company (Megatek) out of San Diego, his role as roving technical expert had taken him all over the world, and had him talking with people from many countries. ...
|1717||Q - Should I use Perl or Python?|
An interesting question posed to me today - and not for the first time. And not for the first time, my answer had to be "tell me more about your application, and about the people who will be writing and maintaining it".
A comparative diagram on the board provides some help - but of course what's important ...
|1582||Ruby, C, Java and more - getting out of loops|
break and continue statements have been available for loop control for many years, and others functionallity has been added such as Perl's redo. From today's Ruby Course, here's a table that compares these loop controls in Ruby to similar commands in the other languages that I have been discussing ...
|209||FAQ - Perl or PHP|
"Do you prefer Perl or PHP?".
That's a question that would go high up my FAQ if I maintained one. But there's no easy answer; "it depends".
PHP is a fabulous language for use with web site work and embedded there. Rasmus Lerdorf and all the others involved have done a fantastic job in coming up with ...
Examples from our training material
|incr.c|| Programming language Comparison - a C program|
|incr.cpp|| Programming language Comparison - a C++ program|
|incr.java|| Programming language Comparison - a Java program|
|incr.lua|| Programming language Comparison - a Lua program|
|incr.php|| Programming language Comparison - a PHP program|
|incr.pl|| Programming language Comparison - a Perl program|
|incr.py|| Programming language Comparison - a Python program|
|incr.rb|| Programming language Comparison - a ruby program|
|incr.sh|| Programming language Comparison - a bash shell program|
|incr.tcl|| Programming language Comparison - a Tcl program|
|pee3.pl|| Invert (rekey) a file / Perl|
|pee3.py|| Invert (rekey) a file / Python|
|pee3.rb|| Invert (rekey) a file / Ruby|
Topics covered in this module
Which language should I use for my project?
If you are looking for a complete course and not just a information on a single subject, visit our Listing and schedule
Well House Consultants specialise in training courses in
. We run
throughout the UK (and beyond for longer courses), and
at our training centre in Melksham, Wiltshire, England.
It's surprisingly cost effective to come on our public courses -
even if you live in a different
country or continent to us
We have a technical library of over 700 books on the subjects on which we teach.
These books are available for reference at our training centre.