Re: Why is stdio ... stdio?

2018-11-12 Thread Mike Parker via Digitalmars-d-learn
On Monday, 12 November 2018 at 10:10:37 UTC, bauss wrote: I just want to say everyone who doesn't use the web-interface has to look at markdown anyway because people still write code in backticks etc. despite no support; even I do that. Me, too. It's easy and unobtrusive. As for actually re

Re: Why is stdio ... stdio?

2018-11-12 Thread bauss via Digitalmars-d-learn
On Friday, 9 November 2018 at 06:42:37 UTC, Jonathan M Davis wrote: On Thursday, November 8, 2018 7:25:45 PM MST Neia Neutuladh via Digitalmars- d-learn wrote: It's not a forum. It's a newsgroup that happens to have a web interface. Newsgroups are text-only. So bbcode is out, html is out, but i

Re: Why is stdio ... stdio?

2018-11-11 Thread Adam D. Ruppe via Digitalmars-d-learn
On Sunday, 11 November 2018 at 03:57:22 UTC, Jonathan M Davis wrote: It may be that a feature was needed to do better character escaping Yeah, I would have preferred to just escape all of it (and axe the biggest mis"feature" ddoc has imo - embedded HTML), but it got rejected :( On the whole

Re: Why is stdio ... stdio?

2018-11-10 Thread Jonathan M Davis via Digitalmars-d-learn
On Saturday, November 10, 2018 7:51:36 PM MST Adam D. Ruppe via Digitalmars- d-learn wrote: > On Saturday, 10 November 2018 at 23:29:12 UTC, Jonathan M Davis > > wrote: > > The fact that they got added to ddoc just further degrades it > > as a proper, macro-based markup language. > > The backticks

Re: Why is stdio ... stdio?

2018-11-10 Thread Adam D. Ruppe via Digitalmars-d-learn
On Saturday, 10 November 2018 at 23:29:12 UTC, Jonathan M Davis wrote: The fact that they got added to ddoc just further degrades it as a proper, macro-based markup language. The backticks were added to ddoc because they enabled something that was *virtually impossible* in ddoc before - proper

Re: Why is stdio ... stdio?

2018-11-10 Thread Jonathan M Davis via Digitalmars-d-learn
On Saturday, November 10, 2018 6:53:14 AM MST Kagamin via Digitalmars-d- learn wrote: > On Friday, 9 November 2018 at 09:11:37 UTC, Jonathan M Davis > > wrote: > > No, I didn't. I just used underscores, which has been used with > > plain text for emphasis for decades. Supporting markdown, would > >

Re: Why is stdio ... stdio?

2018-11-10 Thread Patrick Schluter via Digitalmars-d-learn
On Saturday, 10 November 2018 at 18:47:19 UTC, Chris Katko wrote: On Saturday, 10 November 2018 at 13:53:14 UTC, Kagamin wrote: [...] There is another possibility. Have the website run (fallible) heuristics to detect a snippet of code and automatically generate it. That would leave the maili

Re: Why is stdio ... stdio?

2018-11-10 Thread Chris Katko via Digitalmars-d-learn
On Saturday, 10 November 2018 at 13:53:14 UTC, Kagamin wrote: On Friday, 9 November 2018 at 09:11:37 UTC, Jonathan M Davis wrote: No, I didn't. I just used underscores, which has been used with plain text for emphasis for decades. Supporting markdown, would involve stuff like backticks for code

Re: Why is stdio ... stdio?

2018-11-10 Thread Kagamin via Digitalmars-d-learn
On Friday, 9 November 2018 at 09:11:37 UTC, Jonathan M Davis wrote: No, I didn't. I just used underscores, which has been used with plain text for emphasis for decades. Supporting markdown, would involve stuff like backticks for code highlighting Backticks are from ddoc. What's the other way t

Re: Why is stdio ... stdio?

2018-11-09 Thread H. S. Teoh via Digitalmars-d-learn
On Fri, Nov 09, 2018 at 05:36:54PM +, Chris Katko via Digitalmars-d-learn wrote: [...] > FYI, Allegro.CC just uses > > > int main() > { > return 0; > } > > > as well as for pre-formatted "monospace" text. > > Neither of those would pollute a mailing list in plain-text mode > because t

Re: Why is stdio ... stdio?

2018-11-09 Thread Chris Katko via Digitalmars-d-learn
On Friday, 9 November 2018 at 09:11:37 UTC, Jonathan M Davis wrote: On Friday, November 9, 2018 1:27:44 AM MST Kagamin via Digitalmars-d-learn wrote: On Friday, 9 November 2018 at 06:42:37 UTC, Jonathan M Davis wrote: > [...] You used markdown three times in your message. No, I didn't. I jus

Re: Why is stdio ... stdio?

2018-11-09 Thread Jonathan M Davis via Digitalmars-d-learn
On Friday, November 9, 2018 1:27:44 AM MST Kagamin via Digitalmars-d-learn wrote: > On Friday, 9 November 2018 at 06:42:37 UTC, Jonathan M Davis > > wrote: > > Honestly, having markdown in messages being typical would be > > _really_ annoying for those of us not using the web interface, > > becaus

Re: Why is stdio ... stdio?

2018-11-09 Thread Kagamin via Digitalmars-d-learn
On Friday, 9 November 2018 at 06:42:37 UTC, Jonathan M Davis wrote: Honestly, having markdown in messages being typical would be _really_ annoying for those of us not using the web interface, because we'd see all of those backticks and the like as backticks, not as syntax highlighting. It would

Re: Why is stdio ... stdio?

2018-11-08 Thread Jonathan M Davis via Digitalmars-d-learn
On Thursday, November 8, 2018 7:25:45 PM MST Neia Neutuladh via Digitalmars- d-learn wrote: > It's not a forum. It's a newsgroup that happens to have a web interface. > Newsgroups are text-only. So bbcode is out, html is out, but interpreting > markdown might be reasonable. But nobody's done that w

Re: Why is stdio ... stdio?

2018-11-08 Thread Neia Neutuladh via Digitalmars-d-learn
On Fri, 09 Nov 2018 02:03:36 +, Chris Katko wrote: > Simple curious question. > > Why isn't : > > import std.stdio; > > instead: > > import std.io; IO includes things like memory mapping, sockets, listing files, named pipes, that sort of thing. Standard IO includes only reading and writi

Re: Why is stdio ... stdio?

2018-11-08 Thread H. S. Teoh via Digitalmars-d-learn
On Fri, Nov 09, 2018 at 02:03:36AM +, Chris Katko via Digitalmars-d-learn wrote: > Simple curious question. > > Why isn't : > > import std.stdio; > > instead: > > import std.io; The reason is that std.stdio is basically just a nice D wrapper with syntactic sugar around the C library's std

Why is stdio ... stdio?

2018-11-08 Thread Chris Katko via Digitalmars-d-learn
Simple curious question. Why isn't : import std.stdio; instead: import std.io; (Also, while we're at it. Why doesn't this form have code highlighting? It would much improve readibility. Doesn't that seem almost essential for a programming forum?) I mean, I get it. stdio is the c header f