Live data from Hacker News

A friendly web development tutorial for complete beginners (2017)

internetingishard.com

51–57 of 57 posts

Re: A friendly web development tutorial for complete beginners (2017)

#51

Earlier quoted context omitted.

Don't you mean that it's easy, but not simple?

No, otherwise I would have written it that way. ;)

Well, then I strongly disagree. Modern JS is very easy to write, but extremely complex because of all the leftover cruft. For example, a beginner can declare a varible with let, const, var or (what could be easier) nothing at all. The resulting scoping rules, however, are anything but simple.

Re: A friendly web development tutorial for complete beginners (2017)

#52

Earlier quoted context omitted.

If you're an absolute beginner - you don't need things to be online, just stick with local. What do you need it to be online for? If we want people who know web programming, basic server management on a 5$/mo VPS is something they'll need to learn, sorry. If people want to dabble, stick with local. If people want a business result with minimal friction - stick to instagram, facebook, medium, shopify etc. Existing pla…

I need it to be online because that was the underlying motivation for me starting the tutorial in the first place, and if you haven't shown me that, your tutorial failed to address the actual purpose. Growing up, there was nothing worse than the tutorials or classes that didn't actually do the thing you wanted: "learn to program a game! *will not actually be able to have a game anyone can play at end of tutorial". An…

University is a bad place to learn programming, if you want free education via paid internships, a high starting salary and opportunity to work for a giant corps in the future or even straight out of school.

A tutorial about making games is about as sensible as a tutorial about making airplanes. Go to school... Tutorials are good for fixing a leaky faucet...

Re: A friendly web development tutorial for complete beginners (2017)

#53

This is a very well done and pretty comprehensive tutorial. However, there are plenty of pretty good basic web development tutorials out there, and few, if any of them address what I think is crucial. Once you have all your HTML and CSS and JavaScript all ready to go, how do you actually got about putting that webpage online the right way for the modern internet, including basic security best practices. As the websit…

All of that could be covered in a seperate course. I think the author could probably conclude this html/css course by saying to learn all of those things you mentioned to put the website online.

Re: A friendly web development tutorial for complete beginners (2017)

#54

Earlier quoted context omitted.

No, otherwise I would have written it that way. ;)

Well, then I strongly disagree. Modern JS is very easy to write, but extremely complex because of all the leftover cruft. For example, a beginner can declare a varible with let, const, var or (what could be easier) nothing at all. The resulting scoping rules, however, are anything but simple.

I don't think it's complex at all. The scoping rules are very simple. Block scoping just added another piece.

The difficulty is that there are many simple things like this to learn and to combine in a safe and maintainable manner for anything other than trivial programs. Out of the box, the language does nothing to discourage bad coding practices (some might say it even encourages them). It's the flip-side of being such an accessible language.

It is possible write JS in a way that avoids a lot of the complexity, but it requires experience and discipline and some tooling, just to be sure. The code will look simple but it is not an easy thing to do.

Re: A friendly web development tutorial for complete beginners (2017)

#55
post #23

Earlier quoted context omitted.

Yeah, just rent a VPS for a month for $5, install an OS, install a (software) web server on it, acquire a subdomain for free (or buy your own domain) then edit the configuration of the web server to respond to requests for different domains and to enable HTTPS.

I think you've explained rather succintly while many new web developers find the whole hosting thing a confusing mess. The assumption (especially on tech forums like this one) seems to be that everyone should learn server management to get a website off the ground. But that's a bit of a jump to make. Learning how to install a web server or edit a server's configuration isn't always the most straight forward thing in…

How long would you need "to ask yourself how much you're willing to learn about configuring servers"? Because if it's more than a couple of hours, in that time you would already be at least half-way through solving the exercises I suggested.

The parent comment to mine specifically said this issue "limits my personal growth quite a bit. I really need to figure this portion out". I am not aware of any way of figuring this out other than to actually do it - at least once - and in the process of doing, perhaps also do some further reading, depending on how deep one wishes to go.

I never said that in the future you cannot choose one of the easier turn-key solutions, but you will have acquired an idea of how those things work behind the scenes.

Re: A friendly web development tutorial for complete beginners (2017)

#57

Earlier quoted context omitted.

Well, then I strongly disagree. Modern JS is very easy to write, but extremely complex because of all the leftover cruft. For example, a beginner can declare a varible with let, const, var or (what could be easier) nothing at all. The resulting scoping rules, however, are anything but simple.

I don't think it's complex at all. The scoping rules are very simple. Block scoping just added another piece. The difficulty is that there are many simple things like this to learn and to combine in a safe and maintainable manner for anything other than trivial programs. Out of the box, the language does nothing to discourage bad coding practices (some might say it even encourages them). It's the flip-side of being s…

Programming is mostly the practice of reading code rather than writing, and this is where the complexity is felt.
Post reply on HN