Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?

Comment on

( #3333=superdoc: print w/ replies, xml ) Need Help??

Whilst this is not strictly perl, its related because I'm teaching perl to a small group of people at one of the companies I do work for. None of them have ever done programming of any sort, so I'm working with a clean slate -- no prejudices -- which is nice.

I'd like to start off with a basic introduction to what programming is. In fact, that's the name of my first slide. I've never stopped to examine it in this way before, so I had to ponder for a little while.

I'm posting here because I'd like some feedback -- does this seem like an accurate representation? Did I miss something major? Or am I giving people the wrong idea? Remember, this isn't meant to be all inclusive, just the generic idea. The first slide text is below:


Programming: The process of creating steps for a computer to perform a desired task.

In a nutshell, that's it. Take any given problem, and break it down into small tasks you (as the programmer) can tell the computer to perform.

There are 5 key components to programming -- at least in the begining. They are

  • Input/Output
  • Variables
  • Flow Control
  • Decision Making
  • Reusing Code (Subroutines)

Once you've learned these five basics, you can write complete programs on your own! Sounds simple, doesn't it? Lets talk about each of the five in a bit more (shallow) depth.


Thanks for any, and all input. Unless, of course, its just purely insulting with no redeeming quality. And even then, thanks, cause it will likely be good for a laugh.

- Erik

In reply to What are the most basic, generic aspects of programming? by theAcolyte

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":

  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?

    What's my password?
    Create A New User
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others lurking in the Monastery: (11)
    As of 2015-11-30 11:01 GMT
    Find Nodes?
      Voting Booth?

      What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

      Results (769 votes), past polls