On Thursday, 1 February 2018 at 01:23:38 UTC, Adam D. Ruppe wrote:
Now, if a 5-character insertion requires 29 edit operations,
what do you think the programmer is going to do? Keep up with
it, or let the documentation stay slightly suboptimal and
out-of-date because it is a hassle?
To be fai
On Wednesday, 31 January 2018 at 21:19:50 UTC, H. S. Teoh wrote:
On Wed, Jan 31, 2018 at 08:05:37PM +, Adam D. Ruppe via
Digitalmars-d wrote:
On Wednesday, 31 January 2018 at 19:59:23 UTC, Seb wrote:
> ... and Mike did put _a lot_ of effort in pushing colorful
> error messages:
Yes, that
On Wednesday, January 31, 2018 19:01:46 Walter Bright via Digitalmars-d
wrote:
> On 1/31/2018 6:14 PM, Jonathan M Davis wrote:
> > I have to wonder if my settings are right. I've never noticed any color
> > in error messages. Messing around with some errors right now, the only
> > color I see is t
On Wednesday, January 31, 2018 18:58:29 Walter Bright via Digitalmars-d
wrote:
> On 1/31/2018 5:37 PM, Steven Schveighoffer wrote:
> > Where it breaks down is when you have many nested tags, and you end with
> > )
> Long ago, I adjusted my text editor so that when the cursor is placed on
> ),
On 1/31/2018 3:38 PM, H. S. Teoh wrote:
A "small fry" like myself wouldn't dare
to push the merge button on changes of this kind of magnitude, since it
could have drastic consequences that I can't foresee due to not having a
full grasp of the full scale of what is being changed.
https://youtu.be
On 1/31/2018 6:14 PM, Jonathan M Davis wrote:
I have to wonder if my settings are right. I've never noticed any color in
error messages. Messing around with some errors right now, the only color I
see is that "Error:" is in red, and some of the text is bolded, so it's
white instead of the grey th
On 1/31/2018 5:58 PM, H. S. Teoh wrote:
cosmetic features.
I tough lesson I've learned is that cosmetics matter, a lot. Sometimes much more
than substance. There's no getting away from it.
On 1/31/2018 5:37 PM, Steven Schveighoffer wrote:
Where it breaks down is when you have many nested tags, and you end with )
Long ago, I adjusted my text editor so that when the cursor is placed on ), the
matching ( is found. Ditto for { }, [ ], < >, and #if/#elif/#else/#endif (!).
It's b
On Thursday, February 01, 2018 02:42:52 Adam D. Ruppe via Digitalmars-d
wrote:
> On Thursday, 1 February 2018 at 02:24:44 UTC, H. S. Teoh wrote:
> > I thought that *is* the color support that was added? If
> > you're expecting IDE-style syntax highlighting, I think you're
> > setting your expecta
On Thursday, 1 February 2018 at 02:24:44 UTC, H. S. Teoh wrote:
I thought that *is* the color support that was added? If
you're expecting IDE-style syntax highlighting, I think you're
setting your expectations a little high for something that
ostensibly was banged out in a couple of hours.
N
On Wed, Jan 31, 2018 at 07:14:57PM -0700, Jonathan M Davis via Digitalmars-d
wrote:
> On Wednesday, January 31, 2018 17:16:21 Walter Bright via Digitalmars-d
> wrote:
> > On 1/31/2018 1:19 PM, H. S. Teoh wrote:
> > > I'd rather stick with just B&W.
> >
> >dmd -color=off file.d
>
> I have to
On Wednesday, January 31, 2018 17:16:21 Walter Bright via Digitalmars-d
wrote:
> On 1/31/2018 1:19 PM, H. S. Teoh wrote:
> > I'd rather stick with just B&W.
>
>dmd -color=off file.d
I have to wonder if my settings are right. I've never noticed any color in
error messages. Messing around with
On Wed, Jan 31, 2018 at 05:16:21PM -0800, Walter Bright via Digitalmars-d wrote:
> On 1/31/2018 1:19 PM, H. S. Teoh wrote:
> > I'd rather stick with just B&W.
>
> dmd -color=off file.d
Thanks!
Though, as I said, it doesn't bother me quite enough to want to go
through the effort of explicitly s
On Wednesday, January 31, 2018 16:19:53 H. S. Teoh via Digitalmars-d wrote:
> In general, almost all text macro / formatting systems, from LaTeX to
> HTML to ddoc, are universally ugly and verbose when it comes to tables,
> and makes my eyes bleed. The only exception I've found so far is
>
> markdo
On 1/31/18 5:55 PM, Adam D. Ruppe wrote:
Now though, inline code like $(D) and $(REF) are ambiguous. They are
short enough that they'd normally fall into my "ok with it" zone like
$(B)... but they are also so common and I want to encourage their use.
And having three shifted characters that mu
On Wednesday, 31 January 2018 at 15:40:04 UTC, Jakub Łabaj wrote:
What is the current state of the art of writing inline code in
the documentation?
To give you a quick answer, the tide is going toward ``. You
should probably just use it in most cases as long as the code
fits on a single line.
FYI I am changing the subject line with this post since it is
branching off the original question of simple best practices of
code in ddoc.
On Thursday, 1 February 2018 at 00:19:53 UTC, H. S. Teoh wrote:
In general, almost all text macro / formatting systems, from
LaTeX to HTML to ddoc, are u
On 1/31/2018 1:19 PM, H. S. Teoh wrote:
I'd rather stick with just B&W.
dmd -color=off file.d
On 1/31/2018 11:59 AM, Seb wrote:
... and Mike did put _a lot_ of effort in pushing colorful error messages:
Yes, and he did a nice job of it.
The results are attractive, worthwhile, and resolves a specific complaint people
had about dmd's error messages.
On 1/31/2018 4:19 PM, Amorphorious wrote:
[...]
Don't berate other forum members.
https://www.reddit.com/r/programming/comments/7udfs4/is_anyone_replacing_c_with_d/
On Wed, Jan 31, 2018 at 10:55:38PM +, Adam D. Ruppe via Digitalmars-d wrote:
> On Wednesday, 31 January 2018 at 21:34:47 UTC, H. S. Teoh wrote:
> > Coming from you, I'm a little surprised. Weren't you one of the
> > people complaining that ddoc macro syntax is ugly?
>
> $(H1 Rebuttal)
>
> It
On Sunday, 28 January 2018 at 06:44:40 UTC, Jonathan M Davis
wrote:
On Sunday, January 28, 2018 08:25:51 Shachar Shemesh via
Digitalmars-d wrote:
What will the following code print? Do not use the compiler:
import std.stdio;
struct A {
int a = 1;
void initialize() {
a = a.init;
}
On Wed, Jan 31, 2018 at 09:07:39PM +, John Gabriele via Digitalmars-d wrote:
> On Wednesday, 31 January 2018 at 20:03:11 UTC, Adam D. Ruppe wrote:
> >
> > {snip} (well, I tried to get it upstream but I think upstream is a
> > brick wall and not worth trying anymore)
>
> That is very concernin
On 1/31/2018 5:54 AM, Jack Stouffer wrote:
On Wednesday, 31 January 2018 at 07:56:37 UTC, Andrew Benton wrote:
E.g. three compilers
Every other compiled language (and a lot of scripting ones) uses the fact of
multiple compilers for the language as a sign of adoption and ecosystem growth.
I'
On Wednesday, 31 January 2018 at 21:34:47 UTC, H. S. Teoh wrote:
Coming from you, I'm a little surprised. Weren't you one of
the people complaining that ddoc macro syntax is ugly?
$(H1 Rebuttal)
It depends how you use it. For large blocks or for small, special
bits, it doesn't bother me.
S
On Wednesday, 31 January 2018 at 19:00:57 UTC, Jack Stouffer
wrote:
That's just something that Walter was able to bang out in an
hour, should have been done years ago, and was excited about.
So it isn't a big deal, but IMO that should be left to an IDE or
shell.
Back to the argument about cP
On Wednesday, 31 January 2018 at 11:42:14 UTC, Seb wrote:
Here's a spoiler:
1) Andrei does an excellent job at managing his students [1]
and there work over the last couple of months has been
tremendous. As the experiment with UPB was very successful,
there will be more projects like this one
On Wednesday, 31 January 2018 at 21:42:47 UTC, Ali wrote:
The kinda small discussion on ycombinator
https://news.ycombinator.com/item?id=16270841
Interesting... most of them don't grok C++, D, Java or Go... Hope
people don't look to ycombinator for answers.
On Wed, Jan 31, 2018 at 06:31:34PM +, Adam D. Ruppe via Digitalmars-d wrote:
> On Wednesday, 31 January 2018 at 17:14:56 UTC, H. S. Teoh wrote:
> > But otherwise, the two are equivalent. (In fact, backticks translate
> > directly into $(D ...) in the ddoc code. They are just syntactic
> > sugar
On Tuesday, 30 January 2018 at 20:45:44 UTC, Andrei Alexandrescu
wrote:
https://www.quora.com/Why-hasnt-D-started-to-replace-C++
Andrei
The kinda small discussion on ycombinator
https://news.ycombinator.com/item?id=16270841
On Wed, Jan 31, 2018 at 08:05:37PM +, Adam D. Ruppe via Digitalmars-d wrote:
> On Wednesday, 31 January 2018 at 19:59:23 UTC, Seb wrote:
> > ... and Mike did put _a lot_ of effort in pushing colorful error
> > messages:
>
> Yes, that was a direct result of that forum post I alluded to. It
> is
On Wednesday, 31 January 2018 at 20:03:11 UTC, Adam D. Ruppe
wrote:
{snip} (well, I tried to get it upstream but I think upstream
is a brick wall and not worth trying anymore)
That is very concerning to hear.
On Wednesday, 31 January 2018 at 18:05:30 UTC, jmh530 wrote:
contribute their skills. For instance, Mike Parker's work on
the D blog has been a great improvement in communication the
past year or two.
Yep, to have a living blog is very important IMHO.
On Wednesday, 31 January 2018 at 18:05:30 UTC, jmh530 wrote:
contribute their skills. For instance, Mike Parker's work on
the D blog has been a great improvement in communication the
past year or two.
Yep, having a living blog is very important I think. It is
always something I look at when
On Wednesday, 31 January 2018 at 19:59:23 UTC, Seb wrote:
... and Mike did put _a lot_ of effort in pushing colorful
error messages:
Yes, that was a direct result of that forum post I alluded to. It
isn't something he (or most anyone else, in my experience) really
cares about, but he felt if
On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote:
Auto generated libraries where all functions are dumped into
massive one pagers.
This is why I just forked the documentation (well, I tried to get
it upstream but I think upstream is a brick wall and not worth
trying anymore)
http:
On Wednesday, 31 January 2018 at 19:54:05 UTC, Adam D. Ruppe
wrote:
On Wednesday, 31 January 2018 at 19:00:57 UTC, Jack Stouffer
wrote:
For some reason this ranks below colourful error-messages.
That's just something that Walter was able to bang out in an
hour
Yet he recently, months after
On Wednesday, 31 January 2018 at 19:00:57 UTC, Jack Stouffer
wrote:
For some reason this ranks below colourful error-messages.
That's just something that Walter was able to bang out in an
hour
Yet he recently, months after starting, complained that
"technical debt", specifically citing colo
On 01/31/2018 05:55 AM, Benny wrote:
On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote:
Let me say this again
*uch* Never mind this rant. I am just fed up with the issues. I will not
post anymore as its just a wast of time for everybody involved.
A few of the points were actionable
On Wednesday, 31 January 2018 at 17:02:06 UTC, Ola Fosheim
Grøstad wrote:
Ok, and now you are entering a messy space, define "legitimate"?
Actionable, clear, and made with the intent to better the
language/ecosystem and not just to complain.
Development processes need continuous improvement
On 1/31/18 5:35 AM, Benny wrote:
Auto generated libraries where all functions are dumped into massive one
pagers.
https://dlang.org/phobos/std_datetime_date.html
Is this readable when the first two pages are this:
jan
feb
mar
apr
may
jun
jul
aug
sep
oct
nov
dec
sun
mon
tue
wed
thu
fri
sat
C
On Wednesday, 31 January 2018 at 18:16:40 UTC, 12345swordy wrote:
On Tuesday, 30 January 2018 at 23:36:59 UTC, H. S. Teoh wrote:
On Tue, Jan 30, 2018 at 10:12:07PM +, Ola Fosheim Grøstad
via Digitalmars-d wrote:
On Tuesday, 30 January 2018 at 21:49:39 UTC, H. S. Teoh wrote:
> [...]
Well, i
On Wednesday, 31 January 2018 at 12:34:01 UTC, Martin
Tschierschke wrote:
On Wednesday, 31 January 2018 at 12:03:22 UTC, rjframe wrote:
On Wed, 31 Jan 2018 10:55:56 +, Benny wrote:
[...]
Anyway, mostly because of your recent posts I'm going to take
a look at DlangIDE. If we can package a
On Tuesday, 30 January 2018 at 20:45:44 UTC, Andrei Alexandrescu
wrote:
https://www.quora.com/Why-hasnt-D-started-to-replace-C++
Andrei
For me personally, there are some really nasty bugs regarding
default attributes (@nogc/@safe) that prevent me from using D in
personal code projects.
Exam
On Wednesday, 31 January 2018 at 17:14:56 UTC, H. S. Teoh wrote:
But otherwise, the two are
equivalent. (In fact, backticks translate directly into $(D
...) in the ddoc code. They are just syntactic sugar.)
No, they aren't. The `` is different in several ways including
doing character escapin
On Wednesday, 31 January 2018 at 17:30:54 UTC, H. S. Teoh wrote:
On Wed, Jan 31, 2018 at 05:20:59PM +, Seb via Digitalmars-d
Please let us know what would help you to find this page
quicker.
Wow. I set out *deliberately* looking for that link, and
couldn't find it until I looked at you
On Tuesday, 30 January 2018 at 23:36:59 UTC, H. S. Teoh wrote:
On Tue, Jan 30, 2018 at 10:12:07PM +, Ola Fosheim Grøstad
via Digitalmars-d wrote:
On Tuesday, 30 January 2018 at 21:49:39 UTC, H. S. Teoh wrote:
> [...]
Well, it isn't relevant for those people who would adopt D
anyway.
[...]
On Wednesday, 31 January 2018 at 17:02:06 UTC, Ola Fosheim
Grøstad wrote:
Is it? Why do so many people have problems with it then?
Stupidity?
Perhaps the D front page can say "Now with 1 Standard Library!" ;)
Ok, and now you are entering a messy space, define
"legitimate"? I think the m
On Wednesday, 31 January 2018 at 17:30:54 UTC, H. S. Teoh wrote:
Wow. I set out *deliberately* looking for that link, and
couldn't find it until I looked at your screenshot. I
definitely wouldn't have found it if I didn't even know it was
there.
I'm no UI consultant, but that link definitely
On Wednesday, 31 January 2018 at 16:13:51 UTC, John Gabriele
wrote:
I've never seen that page. Would've helped me to see it
earlier. The D download page should include a blurb with a link
to that install page.
BTW that's why opening issues is so important:
- everyone has a different experience
On Wednesday, 31 January 2018 at 16:13:51 UTC, John Gabriele
wrote:
On Wednesday, 31 January 2018 at 11:42:14 UTC, Seb wrote:
That's only an issue on Windows.
For Posix there's the official install.sh script [1].
[1] https://dlang.org/install.html
I've never seen that page. Would've helped m
On Wed, Jan 31, 2018 at 05:20:59PM +, Seb via Digitalmars-d wrote:
> On Wednesday, 31 January 2018 at 16:13:51 UTC, John Gabriele wrote:
> > I've never seen that page. Would've helped me to see it earlier. The
> > D download page should include a blurb with a link to that install
> > page.
>
>
On Wed, Jan 31, 2018 at 03:40:04PM +, Jakub Łabaj via Digitalmars-d wrote:
> What is the current state of the art of writing inline code in the
> documentation?
>
> Wiki says "use `...` instead of $(D ...)":
> https://wiki.dlang.org/Contributing_to_Phobos#Documentation_style.
>
> Some argumen
On Wednesday, 31 January 2018 at 16:13:51 UTC, John Gabriele
wrote:
I've never seen that page. Would've helped me to see it
earlier. The D download page should include a blurb with a link
to that install page.
They are there - hover over them:
https://imgur.com/a/JvZwI
I submitted it without
On Wednesday, 31 January 2018 at 16:13:51 UTC, John Gabriele
wrote:
I've never seen that page. Would've helped me to see it
earlier. The D download page should include a blurb with a link
to that install page.
I tried going to github.com/dlang/dlang.org, finding the
download page, and addin
On Wednesday, 31 January 2018 at 11:42:14 UTC, Seb wrote:
On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote:
* three compilers
Not sure why that's a bad thing. They all have their ups and
downs:
- dmd SUPER fast compilation
- ldc multiarch + good optimization + cross-compilation
-
On 1/31/18 9:13 AM, John Gabriele wrote:
On Wednesday, 31 January 2018 at 11:42:14 UTC, Seb wrote:
On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote:
And 3 different installation method's depending on the platform.
Windows: DMD installer, LDC manually extract zip and setup path, GDC
On Wednesday, 31 January 2018 at 14:22:03 UTC, Jack Stouffer
wrote:
It's quite easy to tell when criticism is made in good or bad
faith
Is it? Why do so many people have problems with it then?
Stupidity?
and at this point I'm going to reply to every rant in bad faith
on here about how terr
On Wednesday, 31 January 2018 at 13:54:25 UTC, Jack Stouffer
wrote:
I've only ever seen people complain about D in this area. Never
once have I seen someone argue that the existence of PyPy hurts
Python or gogcc hurts Go.
Well, I've seen that people think that MS C++ is keeping C++ back
becau
On Wednesday, 31 January 2018 at 11:42:14 UTC, Seb wrote:
On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote:
And 3 different installation method's depending on the
platform.
Windows: DMD installer, LDC manually extract zip and setup
path, GDC ...
That's only an issue on Windows.
F
What is the current state of the art of writing inline code in
the documentation?
Wiki says "use `...` instead of $(D ...)":
https://wiki.dlang.org/Contributing_to_Phobos#Documentation_style.
Some arguments made here:
https://github.com/dlang/phobos/pull/5183#issuecomment-281895450
suggest
On Wednesday, 31 January 2018 at 10:55:56 UTC, Benny wrote:
On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote:
Let me say this again
*uch* Never mind this rant. I am just fed up with the issues. I
will not post anymore as its just a wast of time for everybody
involved.
It's quite
On Wednesday, 31 January 2018 at 07:56:37 UTC, Andrew Benton
wrote:
E.g. three compilers
Every other compiled language (and a lot of scripting ones) uses
the fact of multiple compilers for the language as a sign of
adoption and ecosystem growth.
I've only ever seen people complain about D i
On Sunday, 28 January 2018 at 06:44:06 UTC, Shachar Shemesh wrote:
On 28/01/18 08:33, Mike Franklin wrote:
On Sunday, 28 January 2018 at 06:25:51 UTC, Shachar Shemesh
wrote:
What will the following code print? Do not use the compiler:
import std.stdio;
struct A {
int a = 1;
void init
On Wednesday, 31 January 2018 at 07:56:37 UTC, Andrew Benton
wrote:
On Tuesday, 30 January 2018 at 20:45:44 UTC, Andrei
Alexandrescu wrote:
https://www.quora.com/Why-hasnt-D-started-to-replace-C++
Andrei
I think that the largest issue there is probably the marketing
and advocacy. When Rust
It would be really nice if we could know about current WIP a little bit
more... And regularly.
On Wednesday, 31 January 2018 at 11:42:14 UTC, Seb wrote:
[...]
This is about to change soon for D. There's WIP to use
OpenCollective
The announcement should happen soon.
Stay tuned!
[...]
Here's a spoiler:
1) Andrei does an excellent job at managing his students [1]
and there work over the
On Friday, 26 January 2018 at 19:44:21 UTC, Dechcaudron wrote:
See, for instance, definition
https://dlang.org/spec/class.html#class_properties. If it is
defined anywhere, I cannot seem to find it.
It's now called an Expression List:
https://dlang.org/ctarguments.html#homogenous-lists
I'll tr
On Wednesday, 31 January 2018 at 12:03:22 UTC, rjframe wrote:
On Wed, 31 Jan 2018 10:55:56 +, Benny wrote:
[...]
Anyway, mostly because of your recent posts I'm going to take a
look at DlangIDE. If we can package a cross-platform
IDE+compiler+dub as a single download and you're ready to
On Wednesday, 31 January 2018 at 11:42:14 UTC, Seb wrote:
On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote:
[...]
Not sure why that's a bad thing. They all have their ups and
downs:
[...]
That's the most refreshing post on D future since a long time.
Thanks, really.
/Paolo
On Wed, 31 Jan 2018 10:55:56 +, Benny wrote:
> On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote:
>> Let me say this again
>
> *uch* Never mind this rant. I am just fed up with the issues. I will not
> post anymore as its just a wast of time for everybody involved.
I wouldn't call i
On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote:
* three compilers
Not sure why that's a bad thing. They all have their ups and
downs:
- dmd SUPER fast compilation
- ldc multiarch + good optimization + cross-compilation
- gdc multiarch + good optimization (in many cases better tha
On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote:
I told before if there is no leadership to focus resources and
the main developers are more focused on adding more features to
the compiler that is already overflowing, then how do you
expect to see things solved?
Yes, that is probab
On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote:
Let me say this again
*uch* Never mind this rant. I am just fed up with the issues. I
will not post anymore as its just a wast of time for everybody
involved.
On Wednesday, 31 January 2018 at 07:56:37 UTC, Andrew Benton
wrote:
If I had to pick a second issue, it's that the ecosystem story
is hard compared to other languages. New programmers aren't
certain what to choose or how to get their environment up and
running. Compared against Rust, Go, and
On Wednesday, 31 January 2018 at 06:27:05 UTC, Paulo Pinto wrote:
And lets not forget Arduino, ESP286 and ESP32 are making
wonders for the kids to jump into C++ as their first language.
That's interesting, MS got a lot of traction for BASIC by making
it available in ROM on basically (no pun in
On Tue, 2018-01-30 at 17:26 +, Ola Fosheim Grøstad via Digitalmars-
d wrote:
[…]
> Grounded Theory cannot be used for trend analysis though.
[…]
Quite right, good point.
--
Russel.
===
Dr Russel Winder t: +44 20 7585 2200
41 Buckmaster Roadm:
On Wed, 2018-01-31 at 04:55 +, thedeemon via Digitalmars-d wrote:
> On Tuesday, 30 January 2018 at 22:38:20 UTC, Andrei Alexandrescu
> wrote:
> > > > https://www.quora.com/Why-hasnt-D-started-to-replace-C++
> > >
> > > [...]
> > At best responses would go on Quora, not here. Thanks! -- Andrei
T,
Arguing things on this list serves no purpose other than to rehearse
arguments. The place to say things about stuff on Quora is on Quora as
Walter, Laeeth, and I have done in this case.
On Tue, 2018-01-30 at 13:02 -0800, H. S. Teoh via Digitalmars-d wrote:
> On Tue, Jan 30, 2018 at 03:45:44PM
On Tuesday, 30 January 2018 at 19:45:51 UTC, Laeeth Isharc wrote:
On Sunday, 4 January 2015 at 08:31:23 UTC, Joakim wrote:
This is an idea I've been kicking around for a while, and
given the need for commercial support for D, would perhaps
work well here.
[...]
By the way, in case you are i
On Tuesday, 30 January 2018 at 20:45:44 UTC, Andrei Alexandrescu
wrote:
https://www.quora.com/Why-hasnt-D-started-to-replace-C++
Andrei
I think that the largest issue there is probably the marketing
and advocacy. When Rust was about the same share as D, it had
much better marketing. Someon
82 matches
Mail list logo