Bug 14644 – Wikipedia page on Generic Programming should have a section on D

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
All
OS
All
Creation time
2015-06-03T03:13:23Z
Last change time
2020-03-21T03:56:41Z
Assigned to
Vladimir Panteleev
Creator
Andrei Alexandrescu

Comments

Comment #0 by andrei — 2015-06-03T03:13:23Z
Comment #1 by bugzilla — 2015-06-03T03:24:57Z
Wikipedia deleted my entries giving D examples for various programming concepts. Perhaps someone else will have more success.
Comment #2 by andrei — 2015-06-03T03:47:05Z
Was it on that particular page? What's your wikipedia user name?
Comment #3 by alphaglosined — 2015-06-03T03:54:32Z
I can't find any changes in the revision history either. Regarding D. https://en.wikipedia.org/w/index.php?title=Generic_programming&action=history Either an admin actually deleted those revisions or that page wasn't modified.
Comment #4 by b2.temp — 2015-06-03T07:37:56Z
Deletion in History, look for: 20:35, 16 August 2011‎ Peter.alexander.au "Removed the 'Templates in D' section entirely as it had nothing to do with generic programming. What does compile time factorial and C API wrappers have to do with generic programming? Templates and generic programming are not synonyms." The rationale for deletion is actually here: https://en.wikipedia.org/wiki/Talk:Generic_programming#D At the end: "Does there have to be an exclamation point in factorial!(n-1)?" I think that this should be considered otherwise any other author might see its paragraph on D deleted. The point is that the guy didn't get the exclamation mark is used to instantiate a template.
Comment #5 by dennis.m.ritchie — 2015-06-03T08:09:37Z
(In reply to bb.temp from comment #4) > Deletion in History, look for: > > 20:35, 16 August 2011‎ Peter.alexander.au > > "Removed the 'Templates in D' section entirely as it had nothing to do with > generic programming. What does compile time factorial and C API wrappers > have to do with generic programming? Templates and generic programming are > not synonyms." > > The rationale for deletion is actually here: > > https://en.wikipedia.org/wiki/Talk:Generic_programming#D > > At the end: > > "Does there have to be an exclamation point in factorial!(n-1)?" > > I think that this should be considered otherwise any other author might see > its paragraph on D deleted. The point is that the guy didn't get the > exclamation mark is used to instantiate a template. They want to see something new in generic programming, so show them the code generation mixins. If C++-programmers indicate "power" of its backward preprocessor: #define max(a, b) ((a) < (b) ? (b) : (a)), then why D-programmers can not describe the usefulness of mixins in generic programming. Besides knocking the `static if` absolutely groundless.
Comment #6 by dlang-bugzilla — 2015-06-03T11:02:02Z
Comment #7 by andrei — 2015-06-03T14:33:03Z
(In reply to Vladimir Panteleev from comment #6) > https://en.wikipedia.org/wiki/Generic_programming#Templates_in_D Thanks Vladimir!!
Comment #8 by issues.dlang — 2015-06-03T17:50:40Z
Let's hope that it doesn't get deleted this time.