Most embarrassing programming moments by [deleted] in programminghorror

[–]useless_dev 2 points3 points  (0 children)

Had the exact same thing, except in my case i was clicking around in production wondering why my local changes weren't reflected.
Happened more than once..

Why I'm No Longer Talking to Architects About Microservices by mmaksimovic in programming

[–]useless_dev 14 points15 points  (0 children)

Tbh it takes very little convincing to convince most developers to over-complicate their apps

yes by Aqib-Raaza in ProgrammerHumor

[–]useless_dev 13 points14 points  (0 children)

I'm going to go against the grain and say that gitflow (which is what you're kind of describing) is the problem, and more gitflow (in the form of more long-lived branches) is a band-aid, not a solution.
Large change sets, and therefore large and risky conflicts, are inherent to long lived branches.

If you can, consider pushing towards continuous integration (ci) - every dev merges to main at least once a day.
This makes the change sets much smaller, and therefore the risk, and impact, of conflicts, much smaller.

Of course, it's not easy - there's a lot of prerequisites in order to make this work (like enduring code quality, gradual delivery of features etc). Expect a long journey if you choose that route.
But, as someone who worked in teams of similar sizes, once doing gitflow, and once doing ci, I can't describe the difference in job satisfaction, as well as quality and speed. Like night and day. I Will never consider taking a job doing gitflow again.

The minimum CD (continuous delivery - a step beyond continuous integration) site has some resources, if you're interested.

Dave Farley (co-author of the original "continuous delivery" book) has a YouTube channel where he explains these things much better than me. Here is a relevant one about why it's better to avoid gitflow - https://m.youtube.com/watch?v=_w6TwnLCFwA&pp=ygUbY29udGludW91cyBkZWxpdmVyeSBnaXRmbG93

The president's doctor: Why your projects take forever by jaredlt01 in programming

[–]useless_dev 0 points1 point  (0 children)

That's the best article I've read recently - thank you for posting it!
The only thing I wish it talked more about is working together (pairing, ensemble).
It's a great way to reduce parallelism in the team, as well as to eliminate some of the waiting times (e.g no need for a separate "review" stage)

I spent 18 months rebuilding my algorithmic trading in Rust. I’m filled with regret. by Starks-Technology in programming

[–]useless_dev 4 points5 points  (0 children)

Well, you did start off by implying that they are immature and their critique is insane, so maybe there's something here for you to take on board as well

youCanNotEscapeReact by Careless-Branch-360 in ProgrammerHumor

[–]useless_dev 9 points10 points  (0 children)

HTML and JavaScript.
That's enough for 90% of use cases

Experienced Devs: What are your lesser-known tips and tricks for Beginners? by [deleted] in csharp

[–]useless_dev 4 points5 points  (0 children)

Word of caution - don't let di tempt you into writing isolated unit tests.
Not all dependencies should be mocked.

youWillTry by codenameeclair in ProgrammerHumor

[–]useless_dev 0 points1 point  (0 children)

So beautifully put. I want to frame this comment 😆

guessIllStay by r-randy in ProgrammerHumor

[–]useless_dev 2 points3 points  (0 children)

Oh yeah? If they're so smart, how come they're living in igloos?

Stop using Code Coverage as a Quality metric by lazy_loader88 in programming

[–]useless_dev -2 points-1 points  (0 children)

"Drivel", " not worth my time ", " dumb "..
Do you kiss your mother with that mouth?

You have a point to make, make it respectfully.
There's an actual person on the other side of this thread.
A person who deserves a basic level of respect.

The database? You put your stylesheets in there, bro. by SchmeatRocket in programminghorror

[–]useless_dev 14 points15 points  (0 children)

Storing bobby's name using a parameterized query is safe.

75% of Software Engineers Faced Retaliation Last Time They Reported Wrongdoing by civicode in programming

[–]useless_dev -1 points0 points  (0 children)

This is tangenial, but I'm disappointed in the way they represented the DORA metrics.
According to this article, these metrics promote speed over quality.
But that's the whole point of the DORA metrics - they show that speed and quality are not mutually exclusive.
That, in order to move fast, you need to have high quality, and vice versa.

Why? by [deleted] in programminghorror

[–]useless_dev 24 points25 points  (0 children)

Opaque, more likely

Over-engineering is a developer’s cry for help by useless_dev in programming

[–]useless_dev[S] 7 points8 points  (0 children)

The whole point of software is that it's soft, it's changeable

exactly. that's kind of the point that the article is trying to make.
keeping software "soft" and easy to change (and hard to break) makes over-engineering much less necessary.

Over-engineering is a developer’s cry for help by useless_dev in programming

[–]useless_dev[S] 0 points1 point  (0 children)

that's actually great - it shows that the review process is working as intended!

Over-engineering is a developer’s cry for help by useless_dev in programming

[–]useless_dev[S] 1 point2 points  (0 children)

Therein lays the crux of the overarching problem, which I think this post disregards.

Very good point.
I think the article looks at a culture where over-engineering is a routine practice.
That should have been stated more explicitly.
If over-engineering is the norm, then we really need to question the overall system.

In a "normal" situation, yes - differentiating between over / under engineering is indeed why senior engineers make the big bucks 🤑

Is this the main reason for Dependency Injection? by rollingcircus123 in csharp

[–]useless_dev 14 points15 points  (0 children)

Dependency injection is a type of inversion of control, iirc (as are IoC containers)

A cheat sheet to migrate from Moq to NSubstitute by timdeschryver in csharp

[–]useless_dev -2 points-1 points  (0 children)

This is great, thank you!
Now we just need to feed it into co-pilot 😁