Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

comment on

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

It's not so simple. Even if you have learnt the alphabet song, the idea of sorting words alphabetically is not obvious, it's something we learn in school.

There are, in fact, two non-obvious ideas here.

The second idea is lexicographic sorting, which means that if two children share the first letter of their name, you compare them using their second letter, then their third letter. Sharing first two letters of names will very likely occur in a classroom of students. Even if it's obvious now, it took hundreds of years for people to figure this trick for sorting long lists of names.

The first idea is sorting a list in first place. This is obvious for our generations, because we have searched words in paper dictionaries and encyclopedias and phone books and indexes a lot, so we know it's easier to find a word in a sorted list. But I think this idea might not be obvious to a child today, when computers can find words in a book for you, can search names in a electronic phonebook or dictionary, or even just words in a list of entries you write. A second year child might never have used a paper dictionary himself, and have never had to find a book on a large row of library shelves with books sorted alphabetically by their author. (Even I have used the help of librarians and electronic catalogs so much that it wasn't until a few years ago when I first used paper catalog slips, and that I have seen a library shelf sorted by catalog numbers as opposed to alphabetized or Dewey descriptor.)

Please don't take this as a sign of generational gap. I think even in our generation a second year child might not have internalized how sorting works. It's one of the useful things we learn in school.

In reply to Re^3: OT: Teaching Second Graders Programming by ambrus
in thread OT: Teaching Second Graders Programming by Limbic~Region

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?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (1)
As of 2023-09-21 22:10 GMT
Find Nodes?
    Voting Booth?

    No recent polls found