On D in competitive programming

Cym13 cpicard at openmailbox.org
Sat Jul 28 20:33:14 UTC 2018


On Saturday, 28 July 2018 at 19:51:08 UTC, Ivan Kazmenko wrote:
> Hey,
>
> I wrote a post with my general reflections on using D in 
> competitive programming.
> Mostly compared to C++, since that's what more than 90% of 
> people use for it.
> The post is tailored to cover only the competitive programming 
> specifics.
>
> http://codeforces.com/blog/entry/60890
> (en+ru, the language switch is at the top)
>
> Ivan Kazmenko.

Thanks, great read :)

I have some minor notes though:

1. Your real name isn't written in the article so the link "with 
some successes" won't tell much to someone that doesn't already 
know you

2. When you briefly explain templates I think it's important to 
mention that empty parentheses may be omitted to allow the reader 
to make the link between function!(arg1)(arg2) and map!something. 
Explaining UFCS isn't necessary there though I think since it's 
obvious that there is some kind of chaining at play (not that you 
did, just thinking out loud).

Also I have a question: I find very nice that some platforms 
propose D even though not all do, but are they generally keeping 
it up to date with DMD or stuck at something ancient?


More information about the Digitalmars-d-announce mailing list