digitalmars.D - Learn D in x minutes
- Steve D (34/34) May 13 2014 D beginner here. I also like to look into new/different languages
- w0rp (2/2) May 14 2014 I'm unsure about the "learn x in y minutes" tutorials, but I did
- Joseph Rushton Wakeling (2/4) May 14 2014 A friend and former colleague of mine wrote that. Great guy. :-)
- Martin Nowak (3/7) May 14 2014 http://drepl.dawg.eu
- simendsjo (14/22) May 14 2014 Very cool! Maybe it should default to using the most recent variable?
- Martin Nowak (3/15) May 14 2014 Already filed as bug :).
- bearophile (8/9) May 14 2014 Looks quite nice, it can become quite useful for D programmers.
- Martin Nowak (4/13) May 14 2014 https://github.com/MartinNowak/drepl/issues/8
- "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= (2/3) May 14 2014 Thanks, love this!
- w0rp (5/6) May 14 2014 That's pretty nice. It did nice enough things when I wrote a
- Mengu (6/15) May 14 2014 FYI, it doesn't work with FF 29.0.1 on OS X Mountain Lion. i
- Joseph Rushton Wakeling via Digitalmars-d (3/4) May 14 2014 Oh, cool! :-) Is there any prospect of extending that with an interacti...
- Martin Nowak (8/12) May 14 2014 Yes, I have some plans for that, bugs and some basic features are
- FrankLike (3/12) May 14 2014 I not see the 'D>' use the IE9 on Windows7 x64,but
- "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= (2/4) May 14 2014 http://learnxinyminutes.com/docs/neat/
- FG (4/5) May 14 2014 Yes, it's definitely a good idea from a promotional point of view to put...
- John (7/17) May 14 2014 Good article, but we all know those books that promise to teach a
- bearophile (5/8) May 14 2014 The same comparisons also show that there are one hundred
- Martin Nowak (2/6) May 14 2014 https://gist.github.com/anonymous/7527033
D beginner here. I also like to look into new/different languages and see what they are all about. I was looking at the Julia language when I came across this site http://learnxinyminutes.com/ which gives a summary of most of the popular languages. Each language entry includes basic syntax usage and is a short whirlwind tutorial with simple examples showing data types, operators, control flow, simple statements, functions etc. Now I know you can't really learn any language x in minutes, but I think D might benefit from being represented as it is yet another introduction path to programmers/technicians who visit the site. Someone here in D.learn (anonymous) already did a basic page http://forum.dlang.org/thread/l6baie$vci$1 digitalmars.com last November but it only made the learn forum and doesn't seem to have been progressed. I'm only a D noob and not really qualified to say if the attempt is up to date, or in a complete/acceptable state that you guys would say 'yeah that covers the D basics very well' etc. It needs someone qualified to have a look and decide if it's worthwhile to make a little time to add/update the starting effort to the site. What do you think? It's not a lot of effort or too challenging, wouldn't you say? So, it's only a suggestion, but that site may get visits, possibly from seven billion programmers, thousands of schools, colleges, universities, corporations, institutions, technical managers etc etc... just sayin' ;) Also, if someone adds the D language entry then a reddit/hacker news post saying 'D added to learnxinyminutes' would not only ping everyone about D, but also raise the learnxy site's profile (and it's an interesting site too) to reddit and HN Note. posted to D forum vs D.learn as I think it's more about D's profile and visibility, hope that's ok.
May 13 2014
I'm unsure about the "learn x in y minutes" tutorials, but I did however think this was very neat. http://tryhaskell.org/
May 14 2014
On Wednesday, 14 May 2014 at 07:04:24 UTC, w0rp wrote:I'm unsure about the "learn x in y minutes" tutorials, but I did however think this was very neat. http://tryhaskell.org/A friend and former colleague of mine wrote that. Great guy. :-)
May 14 2014
On Wednesday, 14 May 2014 at 07:36:57 UTC, Joseph Rushton Wakeling wrote:On Wednesday, 14 May 2014 at 07:04:24 UTC, w0rp wrote:http://drepl.dawg.euI'm unsure about the "learn x in y minutes" tutorials, but I did however think this was very neat. http://tryhaskell.org/A friend and former colleague of mine wrote that. Great guy. :-)
May 14 2014
On 05/14/2014 10:11 AM, Martin Nowak wrote:On Wednesday, 14 May 2014 at 07:36:57 UTC, Joseph Rushton Wakeling wrote:Very cool! Maybe it should default to using the most recent variable? _mod2.a in the example below. D> int a = 10: => a D> int a = 5; => a D> a => _mod1.a at /tmp/drepl.13YxH8/_mod1.d(3) conflicts with _mod2.a at /tmp/drepl.13YxH8/_mod2.d(3) D> _mod1.a => 10 D> _mod2.a => 5On Wednesday, 14 May 2014 at 07:04:24 UTC, w0rp wrote:http://drepl.dawg.euI'm unsure about the "learn x in y minutes" tutorials, but I did however think this was very neat. http://tryhaskell.org/A friend and former colleague of mine wrote that. Great guy. :-)
May 14 2014
On Wednesday, 14 May 2014 at 08:26:58 UTC, simendsjo wrote:D> int a = 10: => a D> int a = 5; => a D> a => _mod1.a at /tmp/drepl.13YxH8/_mod1.d(3) conflicts with _mod2.a at /tmp/drepl.13YxH8/_mod2.d(3) D> _mod1.a => 10 D> _mod2.a => 5Already filed as bug :). https://github.com/MartinNowak/drepl/issues/9
May 14 2014
Martin Nowak:http://drepl.dawg.euLooks quite nice, it can become quite useful for D programmers. If I insert: int[int] d = [1: 2, 3:4]; It answers me: => non-constant expression [1:2, 3:4] Bye, bearophile
May 14 2014
On Wednesday, 14 May 2014 at 08:46:34 UTC, bearophile wrote:Martin Nowak:https://github.com/MartinNowak/drepl/issues/8 There are still some limitations, hope to have time for this soon, but shared libraries are more important currently.http://drepl.dawg.euLooks quite nice, it can become quite useful for D programmers. If I insert: int[int] d = [1: 2, 3:4]; It answers me: => non-constant expression [1:2, 3:4] Bye, bearophile
May 14 2014
On Wednesday, 14 May 2014 at 08:11:37 UTC, Martin Nowak wrote:http://drepl.dawg.euThanks, love this!
May 14 2014
On Wednesday, 14 May 2014 at 08:11:37 UTC, Martin Nowak wrote:http://drepl.dawg.euThat's pretty nice. It did nice enough things when I wrote a template in it. We should link to that or something like it from the dlang.org homepage, maybe along with a syntax summary like a "learn x in y minutes" tutorial.
May 14 2014
On Wednesday, 14 May 2014 at 08:11:37 UTC, Martin Nowak wrote:On Wednesday, 14 May 2014 at 07:36:57 UTC, Joseph Rushton Wakeling wrote:FYI, it doesn't work with FF 29.0.1 on OS X Mountain Lion. i couldn't see the error. with chrome i got this: WebSocket connection to 'ws://drepl.dawg.eu/ws/dmd' failed: Error during WebSocket handshake: Unexpected response code: 400On Wednesday, 14 May 2014 at 07:04:24 UTC, w0rp wrote:http://drepl.dawg.euI'm unsure about the "learn x in y minutes" tutorials, but I did however think this was very neat. http://tryhaskell.org/A friend and former colleague of mine wrote that. Great guy. :-)
May 14 2014
On 14/05/14 10:11, Martin Nowak via Digitalmars-d wrote:http://drepl.dawg.euOh, cool! :-) Is there any prospect of extending that with an interactive tutorial as tryhaskell.org does ... ?
May 14 2014
On Wednesday, 14 May 2014 at 19:23:14 UTC, Joseph Rushton Wakeling via Digitalmars-d wrote:On 14/05/14 10:11, Martin Nowak via Digitalmars-d wrote:Yes, I have some plans for that, bugs and some basic features are more important though. First step would be a widget https://github.com/MartinNowak/drepl/issues/28, another step would be a site which allows to author and publish tutorials. It won't happen soonish.http://drepl.dawg.euOh, cool! :-) Is there any prospect of extending that with an interactive tutorial as tryhaskell.org does ... ?
May 14 2014
On Wednesday, 14 May 2014 at 08:11:37 UTC, Martin Nowak wrote:On Wednesday, 14 May 2014 at 07:36:57 UTC, Joseph Rushton Wakeling wrote:I not see the 'D>' use the IE9 on Windows7 x64,but use the firefox,it's ok.On Wednesday, 14 May 2014 at 07:04:24 UTC, w0rp wrote:http://drepl.dawg.euI'm unsure about the "learn x in y minutes" tutorials, but I did however think this was very neat. http://tryhaskell.org/A friend and former colleague of mine wrote that. Great guy. :-)
May 14 2014
On Wednesday, 14 May 2014 at 07:04:24 UTC, w0rp wrote:I'm unsure about the "learn x in y minutes" tutorials, but I did however think this was very neat. http://tryhaskell.org/http://learnxinyminutes.com/docs/neat/
May 14 2014
On 2014-05-14 05:22, Steve D wrote:I came across this site http://learnxinyminutes.com/ which gives a summary of most of the popular languages.Yes, it's definitely a good idea from a promotional point of view to put D in all those places where languages are compared. Then -- like on http://rosettacode.org -- one can compare how typical tasks are written and get sold on D's relatively sane approach. OTOH, seeing the title "Learn X in Y minutes" makes me smile. :) http://norvig.com/21-days.html
May 14 2014
On Wednesday, 14 May 2014 at 12:27:22 UTC, FG wrote:On 2014-05-14 05:22, Steve D wrote:Good article, but we all know those books that promise to teach a language in 24 hours or 21 days do not make us masters. We just want to see how it feels or try to grasp the basics and then practice it with more advanced books. I too believe in that 10,000 hours theory, but we should begin somewhere, right?I came across this site http://learnxinyminutes.com/ which gives a summary of most of the popular languages.Yes, it's definitely a good idea from a promotional point of view to put D in all those places where languages are compared. Then -- like on http://rosettacode.org -- one can compare how typical tasks are written and get sold on D's relatively sane approach. OTOH, seeing the title "Learn X in Y minutes" makes me smile. :) http://norvig.com/21-days.html
May 14 2014
FG:Then -- like on http://rosettacode.org -- one can compare how typical tasks are written and get sold on D's relatively sane approach.The same comparisons also show that there are one hundred different cases where D/Phobos are not reasonable enough yet. Bye, bearophile
May 14 2014
Someone here in D.learn (anonymous) already did a basic page http://forum.dlang.org/thread/l6baie$vci$1 digitalmars.com last November but it only made the learn forum and doesn't seem to have been progressed.https://gist.github.com/anonymous/7527033 That's a real pity, someone should rescue the effort.
May 14 2014