Live data from Hacker News

Ask HN: Where can one learn about boring web development?

news.ycombinator.com

11–20 of 62 posts

Re: Ask HN: Where can one learn about boring web development?

#11
post #9

What is your programming language of choice? Do you want server-side rendered app or will your app require client-side processing? Do you anticipate that the app will, at some point in the future, need to be scaled to multiple servers? Once you answer these questions, then what boring tech stack to choose will become easier. One example I will give you of a boring stack, but highly effective, that I know of. Postgres…

The asker wants to know about HTML and CSS.

Why are you suggesting HAProxy for load balancing?

Re: Ask HN: Where can one learn about boring web development?

#12
post #10

Have you tried comparing vanilla JavaScript + HTML compared to JSX? React makes your code more concise if you're trying to do any amount of interactivity on your site. You can learn the former in any basic web development tutorial but personally I don't think I'll ever touch it again after learning React.

It is clear from the question that the asker is sceptical of whether JavaScript of any kind is necessary at all.

Why did you immediately jump to comparing JavaScript approaches?

Re: Ask HN: Where can one learn about boring web development?

#14
post #10

Have you tried comparing vanilla JavaScript + HTML compared to JSX? React makes your code more concise if you're trying to do any amount of interactivity on your site. You can learn the former in any basic web development tutorial but personally I don't think I'll ever touch it again after learning React.

It is clear from the question that the asker is sceptical of whether JavaScript of any kind is necessary at all. Why did you immediately jump to comparing JavaScript approaches?

It's 2022 and user's most basic expectations require Javascript for anything other than the simplest use case

Re: Ask HN: Where can one learn about boring web development?

#15

Earlier quoted context omitted.

It is clear from the question that the asker is sceptical of whether JavaScript of any kind is necessary at all. Why did you immediately jump to comparing JavaScript approaches?

It's 2022 and user's most basic expectations require Javascript for anything other than the simplest use case

so false.

Re: Ask HN: Where can one learn about boring web development?

#16
If you like to use golang there is a book 'web development with golang': https://www.usegolang.com/. It leads you through building a website from beginning to end, also giving a lot of further topics to dive into. I didn't know where to start in the beginning so the book helped me to focus.

Re: Ask HN: Where can one learn about boring web development?

#18
post #10

Have you tried comparing vanilla JavaScript + HTML compared to JSX? React makes your code more concise if you're trying to do any amount of interactivity on your site. You can learn the former in any basic web development tutorial but personally I don't think I'll ever touch it again after learning React.

I would strongly advise against react if you are looking to learn the fundamentals.

By all means learn about raw DOM manipulation with JavaScript first, but do not go directly for react.

We are repeating the same issues we had years ago where people started conflating JavaScript with jQuery - people are conflating JavaScript with react l.

JavaScript is an insanely powerful flexible and widely deployed language. It is so much more than just react/jQuery. It is the Lingua Franca of modern computers.

Re: Ask HN: Where can one learn about boring web development?

#19

Earlier quoted context omitted.

It is clear from the question that the asker is sceptical of whether JavaScript of any kind is necessary at all. Why did you immediately jump to comparing JavaScript approaches?

It's 2022 and user's most basic expectations require Javascript for anything other than the simplest use case

It is indeed $CURRENT_YEAR, but that does not validate your claim.

It is perfectly legitimate and practical to build a web application using little to no JavaScript. It is also abundantly evident that consumers and professionals are still happy to pay to use web applications which employ little to no JavaScript.

Re: Ask HN: Where can one learn about boring web development?

#20
> everything you need to know when creating production-ready (yet simple!) web applications?

If you mean web applications rather than (mostly static) web sites then I believe that the boring pragmatic approach is to use React + Typescript, at least for the front end stuff. This is where the tooling, documentation, and community all currently come together in the most cohesive manner for modern web application development - or in other words, where you'll be fighting the tech least, and have the most support when you need it.

I know that's a loaded opinion and I spent years resisting it. But I'm glad I overcame my scepticism.

I would love to be working closer to the metal, in this case meaning HTML, CSS, and JS. I spent the first 5 years of my web dev career doing this. But this means you have to deal directly with several different browser engines running across hundreds of potential devices, you have to deal with bundling your assets, transpiling, worrying about what JS and CSS features you can use - it's basically endless, more than one person can handle. Web dev is inherently many layers of abstraction deep and highly fragmented. By using a framework like React and following their best practices, you let someone else, at least partially, deal with that chaos. That's the closest thing we have to a safe, boring, pragmatic path in modern web dev. Yes it's a long way from perfect and you're still barely surfing above the chaos, but I don't think there's a better option.

Post reply on HN