Jump to page: 1 2
Thread overview
On the D Blog -- Teaching D from Scratch: Is it a viable first language?
Dec 23, 2021
Mike Parker
Dec 23, 2021
zjh
Dec 24, 2021
zjh
Dec 24, 2021
Ali Çehreli
Dec 24, 2021
zjh
Dec 24, 2021
matheus
Dec 24, 2021
zjh
Dec 24, 2021
zjh
Dec 24, 2021
zjh
Dec 24, 2021
Dennis
Dec 24, 2021
rumbu
Dec 24, 2021
Rainer Schuetze
December 23, 2021

Steven Schveighoffer has been using D to teach a group of children to program. He wrote about his experience for the D blog. Is D a viable first language? See what Steve has to say about it :-)

The blog:
https://dlang.org/blog/2021/12/23/teaching-d-from-scratch-is-it-a-viable-first-language/

Reddit:
https://www.reddit.com/r/programming/comments/rmuufa/teaching_d_from_scratch_is_it_a_viable_first/

December 23, 2021

On Thursday, 23 December 2021 at 12:44:04 UTC, Mike Parker wrote:

>

Steven Schveighoffer has been using D to teach a group of children to program. He wrote about his experience for the D blog. Is D a viable first language? See what Steve has to say about it :-)

The blog:
https://dlang.org/blog/2021/12/23/teaching-d-from-scratch-is-it-a-viable-first-language/

Reddit:
https://www.reddit.com/r/programming/comments/rmuufa/teaching_d_from_scratch_is_it_a_viable_first/

This is super cool. I absolutely agree with Steven that we have a lot to go (in terms of compiler diagnostics, and really, general user experience), but it’s always great to hear about the wisdom of D being spread around.

I’ve mentioned it on the discord, but I’d perhaps be open to chipping in some for these improved diagnostics / UX improvements (number one on my wishlist is improved code completion engine using the DMD front-end!). I really think those are the two biggest things that are holding adoption back now, and we still have a lot of work in that regard. This is actually where I think Rust has a leg up on us — the language might not be that great, but you really can’t beat those compiler diagnostics.

December 23, 2021

On Thursday, 23 December 2021 at 12:44:04 UTC, Mike Parker wrote:

>

https://dlang.org/blog/2021/12/23/teaching-d-from-scratch-is-it-a-viable-first-language/

every time I visit https://dlang.org,it crashes.

December 24, 2021

On Thursday, 23 December 2021 at 14:48:43 UTC, zjh wrote:

>

every time I visit https://dlang.org,it crashes.

wrong,https://dlang.org/blog.

December 23, 2021
On 12/23/21 5:11 PM, zjh wrote:
> On Thursday, 23 December 2021 at 14:48:43 UTC, zjh wrote:
> 
>> every time I visit `https://dlang.org`,it crashes.
> 
> `wrong`,`https://dlang.org/blog`.
> 

Does the site crash e.g. with an error code or does the browser crash? More information may help debug it.

Ali
December 24, 2021

On Friday, 24 December 2021 at 03:53:07 UTC, Ali Çehreli wrote:

>

Does the site crash e.g. with an error code or does the browser crash? More information may help debug it.

Ali

Many times, it is estimated that a JS is too large to load.
Not only did the browser crash, but even the computer crashed.
Mine is 32-bit, 2G computer.

December 24, 2021

On Thursday, 23 December 2021 at 12:44:04 UTC, Mike Parker wrote:

>

The blog:
https://dlang.org/blog/2021/12/23/teaching-d-from-scratch-is-it-a-viable-first-language/

I agree about the bad error message with missing semicolons. Looks like it inspired improvement!
https://github.com/dlang/dmd/pull/13459

December 24, 2021
On Friday, 24 December 2021 at 04:58:20 UTC, zjh wrote:
> On Friday, 24 December 2021 at 03:53:07 UTC, Ali Çehreli wrote:
>
>> Does the site crash e.g. with an error code or does the browser crash? More information may help debug it.
>>
>> Ali
>
> Many times, it is estimated that a `JS` is too large to load.
> Not only did `the browser` crash, but even the `computer` crashed.
> Mine is `32-bit, 2G` computer.

What OS and Browser?

I just tested on an old 32 bit machine with 2GB of RAM and both Chrome and Firefox worked normally.

On Chrome I see there are some errors in some scripts though:

Uncaught ReferenceError: jQuery is not defined navigation.js:55
Uncaught ReferenceError: jQuery is not defined select2.min.js:21
Uncaught TypeError: Cannot read property 'fn' of undefined mivhak.min.js:1

But even with these errors it load normally.

Finally in both browsers I use only one extension: ublock origin, which blocked some trackers from twitter, facebook.

And on Firefox it indeed almost freezes for a like 2 seconds, and occurs with the status bar showing: "Read c0.wp.com", after that the page finished loading.

Matheus.
December 24, 2021

On Friday, 24 December 2021 at 12:55:40 UTC, matheus wrote:

they have fixed it.

December 24, 2021

On Friday, 24 December 2021 at 13:23:43 UTC, zjh wrote:

>

they have fixed it.

I tried it just before, no problem last time.
Then, I tried again here. It's circling all the time. You can't see the source code,
F12 can't either.
chrome/edge/windows10. I don't know why.

« First   ‹ Prev
1 2