Someone post this to the Best of Lemmy community. This is gold.
Someone post this to the Best of Lemmy community. This is gold.
The difference between experienced devs and non experienced devs is that we have hundreds of stories like that under our belt. Hundreds of “Ah I wasted all this time because of a typo”, and now we know to check for it.
It never stops. And after a while, a dev will share this exact scenario and you’ll look back and share the same bit to them.
Lol brb gonna share this with the CFO and watch them go into a panic. Going to bet they’ll freak out and by the end of 2024, no more Java for us.
This is the golden ticket I’ve been waiting for.
Jesus Christ I thought you were making a joke.
But you’re not.
The imminent arrival of their fourth child, a girl they plan to name Industry Americus Collins
I’m sure the YouTuber meant well and did a deep dive, but without your timestamp, it would take the viewer 5 minutes before getting to the answer.
Where I can literally skimmed a article in 15 seconds.
Unfortunately this article sucks and doesn’t even explain it.
Ah I am not familiar with this language.
Is there iced coffee and noodle soup?
Code examples:
// PHP
function myButt(string $argument): string {
return "$argument and my butt";
}
// JavaScript
function myButt(argument) {
return `${argument} and my butt`;
}
// COBOL
FUNCTION my-butt STRING argument STRING (LENGTH 100)
VALUE result STRING (LENGTH 100)
MOVE argument WITH NO OVERFLOW TO result
MOVE " and my butt" TO BEFORE SPACE DELIMITED BY SIZE IN result
RETURN result
END FUNCTION my-butt
I like Fighting Vipers more and hate that Fighters Megamix wasn’t a bigger deal.
Why it’s good:
you get exactly what you need. Your software makes a very specific request, and that’s what you get.
Complex queries are easily handled. In a standard rest API, you might make multiple fetch requests. One call to get all the users, another call to find a specific user’s data based on their ID. GraphQL can do that with a single call.
Why it sucks:
it’s a lot of boilerplate to set up on both sides. The client needs to know exactly what they want. I found myself having to teach multiple types of engineers (those implementing the middleware, those receiving the data) how to approach.
You need to understand the schema, the logic, how to write queries. Rest Api, you make the call and you get a response that you can easily convert into a data object and manipulate it in your own language. To use GraphQL effectively, you need to know how to do that “the GraphQL way”.
The way the data is exposed is kinda a security risk. (But so is Rest APIs in general). I feel like there’s more security through insecurity in rest Api, as each endpoint is its own thing. But graphQL has one single endpoint. It all depends on how it’s built.
To better explain the latter - I had to create TWO graphQL endpoints (one for clients and one for higher privileges) and it was a pain to manage. But I spent a LOT of mental resources organizing that to ensure both types of customers only got exactly what they should get. Not to say it would have been easier with rest APIs, but it would have been easier to think about.
For the record: I like graphQL as a concept. Just the complexities far outweigh the benefits my team is getting. It was like we spent $100k of dev resources to save $500 a month off our AWS bill.
Not sure why you’re downvoted. You’re not wrong.
I say this as a member of my local GraphQL meetup group.
It solves a lot of interesting problems with APIs at scale.
But every time some hobbyist was like, “Is it worth it?” I constantly had to bite my tongue and shrug. It’s like teaching a whole new paradigm.
And even though I think GraphQL is superior, it’s a lot to understand and most people probably won’t give AF. Fetching JSON works just fine for 99% of use cases.
I love it. It screams xkcd-386 energy and he keeps digging
Right, I’m confused by that too.
Hi, This is a high priority ticket and the FFmpeg version is currently used in a highly visible product in Microsoft. We have customers experience issues with Caption during Teams Live Event. Please help, comment:5 by Elon Musk, 11 months ago
I weirdly liked the times I’ve visited in Seattle.
It didn’t seem more expensive to me. It costs as much as a Bartell Drugs or Walgreens. My main issue was the limited product. It was only a handful of things I liked, and I didn’t ever find a reason to go beyond the novelty.
The times it did work, it was kinda neat.
I remember how exciting it was to go to a comic convention and suddenly Animal Crossing and my Fire Emblem game popped up with prizes. It wasn’t revolutionary, but it was neat!
Then leaving, rode the airplane, through the train… Silence. It never lit up again.
If someone reaches for jquery as an abstraction layer over JavaScript in 2024, I immediately question everything else. You’re pulling in the jquery library for a set of features, followed by hundreds of features you won’t use.
Absolutely no reason why you can’t recreate the same features in JavaScript, with a much smaller footprint.
It’s pretty elegant if you love Italian food so much even your code is spaghetti.
First thing I explain to new hires is to never fall in love with your code at work.
It’s a means to an end. You can absolutely love code, but never ever your work code. Because at the end of the day, you are expendable.
Generally when this starts to happen my team lead puts his foot down and says, no more changes until you sign off on what we have and we’ve released the MVP.
I had a situation like this where I shut down production because a project manager didn’t understand MVP and kept trying to grow the requirements with every meeting, and getting more and more agitated and even bothering my staff.
He forced me into multiple meetings with my boss and HR to hear “both sides”. By the end of it, he relented, the project finally shipped, and then they fired him.
It sucks that he was fired, but I don’t understand how anyone is confused by the term MVP.
I found my Green game boy Pocket and saw the 1989-1996 copyright.
It looks so pristine. 😭😭😭