ddplf

joined 2 months ago
[–] [email protected] 13 points 3 days ago (1 children)

Sometimes I find myself wondering if spontaneously invading a sovereign European nation with strong ties to the most powerful alliance on earth was all that great decision in terms of economy and wellbeing.

[–] [email protected] 7 points 4 days ago (1 children)

To me, there are two classifications of DRY - one I find harmful, the other very useful.

First one resembles mathematical extractions, essentially you never allow a single chunk of code to be written twice and you create massive amounts of global util junk. This also creates some bad tight coupling.

The other is more logical, where you only extract logic in places you want to always change together. Simple and effective.

[–] [email protected] 0 points 4 days ago (1 children)

That's your opinion my man

I'm not gonna continue using arguments if all you can respond with is cynicism, apparently I wasn't wrong about the elitism part

[–] [email protected] 4 points 5 days ago

According to statista, cars and vans account for around 10% of global CO2 emissions.

For comparison, aviation accounts for around 2.5% of emissions, and more than half of it is produced by private jets.

Putting major responsibility on victims of floods is just absolutely cruel and ignorant.

[–] [email protected] 2 points 5 days ago* (last edited 5 days ago) (3 children)

That I do, yes, because that's a small chunk of code that - when necessary - would have to be completely remade anyways, not just modified.

[–] [email protected] 15 points 5 days ago* (last edited 5 days ago) (2 children)

I'm all in for FuckCars, but oh man...

Imagine living your ordinary life, then all of the sudden you lose half if not all that you own... and then you receive a link to a twitter post of some punk making fun of you from the comfort of his apartament, not giving a fuck.

Gauche caviar.

[–] [email protected] 4 points 5 days ago (5 children)

And then a few more any time you actually want to use it.

And then double it each time you have to decipher the existing one

Just don't use regex unless there is really no other way, and when you absolutely have to - frankly, that's one of the ultra rare occasions I recommend using the AI.

[–] [email protected] 13 points 5 days ago* (last edited 5 days ago) (7 children)

Ah yes, spoken like a true elitist asshole

[–] [email protected] 11 points 5 days ago (4 children)

This sounds just extremely dumb to me, as in "do something manually for 2 minutes or spend 2 days automating it"

Also, DRY in 90% of the cases is a sham

view more: next β€Ί