djnattyp

joined 2 years ago
[–] [email protected] 2 points 3 months ago

Wonder if he'll be the John Brown of Civil War 2?

[–] [email protected] 1 points 4 months ago

XY Problems are much more common from the person asking the question though...

[–] [email protected] 6 points 5 months ago* (last edited 5 months ago)

"Devops" original intent meant you don't have a separate "operations" department separate from teams "developing" your product / software due to competing incentives. "Dev" wants to push new stuff out faster; "ops" wants to keep things stable. Or "dev" needs more resources; but "ops" blocks or doesn't scale the same. The idea was to combine both "dev" and "ops" people onto projects to balance these incentives.

Then managers and cloud clowns repurposed it to apply to every person in a project so now every member is expected to perform both roles (badly). Or even more overloaded to somehow refer to "developer infrastructure" teams.

[–] [email protected] 4 points 6 months ago (3 children)

Google for "replace conditional with polymorphism".

Just checked and it is in "Clean Code" - Chaper 17; Section G23 "Prefer Polymorphism to if/else or switch/case".

[–] [email protected] 4 points 6 months ago

Parquet is a storage format; graphQL is a query language/transmission strategy.

[–] [email protected] 1 points 7 months ago

This is also against clean code examples, because Uncle Bob seems to be allergic against function arguments and return values.

I think this is your strawman version of "Clean Code"... not anything that's actually in it...

I "like" some parts of your example more than the previous one, but a lot of this depends on where exactly in the whole program this method is - if this method is on a "Salesman" class - does it make sense to pass the "Contract" in? If there's a Contract class available, why doesn't the "calculateCommission" method exist on it?

[–] [email protected] 3 points 10 months ago

Just wait he could exonerate himself by exposing that the crimes were actually perpetrated by a secret identical twin brother or by opening up a warehouse full of dead clones and claiming that one of them did it.

[–] [email protected] 1 points 1 year ago

I mean, maybe it has happened before in history, but someone changed it via AI and we just don't know...

[–] [email protected] 26 points 2 years ago

Summary: 'Life is unfair', chortles an opportunist who benefits from an unfair system.