Live data from Hacker News

Just use HTML

justfuckingusehtml.com

161–170 of 188 posts

Re: Just use HTML

#163
post #65

Wow, I had no idea elements with an id attribute are directly accessible in JS. Combine this with Pico CSS or one of those minimal stylesheets (Water.css) to get better typography and spacing and you‘re set. I guess htmx is the extreme version of this no-framework philosophy… kinda.

Wait, this actually says to use the implicit ID mapping on the global object? That hasn't been good advice since about 1999! edit: I checked and wow, it really does. Good grief, did an AI write this? Use getElementById or querySelector or querySelectorAll or any other remotely modern web API method instead.

Genuinely curious (as someone who didn't know about the implicit ID mapping until today): given that IDs are global, why is doing this any worse (or in any way different) to using getElementById? I.e. why is it bad advice?

Re: Just use HTML

#164

Earlier quoted context omitted.

I think some people who really centered their lives and careers around doing the opposite of what this website says can’t see the humor in it.

I think you need to stop telling people what you think. There is a risk you might be wrong and you come across as ignorant. Case in point: I didn’t build my career around front end technologies. Frankly, I am certain you have no clue what I do. Don’t bend yourself backwards over it. All I’m saying is: if your sense of humour is repulsive, good luck. If it’s a satirical thing, give me a clue.

> If it's a satirical thing, give me a clue.

People like you are fascinating

Re: Just use HTML

#166

Look — I’m old enough to remember when the “web standards movement” was controversial. I had to argue with my boss about using CSS vs tables. And I remember when you did need javascript to do a lot of things that HTML now does natively. JS frameworks had to exist to push the state of the art, because the state of the art got stuck. The standards bodies and browser vendors got their shit together, and now you can do t…

Clearly an AI generated comment, should this be banned?

What ? Why ? Doesn't seem clear to me.

Re: Just use HTML

#167

Earlier quoted context omitted.

I think I’m right. That’s why you’re so offended. It hit a nerve.

Think whatever you want to think.

It’s not about what I want. It’s about what’s fact or fiction in the face of possible lies.

I think you’re lying because you’re so offended. It hit a nerve. Whatever made your career front end react certainly seems like a big part of it.

Re: Just use HTML

#168

Look — I’m old enough to remember when the “web standards movement” was controversial. I had to argue with my boss about using CSS vs tables. And I remember when you did need javascript to do a lot of things that HTML now does natively. JS frameworks had to exist to push the state of the art, because the state of the art got stuck. The standards bodies and browser vendors got their shit together, and now you can do t…

Clearly an AI generated comment, should this be banned?

I agree. The structure feels like an LLM. What scares me is that the more I use it the more I feel myself writing like chatgpt. Hell even thinking in its 'tone of voice'

Re: Just use HTML

#169

Look — I’m old enough to remember when the “web standards movement” was controversial. I had to argue with my boss about using CSS vs tables. And I remember when you did need javascript to do a lot of things that HTML now does natively. JS frameworks had to exist to push the state of the art, because the state of the art got stuck. The standards bodies and browser vendors got their shit together, and now you can do t…

[deleted]

Re: Just use HTML

#170

Earlier quoted context omitted.

Clearly an AI generated comment, should this be banned?

What ? Why ? Doesn't seem clear to me.

There’s more But it’s clear to me from the first word “Look — …“. No one starts a comment like that, except ChatGPT who does it all the time.

I frequent subreddits where AI use is super common and the vibe is always the same.

Post reply on HN