Do we really need a video about this in 2024? Shouldn’t this be already a core part of our education as software engineers?
- 0 posts
- 16 comments
- platypus_plumba@lemmy.worldtoProgramming@programming.dev•Avoiding if-else Hell: The Functional Style2 years
The title of the post is “how to avoid if-else hell”, not “how to avoid conditionals”. Not sure what’s your point.
- platypus_plumba@lemmy.worldtoProgramming@programming.dev•The Cloud is Over-engineered, Over-priced (and Over-rated?)2 years
Well, the title is click bait then.
Title: “Linux is the worst!”
Content: if your favorite software is Microsoft Excel.
- platypus_plumba@lemmy.worldto
Programmer Humor@programming.dev•remember, if your gf isn't open source and running locally, you don't own her
2 yearsYou wouldn’t download a girlfriend.
… wait, yes, yes you would.
- 2 years
They didn’t convince anyone of anything, they just have a great free-tier service, so people prefer using it than self-hosting something. You can also self-hosted Github if you want the features they offer, besides Git.
- platypus_plumba@lemmy.worldtoProgramming@programming.dev•Bringing the Unix Philosophy to the 21st Century3 years
I’ve never been able to successfully write a jq command without having to Google it. It is something so complex and I don’t do it often, so I just forget everything.
I hope they figure out something with more I tuitive syntax, something SQL-like that people can write without having to look at a manual.
Anyways, AI is here… pretty soon we’ll just translate natural text to whatever overly complex language there is.
I’m sure I’ll get replies of people saying jq is easy. It isn’t for me, right now I can t even remember how to filter and create associations between objects. I think I’ll just start writing small python apps to process JSON. A bit longer but at least I can maintain it. The only issue is that Python is too heavy… I’ll figure something out.
I’ve been thinking for a while that what we actually need is a modern shell language. Like a mix between python and shell. Imagine if you had native support to read a JSON using shell.
Edit: oh shit. Said all of this and then saw the comment below talking about Nushell. Today is a good day.
- platypus_plumba@lemmy.worldtoProgramming@programming.dev•SSH keys stolen by stream of malicious PyPI and npm packages3 years
It’s honestly crazy that tools like npm don’t force you to encrypt the tokens for the npm repos. They don’t even support it. Any stupid read_file() with http.post() can screw 1000 people.
- platypus_plumba@lemmy.worldtoProgramming@programming.dev•How do I convince my company to add tests for FE?3 years
You need to create a list of incidents that reached customers. Create a matrix that has the incident ID, the link to the incident documentation and the type of test that would have caught the incident.
Then they’ll see that their incidents would have been caught by the tests you want to. push instead of an angry customer.
Why are they downvoting this? It happened to me. Do they think this is a manager making up shit to force people to go to the office? Ridiculous.
- platypus_plumba@lemmy.worldtoProgramming@programming.dev•Blind Developer Interviews Through Anonymized Remote Pairing - An Experiment3 years
Can you identify someone by just hearing their voice?
- 3 years
Nobody tell this guy about omega v6
10 minutes after migrating from Maven to Gradle…
“Wow, I can do the same I did with Maven with such a small configuration and a few lines of code”.
2 months later…
“Wtf is broken!!? Wtf is going on?”
2 hours later…
“Wtf is broken!!? Wtf is going on?”
- platypus_plumba@lemmy.worldtoProgramming@programming.dev•Linus Torvalds Takes On A Performance Patch: "I Relax By Playing With Inline Assembly"English3 years
Yes, he’s a genius but I kept thinking “damn, the ego on this guy” while reading that.
I love Linux, and thus, I love Linus… But he has a very large ego, there’s nothing wrong in pointing out reality. That’s just who he is. At least his ego matches his skill, which is something rare. He deserves to be cocky, he earned it.
You’ll get downvoted here because most programmers have elevated egos and think this is normal behavior.
- 3 years
I’m still waiting for vimsc
Vi improved on steroids and cocaine
- 3 years
Man, I honestly have no idea why they are downvoting you. Composition literally means taking common behavior and placing it in external objects behind interfaces using a has-a relationship.
No idea why they are denying this. Inheritance vs composition is the same as “is-a” vs “has-a”. In composition re usability isn’t done via inheritance but code encapsulation.
Saying that in Go objects can implement many interfaces is the Interface Segregation principle from SOLID. Basically having small interfaces instead of a big interface with methods that may not be implemented by all implementors.


My expectation is that this is something core that programmers should be aware of all the time. Forgetting about this is like forgetting what an interface is. It’s at the core of what we do. At least I think so, maybe I’m wrong assuming this is something every programmer should be aware of all the time.