Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

comment on

( [id://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

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



  • Are you posting in the right place? Check out Where do I post X? to know for sure.
  • Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
    <code> <a> <b> <big> <blockquote> <br /> <dd> <dl> <dt> <em> <font> <h1> <h2> <h3> <h4> <h5> <h6> <hr /> <i> <li> <nbsp> <ol> <p> <small> <strike> <strong> <sub> <sup> <table> <td> <th> <tr> <tt> <u> <ul>
  • Snippets of code should be wrapped in <code> tags not <pre> tags. In fact, <pre> tags should generally be avoided. If they must be used, extreme care should be taken to ensure that their contents do not have long lines (<70 chars), in order to prevent horizontal scrolling (and possible janitor intervention).
  • Want more info? How to link or How to display code and escape characters are good places to start.
Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others goofing around in the Monastery: (9)
As of 2024-04-19 09:33 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found