| Ticket UUID: | 1610474 | ||
| Title: | Code format | ||
| Type: | Bug | Created on: | 2006-12-06 23:16:31 |
| Submitter: | nobody | Assigned to: | tallniel |
| Subsystem: | 75. Tutorial | Severity: | |
| Priority: | 2 | Last modified: | 2009-12-23 22:46:07 |
| Status: | Closed | Closed by: | tallniel |
| Resolution: | Wont Fix | Closed on: | 2009-12-23 15:46:07 |
| Version: | None | ||
| Description: | ||||
set tclfiles [glob *.tcl]
puts "Name - date of last modification"
foreach f $tclfiles {
puts "$f - [clock format [file mtime $f] -format %x]"
}
I am not sure how many people smoosh their code like that. I know I don't and since it is a tutorial it should be formatted like you would want someone to code.
set tclfiles [glob *.tcl]
puts "Name - date of last modification"
foreach f $tclfiles {
puts "$f - [clock format [file mtime $f] -format %x]"
}
This is more of a request and not a "bug".
| ||||
| User Comments: | ||||
tallniel added on 2009-12-23 22:46:07:
allow_comments - 1 The code seems fine to me, and perfectly readable. The Tcl Style Guide, as far as I am aware, is silent on the question of aesthetically pleasing line spacing, except with respect to comments. Unless there is a clear case for significantly reduced readability, I am loathe to set a precedent of making updates to the tutorial for purely stylistic reasons. | ||||
