I am not allowed to credit the site that has this disaster. Its owner said “Nobody should see that”

9 points
*

Worse.

permalink
report
reply
34 points

Isn’t cascading styles the whole point of Cascading Style Sheets?

permalink
report
parent
reply
26 points
*

You absolute fool. You must never utter its full name, lest you summon its wrath!

permalink
report
parent
reply
14 points

I don’t get it, isn’t this a pretty normal way of using media queries. Granted you’re more likely to see the widths defined in px.

permalink
report
parent
reply
10 points

Shhh… The poster doesn’t understand CSS and we shouldn’t embarrass them in a community with memes

permalink
report
parent
reply
4 points

My imposter syndrome kicked in full swing. I was ready to learn a CSS best practice and feel uncomfortable about it for the rest off the day.

permalink
report
parent
reply
1 point

Nowadays we do responsive webdesign instead of micromanaging widths.

permalink
report
parent
reply
2 points

This is technically responsive, but I think you have a fair criticism. A single rule like this would be much more maintainable:

#content .grid-container {
	width: 90vw;
	min-width: 12rem;
	max-width: 75rem;
	padding: 2rem 0 1rem;
}

Obviously, media rules have their place, but not for something that’s consistantly a full width container like this seems to be.

permalink
report
parent
reply
31 points

Not allowed to credit the site in your text editor?

Is the owner in the room with you now?

permalink
report
reply
14 points

This screenshot is not mine, it was sent to me via Matrix

permalink
report
parent
reply
19 points

You get used to it. I don’t even see the code

permalink
report
parent
reply
10 points

Do you have a built-in browser in your brain that renders it?

permalink
report
parent
reply
3 points

…it was sent to me via Matrix

That’s how they do pull requests there

permalink
report
parent
reply
3 points

I hate all webdev beyond using raw HTML, CSS and Javascript to make your own crappy website

permalink
report
reply
0 points

no css! js is ok though. though it should be the focus of the page, as in, “observe this cool thing contained within this webpage: a calculator!”

permalink
report
parent
reply
8 points

I am very, very surprised about the competence of the commenters here. I have had many discussions on reddit about the advantages of meaningful instead of presentational class-naming and you’re normally met with great resistance, especially with users of frameworks like Bootstrap and Tailwind.

Here, everyone seems to either ‘get it’ or is willing to hear why classes like .lime are bad. Very cool.

permalink
report
reply
3 points

Frameworks like bootstrap are a cancer.

permalink
report
parent
reply
1 point

good for quick and dirty small projects tho…

permalink
report
parent
reply
2 points

Ikr, like I don’t need a full feature full stack framework… I just want my tech demo to not look like it was made in the 80s without spending hours. (I’m mostly a backend dev)

permalink
report
parent
reply
2 points

No.

permalink
report
parent
reply
2 points

It is like fentanyl don’t do it

permalink
report
parent
reply
2 points

It’s not too surprising. Consider the sort of person who would have abandoned reddit for Lemmy during the APIcolypse last year.

permalink
report
parent
reply
7 points

People that advocate for presentation naming haven’t endured a major company rebrand.

permalink
report
parent
reply
2 points
*

This guy has PTSD from working at “X”.

permalink
report
parent
reply
16 points

“Some coders just want to watch the word burn get colored white and/or lime.”

And if you delete one or the other, or condense the code into a single command, the whole site breaks.

permalink
report
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 2K

    Monthly active users

  • 861

    Posts

  • 14K

    Comments