this post was submitted on 27 Sep 2023
304 points (93.2% liked)

Programmer Humor

31812 readers
450 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
[–] [email protected] 88 points 11 months ago (2 children)

Sorry, I'm gonna be that person.

*What. It should say What it feels like.

[–] [email protected] 59 points 11 months ago (3 children)

Thanks English is not my native language.

[–] [email protected] 36 points 11 months 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!

[–] [email protected] 9 points 11 months ago

Thanks for the explanation.

[–] [email protected] 9 points 11 months ago (1 children)

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

[–] [email protected] 4 points 11 months ago
[–] [email protected] 4 points 11 months ago (1 children)
[–] fubbernuckin 3 points 11 months ago

Technology we could never dream of on Reddit

[–] [email protected] 10 points 11 months ago* (last edited 11 months ago) (4 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 (4 replies)
[–] dzervas 42 points 11 months 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

[–] lemmy_st3v3 42 points 11 months ago (3 children)

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

[–] [email protected] 13 points 11 months ago (1 children)

When it came out in its time it wasn't bad compared to the alternatives. Now there is certainly better, but honestly it will still take a long time before we can choose a standard.

[–] [email protected] 3 points 11 months ago* (last edited 11 months ago) (1 children)

Now that would be something, developers choosing a standard.

mandatory xkcd

load more comments (1 replies)
[–] [email protected] 10 points 11 months ago (2 children)
[–] lemmy_st3v3 39 points 11 months ago (3 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 13 points 11 months ago (1 children)

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

[–] [email protected] 6 points 11 months ago (1 children)

I'm gonna tell your boss you said that.

[–] kurwa 4 points 11 months ago

Oh he knows 😂

[–] [email protected] 2 points 11 months ago (4 children)

Thank you for the explanation, so do you think angular is better? I want to start doing front-end and I don't know what to pick

[–] lemmy_st3v3 10 points 11 months ago (1 children)

Angular is different from React, totally different. For one it's a framework. React is a library. People tend to say Angular is harder to learn then React but I totally disagree with that. I personally found Angular really easy to learn, especially if you look at their documentation at https://angular.io/docs you just need to work through it, step by step. This is not the same with React, again my personal experience. In Angular you have common concepts like observables, subscriptions, dependency injection, separation of concern's, and not to forget functional programming with RxJS. And the documentation that you can find in MDN about html, css, javascript is then also complimentary to it. Overal I found Angular to be a cleaner environment to develop in. And testing is so much more concise.

Anyhow, don't focus on one library/framework. I would even say learn the basics like what you can find on MDN, javascript, html, css, typescript. The rest is always framework/library specific. Let the job decide what you are going to learn first. You know programming, that's great you will learn the stuff they use on the job and in your free hours ;) In my experience you will have to change anyways. For example I have worked at companies, government and private. Where one uses JSP!!!(in 2022, not it was not a government organization) Then Angular, then React.

load more comments (1 replies)
[–] [email protected] 9 points 11 months ago (2 children)

React is awesome. Sure it has problems but what doesn't? It's easy to learn and JSX is great. I would try Next.js, Remix.js or just use Vite. Personally I'm trying out CT3A but that's a bit on the edge (and uses Next). There are a lot of jobs with react out there and it's a joy to work with imo.

Vue is supposed to be easy but I had a hard time with the initial learning curve. The community seems much smaller too. I have heard good things about Nuxt though.

Angular is robust but the hardest of the bunch to learn based on popular sentiment i've heard.

load more comments (2 replies)
[–] WhatAmLemmy 6 points 11 months ago

Look at your local job market, where you want to work, or what you want to build to determine what to learn.

No point learning any tech unless it aligns with the problem(s) you're trying to solve.

[–] pm_me_your_quackers 3 points 11 months ago (1 children)

Doesn't matter what an internet rando thinks, there are more React jobs at the moment. I've only seen Angular used by large enterprises for internal BI apps, which are harder jobs to get.

[–] [email protected] 3 points 11 months ago (1 children)

Yeah I'm not basing a life choice on a rando, but it can help to hear his motivations. Once I have that I can draw my conclusions.

Thanks for your input too.

load more comments (1 replies)
load more comments (1 replies)
load more comments (1 replies)
[–] kameecoding 5 points 11 months 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 3 points 11 months 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.

[–] [email protected] 34 points 11 months ago (1 children)

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

[–] [email protected] 17 points 11 months ago (1 children)
[–] [email protected] 8 points 11 months ago (1 children)

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

[–] [email protected] 8 points 11 months ago* (last edited 11 months ago) (2 children)
[–] [email protected] 3 points 11 months ago

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

load more comments (1 replies)
[–] [email protected] 19 points 11 months ago

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

[–] unreachable 16 points 11 months ago (5 children)

PHP sitting in the corner, off screen

[–] [email protected] 34 points 11 months ago (1 children)
[–] SpaceNoodle 6 points 11 months ago

I replaced the P in my LAMP with Python

[–] incompetentboob 17 points 11 months 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 9 points 11 months 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.

[–] [email protected] 4 points 11 months 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)
load more comments (3 replies)
[–] thenofootcanman 15 points 11 months ago (2 children)
[–] [email protected] 13 points 11 months ago (2 children)

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

[–] MrLuemasG 13 points 11 months ago (1 children)

Sorry I can't hear you over all those observables

[–] thenofootcanman 3 points 11 months ago (4 children)
load more comments (4 replies)
[–] thenofootcanman 4 points 11 months ago

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

[–] [email protected] 4 points 11 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 9 points 11 months ago (1 children)

I'm still on DHTML, ActiveX, and SSIs

[–] [email protected] 3 points 11 months ago (1 children)

Fabulous memories. IE 4 and XML data islands too?

load more comments (1 replies)
[–] [email protected] 7 points 11 months 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?

[–] [email protected] 18 points 11 months ago (1 children)

react vue angular svelte htmx

[–] [email protected] 11 points 11 months ago

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

[–] [email protected] 3 points 11 months 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 ›