News for hackers. Stuff that matters.
Re:Black Girls Code by floren on Tuesday April 13, 2021 @04:25PM (#26798751)
I was going to say "I'd skip all the traditional web-dev stuff and just make a little Go application that serves a web endpoint with something neat in it"... and then I stopped myself and thought about how much boiler-plate and explanations and step-by-step you'd need just to get kids compiling Hello, World... Teaching kids is hard.

Edit: i appreciate Go because there's not as much boilerplate or setup required as with some languages (unpack the tarball, set $PATH, and I'm off to the races) but even those steps mean we're talking about shells and directory trees.

Re:Black Girls Code by nicbou on Tuesday April 13, 2021 @06:10PM (#26800000)
You could run a bit of JavaScript right off your filesystem. It would require nothing but a browser and a text editor.

Otherwise, it's really easy to get lost in boilerplate before you even know what the payoff is.

Re:Black Girls Code by type0 on Tuesday April 13, 2021 @06:26PM (#26800200)
> You could run a bit of JavaScript right off your filesystem. It would require nothing but a browser and a text editor.

It's good to show what's possible but it isn't fun and will bore them to death fast because it's very limiting for beginners.

Re:Black Girls Code by nicbou on Tuesday April 13, 2021 @06:50PM (#26800474)
I suppose it depends on what sparked their curiosity in the first place. Every professional has an origin story, something that made them want to slog through years of practice to get to where they are.

I can think of many ways to spark people's interest in cooking or music, but programming seems a bit harder to me. I never thought about why I love it, let alone why others should.

How would you do that?

Re:Black Girls Code by type0 on Tuesday April 13, 2021 @06:59PM (#26800572)
> I can think of many ways to spark people's interest in cooking or music

Combining programming with music is a cool idea - https://sonic-pi.net/

Re:Black Girls Code by type0 on Tuesday April 13, 2021 @06:23PM (#26800158)
> I was going to say "I'd skip all the traditional web-dev stuff...

Go is simple but not really beginner friendly. In my opinion teaching novices should start with Ruby (not Python or Javascript that's so often is the case). Show them how to do simple scripts, later build some games together.

Web-dev stuff like React, Webpack, Node etc should be out of the question, it would be a huge turn off for kids; heck it is that even for adults.