Skip to content
Tcl Source Code History Of Ticket 1092508fffffffff
Login

History Of Ticket 1092508fffffffff

Artifacts Associated With Ticket 1092508fffffffff

  1. Ticket change [d966564f7f] (rid 107607) by dgp on 2004-12-29 02:34:19:

    1. assignee initialized to: "davidw"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      
      In its earliest lessons and examples,
      the tutorial implies quoting requirements
      that do not exist.
      
      Page:
      
      http://www.tcl.tk/man/tcl8.5/tutorial/Tcl2.html
      
      includes the example:
      
          set fruit "Cauliflower"
      
      In the next page, the example includes:
      
           set Z "Albany"
           
      The "..." quoting is legal, but not necessary.
      Using this quoting style in the first examples
      of Tcl commands strongly suggests the
      quoting is necessary. This kind of misimpression
      early on can lead to faulty beliefs that "..." quoting
      creates a "value", or that {...} quoting creates
      a "list".  Better to learn early on (both explicitly
      and by implication) that Tcl's syntax rules
      determine word boundaries and substitution.
      No more; no less.
      
      I believe this quoting style is one
      favored by the TclTutor author as
      a way to indicate programmer intent
      regarding values vs. variable names.
      It's a fine coding convention to
      introduce later on once the precise
      syntax requirements of Tcl are well
      established.  I think the early lessons
      in the tutorial should make use of
      only necessary syntax to avoid any
      confusion about what Tcl requires
      vs. what some coding convention
      recommends.
      
      
      
    4. foundin initialized to: "obsolete: 8.5a3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "dgp"
    9. subsystem initialized to: "75. Tutorial"
    10. title initialized to: "Tutorial implies false quoting requirements"
    11. type initialized to: "Bug"
  2. Ticket change [ece6127f2d] (rid 103789) by hobbs on 2004-12-29 09:37:46:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      While I agree that quoting should be addressed early on (as
      continued use of "" can lead a person into quoting hell by
      accident), I should note that I use ""s often where "not
      necessary" simply because my editor will color it nicely,
      which is appropriate in context.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"
  3. Ticket change [587df2aad4] (rid 117815) by davidw on 2004-12-30 05:53:23:

    1. icomment:
      Logged In: YES 
      user_id=240
      
      I usually use quotes for consistency's sake, but you are
      indeed correct that people should be shown early on that Tcl
      is different this way.... you dont' *need* the quotes if you
      don't have any spaces.
      
      
    2. login: "davidw"
    3. mimetype: "text/plain"
    4. username: "davidw"
  4. Ticket change [6a4d1ea176] (rid 128125) by davidw on 2005-01-04 21:02:17:

    1. closedate changed to: "2005-01-04T14:02:17"
    2. closer changed to: "davidw"
    3. icomment:
      Logged In: YES 
      user_id=240
      
      I added an example like this:
      
      puts HelloWorld
      
      in the first chapter, and changed some of the others to not
      use quoting.
      
      Have a look and see if you think it's adequate.  I'm going
      to go ahead and close the bug, but I'd be happy to add some
      more.
      
      
    4. login: "davidw"
    5. mimetype: "text/plain"
    6. status changed to: "Closed"
    7. username: "davidw"
  5. Ticket change [079362bbe9] (rid 89426) by dgp on 2005-01-04 23:16:01:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      I don't see the change.  Does something
      need to be done to publish the change
      on the www.tcl.tk web site?
      
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  6. Ticket change [73f7bfe3d7] (rid 105123) by davidw on 2005-01-04 23:40:31:

    1. icomment:
      Logged In: YES 
      user_id=240
      
      That requires manual intervention by someone with access to
      the web server.  It would be nice if there were a cron job
      pulling these changes out, but once again, someone with
      access to the web site would have to "make it so".  It's all
      plain HTML, so if you want, it's also possible to just pull
      it out of CVS and view it as a local document.
      
      
    2. login: "davidw"
    3. mimetype: "text/plain"
    4. username: "davidw"
  7. Ticket change [747115906e] (rid 105205) by dgp on 2005-01-05 00:13:51:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      that example helps. yes.
      
      Here's a patch with other changes
      to that page you might consider.
      
      Something else to think about
      is careful use of the terms "string"
      and "word" in discussing Tcl syntax.
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  8. Ticket change [af95e345f9] (rid 97839) by dgp on 2005-01-05 00:16:23:

    1. icomment:
      Logged In: YES 
      user_id=80530
      
      Yes, that example helps.
      
      Attached is a patch of
      other changes to that page
      for you to consider.
      
      I think I'd also drop the quotes
      from the first example on the
      following page to get:
      
        set fruit Cauliflower
      
      Another thing to think about
      is more careful use of the
      terms "string" and "word".
      
      Do you want comments filed
      like this in the Bug Tracker?
      Or is some other mechanism better?
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  9. Add attachment "1092508.patch" [ec9d761bf0] (rid 103736) by dgp on 2005-01-05 00:16:24.

  10. Ticket change [250edccf19] (rid 131218) by dgp on 2005-01-05 00:16:24:

    1. icomment:
      
      
      File Added - 114469: 1092508.patch
      
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  11. Ticket change [521aff6419] (rid 126255) by davidw on 2005-01-05 01:13:04:

    1. icomment:
      Logged In: YES 
      user_id=240
      
      Fixes, bugs and quick comments are fine on the bug tracker.
       Discussion of major changes should be on tcl-core.
      
      Personal email to me is ok too for quick things, I use that
      as a sort of bug tracker sometimes:-)
      
      
    2. login: "davidw"
    3. mimetype: "text/plain"
    4. username: "davidw"
  12. Ticket change [882ce40954] (rid 131827) by hobbs on 2005-01-05 01:37:25:

    1. icomment:
      Logged In: YES 
      user_id=72656
      
      RE: the web issue, I'm hoping that this gets folded into the
      Tcl core docs, so it gets updated with each release, as the
      other docs on the web site do.
      
      
    2. login: "hobbs"
    3. mimetype: "text/plain"
    4. username: "hobbs"