5 ms·
Every single person writing a comment on Hacker News should have to memorize this rule: Never use code formatting for text, as it makes it unreadable on the mo
by arkadiytehgraet 7y ago
Every single person writing a comment on Hacker News should have to memorize this rule:
Never use code formatting for text, as it makes it unreadable on the mobile devices.
For my own (and others') convenience, here is unformatted rule table from parent comment:
GET - Return the current value of an object, is idempotent;
PUT - Replace an object, or create a named object, when applicable, is idempotent;
DELETE - Delete an object, is idempotent;
POST - Create a new object based on the data provided, or submit a command, NOT idempotent;
HEAD - Return metadata of an object for a GET response. Resources that support the GET method MAY support the HEAD method as well, is idempotent;
PATCH - Apply a partial update to an object, NOT idempotent;
OPTIONS - Get information about a request, is idempotent.
- jedberg 7y agoAs someone who mostly uses mobile, I agree with you, but in this case I couldn't figure out a way to make it readable without code formatting and without retyping it. Thank you for the effort. I've updated my post with your text.
- kevin_thibedeau 7y ago> Never use code formatting for text Until such time that the site supports quoted text a little civil disobedience is warranted. It's not like it's a hard problem.
- PowerfulWizard 7y ago> Until such time that the site supports quoted text a little civil disobedience is warranted. It's not like it's a hard problem. Italics works fine for quote IMO.
- nvrspyx 7y ago____ Italics works fine for quote IMO ____ I propose using four underscores as a delimiter of a quote block, like asciidoctor, in addition to italics. I think it looks better than the markdown way of using ">" in front of a quote as it can get quite cumbersome and ugly when you're quoting multiple lines of something. However, I generally enjoy using markdown more if it works on a website. It just looks ugly IMO if it doesn't.
- Jaruzel 7y agothe markdown way of using ">" I think you'll find the practice of prefixing quoted lines with ">" originated with old Unix email and Usenet.
- nvrspyx 7y agoI’m rather young (on the border of Gen Y and Gen Z) so I guess I’m not old enough to have used either old Unix email or Usenet, so thank you for that tidbit.
- Stratoscope 7y agoUsing code formatting for quoted text is not civil disobedience, it is an innocent mistake that should be gently pointed out and corrected. Continuing to use code formatting after being made aware of the problem wouldn't be civil disobedience either. It would merely inconvenience the large number of people who read HN on mobile devices, for no purpose. (Edited to remove a somewhat unrelated philosophical note.)
- deleted 7y ago[deleted]
- deleted 7y ago[deleted]
- monospaceisgood 7y ago> Continuing to use code formatting after being made aware of the problem wouldn't be civil disobedience either. It would merely inconvenience the large number of people who read HN on mobile devices, for no purpose. We all do it from time to time, even you did it few days ago [1], monospace have its purpose, maybe HN should simply fix it. [1] https://news.ycombinator.com/item?id=21436522 https://news.ycombinator.com/item?id=21436522
- Stratoscope 7y agoOh come now. I used code formatting quite deliberately in that comment. I wanted to preserve the centering and single-spacing of the text on the back of the radio as best I could. The lines are short and render fine on a mobile device. So yes, given HN's meager formatting options, monospaceisgood for that! :-) You may note that later in that same comment there is a longer quote that I formatted in non-code italics. But hey, if I encouraged you to create an HN account, that's great! Speaking as someone who writes code in a proportional font, we may have some interesting discussions ahead of us. ;-)
- kevin_thibedeau 7y agoIt is a sign of an unmet need. Why do we even have code formatting? If minimalism is the goal then remove that overwrought feature too.
- Stratoscope 7y agoAnother rule to memorize: if one of the reasons for using code formatting is to preserve line breaks, simply add an extra blank line between paragraphs. Think of each line as its own paragraph. Then the text will be readable on any device.
- tasogare 7y agoThat’s still super annoying. An annoyance shared with markdown (which at least has the double space at end of line trick, which is super ugly).