Hacker News new | ask | show | jobs
by boyaka 2962 days ago
Save it as an html file. Use html script tag to wrap your javascript.
1 comments

So one would also have to learn some html markup and have a browser (which is probably a given, I know), and then have to understand at least a little of how the program outputs to the DOM, and how (or if) the output of the JS interacts with the HTML that's already there.

I'm not saying any of this is a bad thing, it's just the way things are, but to an absolutely beginner it can feel insurmountable. I've seen the despair on beginners' faces when they've been shown yet another thing that has to be done, and which they don't understand. Then another, then another.

So. Many. Tiny. Steps.

For that, my advice is to use something integrated like Pharo or Basic256.
See, and now our beginner has to learn what "Pharo" is, or "Basic256", and how to use them.

It just feels like the rabbit hole has no bottom.

Seriously - what is "Pharo"? What is "Basic256"? What do they do for me? How do I install them? How do I run/use/access them?

It just feels endless.

So. Many. Tiny. Steps.

Some searching tells me that these are completely different alternatives to using Javascript. Now it's unclear why our beginner would want to use these - what advantages do they have over Javascript? Or Python? How will they get to a point of being able to contribute to Open Source, or to having an app or website others can use? What's the path?

In a private communication someone has accused me of being deliberately obstructive here, but I'm just trying to raise awareness of the height of the barrier to getting started, and how little real help there is out there. We, as a community, should do better at helping people get started in programming, people of all ages and levels of life experience.

You're negative. Are you depressed?
Not at all - I'm trying to point out that all the suggestions that technical people toss out, thinking they're helping, have a huge amount of technical tinkering underneath that most technical people just don't see. Then when I point it out people think I'm being obstructive, or in your case, that I'm just being negative because, you know, the only possible reason is because I must be depressed.

I'm not, I'm trying as hard as I can to be genuinely constructive. What people are currently doing superficially appears to be useful, but it's not, and I'm trying to raise awareness of what people need to do to be genuinely helpful.

What I really think about people willing to do programming is that most of them won't become programmers. People who are interested by programming just program. I could say that for carpentry too.

But I think we should do more programmable tools (like excel) to help people to deal with complexity.