digitalmars.D - Talk proposal (kinda): D Programming in D (Or: Writing idiomatic D
- Leandro Motta Barros (28/28) Nov 21 2012 Hello everyone!
- Joshua Niehus (5/9) Nov 21 2012 +1
- Era Scarecrow (24/33) Nov 21 2012 And how it simplifies code because of it. Several times I've
- Joseph Rushton Wakeling (3/4) Nov 22 2012 ... perhaps a part on keeping memory use effectively under control _with...
- Tavi Cacina (4/21) Nov 21 2012 good idea.
Hello everyone! Well, this is actually a "talk proposal for someone else". I'd be the audience, not the speaker. TITLE: D Programming in D (Or: Writing idiomatic D code) ABSTRACT: Every language has its own sanctified idioms. Beginners learning a new language tend to use the idioms of the languages they already know in the new language. This is no different for someone learning D, so we have people doing, say, "C++ programing in D" or "Lua programming in D". This is not the best way to go. Learning the D idioms is a very important step to move from "I can write D programs" to "I know D". This talk presents a survey of the most important idioms commonly used by the D community. Hopefully, it will help you to start doing "D programming in D". SPEAKER BIO: < Your bio here :-) > I would *really* love to watch a talk (or read a book for that matter), dealing with this kind of topic. I suppose many other programmers coming from other languages would benefit from a talk like this. And considering that we'll have the videos online after the conference, I'd say that this would become a mostly valuable reference for all the people that will join D. (We want a million users, right? They'd all love this talk ;-) ) So, anyone else interested in watching a talk like this? Anyone interested in *giving* a talk like this? Cheers, LMB PS: It's really great we did it! The news made my day yesterday! I am pretty sure it will be a great conference! (Even if no one decides to give the "D Programming in D" talk ;-) )
Nov 21 2012
On Wednesday, 21 November 2012 at 18:42:55 UTC, Leandro Motta Barros wrote:Well, this is actually a "talk proposal for someone else". I'd be the audience, not the speaker. TITLE: D Programming in D (Or: Writing idiomatic D code)+1 I'd like to add, maybe put some focus on "Range" oriented coding seeing as Phobos is full or ranges etc...
Nov 21 2012
On Wednesday, 21 November 2012 at 22:47:02 UTC, Joshua Niehus wrote:On Wednesday, 21 November 2012 at 18:42:55 UTC, Leandro Motta Barros wrote:And how it simplifies code because of it. Several times I've written a small range struct which handle managing blocks of memory (and lots of low level arithmetic); This removes the need for multiple extra variables handling location and low level counting when all you want to worry about is each item. Perhaps a talk on templates as well, when to use them, where to use them. Actually something I'd like some time is a video concentrating on a particular part of the library where they explain why they set it up the way they did (arguments, examples) as well as how to use some of the more complex use cases. I can do one involving my primes range (as an example). Hmmm a section also on when to use various key words (pure, safe, nothrow, inout); Multiple times I've tried to add tags to better represent my functions only to have it break all over the place (because a nothrow calls something that's not a nothrow (but should/could be), 'to' is not pure, etc). Concentrating on the ranges more, once the transient front part gets settled (and if it's allowed) a part on when to use it (and how to declare it). Perhaps a part on how to properly use D without involving the GC. Hmmm so many more things I could throw in...Well, this is actually a "talk proposal for someone else". I'd be the audience, not the speaker. TITLE: D Programming in D (Or: Writing idiomatic D code)+1 I'd like to add, maybe put some focus on "Range" oriented coding seeing as Phobos is full or ranges etc...
Nov 21 2012
On 11/22/2012 03:13 AM, Era Scarecrow wrote:Perhaps a part on how to properly use D without involving the GC.... perhaps a part on keeping memory use effectively under control _with_ the GC? (Avoiding all those dangling references, etc...:-)
Nov 22 2012
On Wednesday, 21 November 2012 at 18:42:55 UTC, Leandro Motta Barros wrote:TITLE: D Programming in D (Or: Writing idiomatic D code) ABSTRACT: Every language has its own sanctified idioms. Beginners learning a new language tend to use the idioms of the languages they already know in the new language. This is no different for someone learning D, so we have people doing, say, "C++ programing in D" or "Lua programming in D". This is not the best way to go. Learning the D idioms is a very important step to move from "I can write D programs" to "I know D". This talk presents a survey of the most important idioms commonly used by the D community. Hopefully, it will help you to start doing "D programming in D".good idea. +1
Nov 21 2012