in reply to Teaching Perl inside an Academic Course

Hello, fellow Monks.
Mago just asked me to try to rewrite his question. Reading the answers, I figured ou that the most of the fellows just figured out The Right Thing and gave his/her answers for the Right Question.

On the other side, several Monks just asked "what's going on here?" and can't figure that out for (?:him|her)selves.

The question Mago asked is more correctly expressed like this:

Please tell me what you think about teaching Perl as the first-language for students at a computer science academic course, what do you see as good things or bad things in choosing perl as the first language?


"In few words, translating PerlMonks documentation and best articles to other languages is like building a bridge to join other Perl communities into PerlMonks family. This makes the family bigger, the knowledge greater, the parties better and the life easier." -- monsieur_champs

  • Comment on Teaching Perl as the First Language in an Academic Course - Good or Bad Thing?
  • Download Code

Replies are listed 'Best First'.
Re: Teaching Perl as the First Language in an Academic Course - Good or Bad Thing?
by dragonchild (Archbishop) on Mar 09, 2004 at 14:19 UTC
    Perl is too loose for a first language. A first language should be something like Pascal (designed as a teaching language), which is strongly typed and doesn't allow much flexibility. A first language should be something that teaches good practices.

    Later, a student should be taught when those practices are unwarranted. But, those situations are very rare and usually involve very advanced topics. In that situation, Perl makes an excellent second language. One cannot appreciate the flexibility Perl offers without having had to do it the "hard way" first.

    This is how I learned programming. 10 years later, I still appreciate Perl for what it does for me, and try to do the same with what I develop.

    ------
    We are the carpenters and bricklayers of the Information Age.

    Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.

Re: Teaching Perl as the First Language in an Academic Course - Good or Bad Thing?
by monsieur_champs (Curate) on Mar 09, 2004 at 14:21 UTC

    Personally, I guess perl is not a language for the begginners. Perl shouldn't be the first language, because there is little restrictions on datatypes and syntax constructions. This generally speaking leads the newcomers to become less disciplined and write bad code. This is a bad thing. On the other hand, perl is fast to learn and powerful. Much more powerful than the needs you have at academia. This is both an advantage and a disvantage, for the same reason you don't teach basic math operations to children using a scientific calculator - they will not learn how to think, just how to press buttons and read the answers.


    "In few words, translating PerlMonks documentation and best articles to other languages is like building a bridge to join other Perl communities into PerlMonks family. This makes the family bigger, the knowledge greater, the parties better and the life easier." -- monsieur_champs