-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
README or README.md ? #21
Comments
GitHub would render If, however, GitHub et al. were to convince to render |
The original intent was to go with README.md so that you could use MarkDown, but there aren't a lot of class comments that are written in MarkDown and those can look pretty ugly .... so README it is ... |
My preference goes to Markdown. I initially had the objection that for this to be done the right way, the format of class comments should be modeled somewhere, instead of them just being Strings (and therefore, plain text But one of the points of Markdown is that when there is little markup, it just disappears; paragraphs and bullet lists are just what you'd do in plain text, for instance. Therefore, most current class comments are actually Markdown without knowing it, and I'm not convinced there are that many class comments that would render badly if interpreted as Markdown. |
My first preference was markdown, but in fact there are some pretty bad looking comments out there when interpreted in markdown, so I didn't push it At the end of the day, it's the image-based tools that are more important so when a markdown viewer shows up then markdown can be used in the class comments... |
In fact, there are several classes in Squeak that use Text as class comment, using
These could be rendered to Markdown. |
Ok, fair enough. |
The actual problem is 2-fold:
Also, rendering Texts into Markdown is only possible in simple cases. Markdown does not do color or fonts, for instance. A more correct mapping would be to HTML. |
@cdlm completely agree. I don't think github would render HTML, tho, does it? |
My inclination is to take things a bit slowly ... part of the reason I asked @cdlm to do the Cypress implementation from scratch is that the old FileTree implementation became overly complex because it was supporting 5 or 6 different formats and the code itself get's complicated pretty quickly ... My experience with markdown, is that I don't like to actually read it without a reader and I don't have a reader in tODE, so markdown makes things harder to read at that point:) ... This is a multi-platform/multi-implemetation project, so we have to make sure that all implementations do the same thing otherwise we are unable to share code ... |
STIG saves
README
but the Cypress-Mocks repo (#7) containsREADME.md
. What about the inevitableREADME.TXT
orReadMe.html
?I guess either we decide that GitHub-flavored
README.md
is the one and only, or we follow GitHub's precedence rules (not sure what they really are, but see this related issue)Corollary: what should be the preferred name for saving class comments, in the absence of a hint from the user?
The text was updated successfully, but these errors were encountered: