this post was submitted on 27 Sep 2023
296 points (93.5% liked)

Programmer Humor

32410 readers
1 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] Illecors@lemmy.cafe 81 points 2 years ago (2 children)

Sorry, I'm gonna be that person.

*What. It should say What it feels like.

[–] soeren@iusearchlinux.fyi 55 points 2 years ago (3 children)

Thanks English is not my native language.

[–] gbuttersnaps@programming.dev 33 points 2 years ago (1 children)

Just for the sake of information, the two common ways to put this in English are "How it feels" and "What it feels like". The former phrase is just descriptive, so it doesn't need the "like" at the end. The latter phrase is comparative to another thing, so it needs the like. Also this is something that native speakers mix up all the time, so don't worry too much; your English is great!

[–] narc0tic_bird@lemm.ee 8 points 2 years ago

Thanks for the explanation.

[–] glasgitarrewelt@feddit.de 9 points 2 years ago (1 children)

Der Name Sören ist definitiv ein Hinweis darauf :D

[–] soeren@iusearchlinux.fyi 4 points 2 years ago
[–] Appoxo@lemmy.dbzer0.com 4 points 2 years ago (1 children)
[–] fubbernuckin@lemmy.world 3 points 2 years ago

Technology we could never dream of on Reddit

[–] OhTheMoose@lemm.ee 9 points 2 years ago* (last edited 2 years ago) (5 children)

Or "How it feels"

I feel like there's been a gradual increase in people saying things like this ("would of" instead of "would've", "apart" instead of "a part", etc)

load more comments (5 replies)
[–] lemmy_st3v3@lemmy.world 37 points 2 years ago (2 children)

I don't get it. In my opinion React is like the worst of the bunch...

[–] azezeB@discuss.tchncs.de 8 points 2 years ago (2 children)
[–] lemmy_st3v3@lemmy.world 33 points 2 years ago (9 children)

Well, I have worked with two of them React and Angular. Now working with React. And the further the project goes, things just get messy, and I mean really messy. The concept of everything should be a small function is in practice not true. No dependency injection(I know you can bolt another library on top of it, but really?). The testing is a pain, it gets harder and harder to test isolated functions. Custom tags, attributes that look like the standards that are documented at MDN but are not. And most info I can find online feels like elaborate propaganda. I mean there is just nothing against React to be found, really nothing. That's just not possible in IT.

[–] kurwa@lemmy.world 11 points 2 years ago (1 children)

I agree, React sucks. Been using it for years at work.

[–] joyjoy@lemm.ee 6 points 2 years ago (1 children)

I'm gonna tell your boss you said that.

[–] kurwa@lemmy.world 4 points 2 years ago

Oh he knows 😂

load more comments (8 replies)
load more comments (1 replies)
[–] kameecoding@lemmy.world 5 points 2 years ago (1 children)

I have tried some angular, threw up when I looked at JSX so skipped React and do a lot of Vue, Vue is by far the best of the 3. especially 3 with reusables and better TS support.

[–] abaga129@lemmy.world 2 points 2 years ago

That was my experience until I tried Svelte. I loved Vue but didn't like the transition to Vue 3. When I tried Svelte it blew me away and I never looked back.

[–] dzervas@lemmy.world 35 points 2 years ago

i found out about htmx just yesterday and I was blown away. i think it’s an amazing idea, really

for small projects that you want to make in less than an eternity it should be very convenient

[–] baduhai@sopuli.xyz 34 points 2 years ago (1 children)

I... kinda find htmx to be better than all other options.

[–] soeren@iusearchlinux.fyi 17 points 2 years ago (1 children)
[–] phundrak@programming.dev 8 points 2 years ago (1 children)

Depends on the use case tbh, but it's a good choice in a lot of cases.

[–] yournamehere@lemm.ee 8 points 2 years ago* (last edited 2 years ago) (2 children)
[–] phundrak@programming.dev 3 points 2 years ago

I did not know about this, I'll take a look at it once I'm home. Thanks!

[–] thirdBreakfast@lemmy.world 2 points 2 years ago

For anyone without the inclination to wade through 47 pages, here's what they say about HTMX, which they've classified as "Assess" rather than "Trial" or "Adopt"

htmx is a small, neat HTML UI library that recently became popular seemingly out of nowhere. During our Radar discussion, we found its predecessor intercooler.js existed ten years ago. Unlike other increasingly complex pre-compiled JavaScript/TypeScript frameworks, htmx encourages the direct use of HTML attributes to access operations such as AJAX, CSS transitions, WebSockets and Server- Sent Events. There’s nothing technically sophisticated about htmx, but its popularity recalls the simplicity of hypertext in the early days of the web. The project’s website also features some insightful (and amusing) essays on hypermedia and web development, which suggests the team behind htmx have thought carefully about its purpose and philosophy.

[–] NigelFrobisher@aussie.zone 19 points 2 years ago

I was genuinely confused why people were talking about xhtml again this year.

[–] thenofootcanman@lemmy.world 14 points 2 years ago (2 children)
[–] Scrappy@feddit.nl 13 points 2 years ago (2 children)

What's wrong little man, can't handle a little boilerplate?

[–] MrLuemasG@lemmy.world 11 points 2 years ago (1 children)

Sorry I can't hear you over all those observables

[–] thenofootcanman@lemmy.world 3 points 2 years ago (4 children)
load more comments (4 replies)
[–] thenofootcanman@lemmy.world 4 points 2 years ago

So...dense... Can't... Move...

[–] CodingCarpenter@lemm.ee 4 points 2 years ago (1 children)
load more comments (1 replies)
[–] unreachable@lemmy.world 14 points 2 years ago (3 children)

PHP sitting in the corner, off screen

[–] raubarno@lemmy.ml 33 points 2 years ago

PHP is powering a LAMP

[–] incompetentboob@lemmy.world 15 points 2 years ago (3 children)

I’m confused as to what PHP has to do with JavaScript front-end frameworks.

Was it just for a quick laugh and a jab at PHP because it’s an easy target or have I misunderstood that these all use JavaScript

[–] MajorHavoc@lemmy.world 8 points 2 years ago

I’m confused as to what PHP has to do with JavaScript front-end frameworks.

PHP deserves honorable mention here as the "it's not stupid if it works" of the JavaScript framework world. Everything* JavaScript frameworks can accomplish can also be done (much worse) with static HTML delivered by PHP.

*Please no one give me examples that cannot be done without JavaScript. Trust me, I know. But any business requirement can be met with plain HTML if you really deeply hate your end users enough.

[–] MonkderZweite@feddit.ch 2 points 2 years ago

what PHP has to do with JavaScript front-end frameworks.

Everything. Sitting in the corner, munching and handing out cookies to people who don't want any.

load more comments (1 replies)
[–] SatyrSack@lemmy.one 3 points 2 years ago
[–] cupcakezealot@lemmy.blahaj.zone 9 points 2 years ago (1 children)

I'm still on DHTML, ActiveX, and SSIs

[–] locuester@lemmy.zip 3 points 2 years ago (1 children)

Fabulous memories. IE 4 and XML data islands too?

load more comments (1 replies)
[–] perishthethought@lemm.ee 7 points 2 years ago (1 children)

Alright, have to ask: what are those icons?

I think I know Vue and Angular.

What is the S? And what is the atom like thing on the left?

[–] soeren@iusearchlinux.fyi 17 points 2 years ago (1 children)

react vue angular svelte htmx

[–] MoonRaven@feddit.nl 12 points 2 years ago

My stupid brain thought the s was squarespace.... And now for our sponsor...

[–] poinck@lemm.ee 3 points 2 years ago

I think, Svelte should not salute to React (anymore). Not sure what htmx brings to the table, but Svelte should be doing the same like the Penguin labeled "htmx", because it really frees devs from doing too much stuff to get started and produces fast webpages on top of that.

load more comments
view more: next ›