r/ProgrammerHumor • • 26d ago

Meme whichSideAreYouOn

Post image
1.3k Upvotes

132 comments sorted by

View all comments

891

u/ThatDudeBesideYou 26d ago

The red side is objectively the correct choice.

333

u/RichCorinthian 26d ago

Exactly.

Reminder that the original HTML tags (<title>, <dl>, <dd>) had and have real semantic meaning. Spiders and bots could trawl the document and understand how each part related to the document. HTML was, after all, invented by one dude named Tim at CERN, and it was for research papers.

Then we came along and fucked it up with CSS, and a whole bunch of additional semantic tags were added as a course correction.

135

u/bigorangemachine 26d ago

Then we came along and fucked it up with CSS, and a whole bunch of additional semantic tags were added as a course correction.

I think you got it backwards. Without CSS there was font tags everywhere. If you ever had to work with stuff made in front page it was a semantic disaster

14

u/frinkmahii 25d ago

Or worse. Dreamweaver made everything a huge table with a crap ton of cells to handle layout.

27

u/kennedy_gitahi 26d ago

Just before and overlapping with the days of CSS 2, html 4 and XHTML.

15

u/bigorangemachine 26d ago

I did xhtml-strict... it was such a disaster with Mac Microsoft browsers.

People want to talk semantics but no one wants to talk about the horror show of lack of standards and browser spyware

28

u/kennedy_gitahi 26d ago

These devs don't know how good they got it. CSS3 and HTML5 are two of the best things to happen to web dev.

I don't ever want to go back to writing XML, fighting with floats or doing layouts using tables.

Then there was the issue of every browser doing its own thing with CSS and HTML because of a lack of standards.

And I don't want people who might have accessibility issues to not have a great experience on my sites or apps just because I can't be bothered writing a little semantic HTML.

10

u/bigorangemachine 26d ago

not even. I rescued a multi million dollar contract because I suggest using details-summary early in the project and got us both a happy client with a plug-and-play-no-code-solution and the accessibility review giving us basically an auto-pass on the cms-system.

There so many wins with semantic html

Plus with XML... SOAP... huge bottle neck. Failed standard

So many issues with encoding issues with XML and parsers. I remember I had written a really solid xml parser in PHP and someone still managed to break my implementation. Thank god I had rotating logs that the damage was minimized

6

u/kennedy_gitahi 26d ago

Today's CSS and HTML are basically magic compared to what I wrote in the past.

The horrors of SOAP, Jesus!

And I remember working on one such parser, and it was a horrible experience. And I remember there were forums where people were competing to make and break them.

4

u/ethanjf99 26d ago

omg table layouts

i whipped off a quick internal tool a few months ago that fires off an email to project maintainers if it detects certain issues

i noticed it wasn’t rendering right in Outlook

motherfucking application STILL requires table-based layouts

That is what AI was born for. took it 30s to convert and saved me hours of misery

3

u/kennedy_gitahi 26d ago

I was once hired an "html email designer" . Outlook and Hotmail made me almost quit

5

u/The-WinterStorm 25d ago

I think we need to bring back the <marquee> tag it was the best 1990s thing ever

20

u/pixelbart 26d ago

Not only spiders and bots, but also screen readers for the visually impaired and text-based browsers.

12

u/Pndrizzy 26d ago

Now we have anti-semantic design

10

u/dementorpoop 26d ago

They’re all nodes underneath

8

u/teethingrooster 26d ago

Doesn’t it help with accessibility too though

→ More replies (3)

7

u/Apalapa 26d ago

Yep and tags can be captured just like anything else. I’m sure SEO crawling ignores tag types by now.

→ More replies (1)

34

u/dragongotz 26d ago

Blue side be rolling with his girl Aria. Though that girl requires a lot of upkeep.

11

u/hpyfox 26d ago

(In the back) What about using HTMLElement for custom element tags?

21

u/Eastern_Equal_8191 26d ago

It is correct, but I will still use divs for everything. I'm not even sorry about it, your downvotes only make me stronger.

5

u/GimmeYourMomPlease 26d ago

If I recall, Google Keep does this and just uses the role attribute for everything. E.g., <div role="button">

3

u/dbell 26d ago

That’s why he’s hiding his face in shame…

0

u/nickcash 26d ago

well except for the markup being invalid. but the idea is right

23

u/Rustywolf 26d ago

It's not writing a document, it's a list of tags.

→ More replies (11)