this post was submitted on 12 Jun 2025
446 points (98.9% liked)

Programmer Humor

24111 readers
2336 users here now

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

founded 2 years ago
MODERATORS
446
centerDiv.js (lemmy.blahaj.zone)
submitted 1 day ago* (last edited 11 hours ago) by [email protected] to c/[email protected]
top 40 comments
sorted by: hot top controversial new old
[–] [email protected] 4 points 8 hours ago

I worked with some pretty dumb people who mocked me for years as the guy who couldn't design a UI to save my life because the product I inherited was designed by someone in the 1990s. it wasn't pretty but it was functional.

any time a UI request came in for the new product and I would try to take it, the PM would pull it and give it to someone else. "oh, their skillset is better suited for UI/UX." I was told.

I got fed up with it and designed my online portfolio. used it to showcase my work and skills even documented my process from mockups to design iteration and final products.

I then posted on linkedin my new portfolio and listed myself as open to connect. within a day the PM made a point to pull up my portfolio on standup and asked me where I got the template. told them, "no template. as you can see in the documentation I designed it from scratch using HTML5 CSS3 and JavaScript. I also included the js packages I used."

they were stunned and immediately started to shuffle some UI tickets my way. I just said, "sorry, my skillset is better served for backend requests."

I quit two months later after a few interviews that seemed to go well. I hated that shithole.

moral of the story? don't discourage people from taking on tasks they aren't obviously suited for. they might just surprise you.

[–] [email protected] 18 points 13 hours ago (2 children)
[–] [email protected] 1 points 9 hours ago

I had to resize my browser window in order to read that how dare you not simply read my mind and select my preferred column width instead

99% of users, probably

[–] [email protected] 1 points 11 hours ago

That was wonderful, thank you for sharing. When it's done well, I really enjoy this style of prose.

[–] [email protected] 7 points 14 hours ago

I was so pleased when a brief for a thing at work was "no frameworks".

[–] [email protected] 4 points 13 hours ago

React sucks and is way way way overdone and ill die on that hill

[–] [email protected] 3 points 12 hours ago

Wait until you see what they do to avoid learning SQL or Regex or JSON Pointer or XPath.

[–] [email protected] 4 points 13 hours ago

Damn that's some spicy takes lol.

[–] [email protected] 1 points 10 hours ago (1 children)

I use plain HTML along tachyons.io, it's pretty neat.

[–] [email protected] 1 points 3 hours ago

On mobile the header has overlapping content- not the worst but shows very little attention to detail for a CSS toolkit :(

[–] [email protected] 58 points 1 day ago* (last edited 1 day ago) (2 children)
div {
  display: grid;
  place-content: center;
}

We've come a long way...

[–] [email protected] 8 points 14 hours ago

The collective man-hours this would have saved people, if we had it back in 1999, would be staggering.

[–] [email protected] 4 points 16 hours ago

You misspelled nesting tables

[–] [email protected] 15 points 23 hours ago (4 children)

JavaScript frameworks are invented because pure HTML and CSS suck for dynamically loaded pages, and vanilla JavaScript suck in general.

[–] [email protected] 26 points 21 hours ago (2 children)

Most pages don’t need dynamic loading.

[–] [email protected] 5 points 15 hours ago

My menus need to be dynamically reloaded!

[–] [email protected] 6 points 20 hours ago
[–] [email protected] 23 points 22 hours ago

Dynamically loading pages suck too.

[–] [email protected] 4 points 15 hours ago

It's still Javascript.

[–] [email protected] 12 points 21 hours ago (3 children)

JavaScript frameworks actually exist for two reasons, one, vanilla JavaScript lacks ease of use (does not suck and I don't care who disagrees) and two, people love over engineering the fuck out of technology. See: technology since the iPhone came out. We have advanced systems around the world spinning up processes to make up for the fact that touch screens are hard to type accurately on.

[–] [email protected] 2 points 14 hours ago (1 children)

people love over engineering the fuck out of technology

Exhibit A: 2.85 Million packages, as of mid-2023

[–] [email protected] 1 points 12 hours ago

Unless those are mostly overly complicated, it doesn't speak to what I'm saying. But I guess it means people like doing their own engineering better than relying on others

[–] [email protected] 9 points 21 hours ago (1 children)

jQuery got popular because Internet Explorer, Firefox, Chrome and other browsers weren’t exactly cross compatible. Writing vanilla JS was risky business in that sense.

It also supported AJAX across all major browsers, which meant the website could make API requests without reloading the entire page. It was super revolutionary to press a button and it only changed a part of the page.

Then Angular and React took it a step forward and that’s where we are now.

[–] [email protected] 4 points 21 hours ago* (last edited 21 hours ago)

I am very aware of the progression. But you're vastly glossing over how much complexity (and feature set) was added after jQuery. If JavaScript sucks, how would you change it? Shitty browsers implementing it poorly in the past (and safari doing so today) doesn't make it suck.

[–] [email protected] 1 points 17 hours ago

Immediate mode rendering and components seem to be why people use them. And you know what? The web should natively support those but doesn't (well it kinda bad components, but ehhh). Otherwise I agree, the frameworks are overcomplicated.

[–] [email protected] 25 points 1 day ago (4 children)

Oh yes please. But not JavaScript. I use Rust frameworks to avoid all three!

[–] [email protected] 2 points 7 hours ago

Flutter like a butterfly, sting like a Dart.

[–] [email protected] 15 points 23 hours ago (2 children)

Eww Rust! I hate memory safe languages, I love torturing myself with C

[–] [email protected] 8 points 22 hours ago (1 children)

You can wrap everything in unsafe and keep living dangerously!

[–] [email protected] 3 points 18 hours ago

unsafe doesn't deactivate memory safety. It only allows you to then create raw pointers and whatnot, which you could use to circumvent memory safety, but all the normal language constructs still do enforce it.

[–] [email protected] 3 points 22 hours ago (1 children)
[–] [email protected] 6 points 17 hours ago (1 children)
[–] [email protected] 4 points 16 hours ago* (last edited 16 hours ago)

Knew someone would say that, lol, gold project, sad that it's gone unmaintained and my man started working on home-manager at home
..wait

[–] [email protected] 4 points 21 hours ago

Yeah I gotta get my workplace to get on board with it. Rust->Webasm is simply amazing

[–] [email protected] 0 points 23 hours ago (1 children)

Men really out here inventing entire JavaScript engines so they don't have to learn Rust/C/C++/whatever

[–] [email protected] 1 points 1 hour ago

Meanwhile women are hand-coding in assembly, like God intended.

[–] [email protected] 1 points 13 hours ago

Wait till you see what they do for a bit of concurrency

[–] [email protected] 9 points 22 hours ago

real ones learn dhtml

[–] [email protected] 12 points 1 day ago (1 children)

OP, I don't think you've correctly linked to the post (when I visit the linked webpage, the browser tries to download an ActivityPub activity instead of showing the post in the Mastodon web UI). Please replace the link with this one.

[–] [email protected] 2 points 11 hours ago

got it, my bad