677 – [Tracker] Get the documentation cleaned up for 1.0

D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 677 - [Tracker] Get the documentation cleaned up for 1.0
Summary: [Tracker] Get the documentation cleaned up for 1.0
Status: RESOLVED WORKSFORME
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: All All
: P2 blocker
Assignee: No Owner
URL:
Keywords: spec
Depends on: 39 40 265 567 576 577 601 603 612 630 631 632 633 673 679 689 690 694 944 996 1244 1351 2045 2556 2616 2994 3007 3104 3105 3106 3107 3109 3110 3111 3112 3118 3165 3183 3204 5715
Blocks:
Show dependency tree / graph
Reported: 2006年12月11日 20:46 UTC by Stewart Gordon
Modified: 2015年06月09日 05:11 UTC (History)
4 users (show)

See Also:
smjg: d1.0blocker?


Attachments
Proposed new file.d (20.15 KB, application/zip)
2007年02月09日 12:43 UTC, Pedro Ferreira
Details
Show Obsolete (1) Add an attachment (proposed patch, testcase, etc.)

Note You need to log in before you can comment on or make changes to this issue.
Description Stewart Gordon 2006年12月11日 20:46:34 UTC
This tracker continues where issue 511 left off. With 1.0 around the corner, some serious work is still needed to get the language specification cleaned up.
If you find any issue with the D documentation that you feel should be fixed in time for 1.0, please make this issue depend on it. Holes, ambiguities, contradictions, undocumented features, typos, you name it.
If it's an instance in which compiler behaviour doesn't match the spec, but you think the compiler is doing what Walter intended and the spec just doesn't say it right, by all means add it. DDoc issues that are root causes of holes in the Phobos documentation may also be included.
This will help to prioritise issues surrounding the language spec, which must be fixed up before a compiler can be compliant. Then, as these spec problems are fixed, we will know for sure how any compiler problems related to these issues should be fixed.
Comment 1 Pedro Ferreira 2007年02月09日 12:43:07 UTC
Created attachment 98 [details] 
Proposed new file.d
In this file I include the output of the "diff -uN" of file.d against std/file.d
Comment 2 Pedro Ferreira 2007年02月09日 12:44:25 UTC
Comment on attachment 98 [details] 
Proposed new file.d
This is a corrected version of phobos' file implementation. Syntax has been corrected to conform to http://www.digitalmars.com/d/dstyle.html DDoc comments have been updated however are not complete yet. I'd like to know if these corrections are suitable or if I have touched things that shouldn't have been touched. I intend to check other files of Phobos, so feedback is appreciated.
Comment 3 Stewart Gordon 2007年02月09日 14:08:04 UTC
This is a tracker issue. Patches or other contributions of code should not be attached here. Instead, they should have bug reports of their own.
To attach patches to a tracker makes it impossible to track whether they've been folded in.
Comment 4 Stewart Gordon 2007年02月09日 14:31:38 UTC
Moreover, if you're going to include a diff, then including one that's as big as the code file or bigger is practically useless. There are two reasons for having diffs:
(a) to save disk space/bandwidth by storing/transmitting only the changes to a document rather than the whole updated document
(b) to draw the human reader's attention to which bits have actually changed
By changing the indentation style as well as fixing up the content, you have created a diff file that's bigger than either version of the code. What's more, we have a hard time finding the bits where you've actually changed the content among the mass of indentation fixes. Hence both benefits are lost.
On this basis, it would have made more sense to upload just your updated version of the page. You could, however, have gained benefit (b) by fixing the indentation first and then diffing between this intermediate version and that with your content fixes put in.
Comment 5 Brad Roberts 2009年06月07日 15:58:53 UTC
Comment on attachment 98 [details] 
Proposed new file.d
Due to time and feedback, marking this patch obsolete. If you think the changes are still useful, please resubmit the changes in a new bug report, not against this tracker bug.
Comment 6 Stewart Gordon 2009年06月07日 16:06:29 UTC
That attachment already has a "new" bug report: bug 944.


AltStyle によって変換されたページ (->オリジナル) /